wireshark/epan/Makefile.am

102 lines
2.4 KiB
Makefile
Raw Normal View History

# Makefile.am
# Automake file for the EPAN library
# (Ethereal Protocol ANalyzer Library)
#
Automake 1.4b (which is actually a test version of 1.5, i.e. of a *future* version, not of 1.4, which is the *current* version - i.e., it's newer than 1.4) complains, if "dfilter-grammar.c" and "dfilter-scanner.c" are part of "EXTRA_libethereal_a_SOURCES", that "dfilter-grammar.o" is built both from "dfilter-grammar.c" and "dfilter-grammar.y", and that "dfilter-scanner.o" is built both from "dfilter-scanner.c" and "dfilter-scanner.l", and refuses to build "Makefile.in". Moving them to "EXTRA_DIST" makes 1.4b happy. Automake 1.4 allows them either to be in "EXTRA_libethereal_a_SOURCES" or in "EXTRA_DIST"; the only difference between the generated "Makefile.in" files is which of those two variables the files are in, and the only difference that makes is that it keeps those two files out of "SOURCES", which means that "make ID" doesn't include them in the files it looks at, and "make TAGS" and "make tags" don't include them in the files they look at. I'm not sure whether the tags file should be built from "dfilter-grammar.y" and "dfilter-scanner.l", or from "dfilter-grammar.c" and "dfilter-scanner.c"; the former means you see the real source file, not the generated source file, if you look for a symbol defined in one of those files, while the latter means you can look for symbols in code generated by YACC/Bison or Flex. In either case, the generated files go into the distribution tarball, which is what we want. For now, we go with what makes Automake 1.4b happy. svn path=/trunk/; revision=2909
2001-01-17 06:13:39 +00:00
# $Id: Makefile.am,v 1.15 2001/01/17 06:13:39 guy Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@zing.org>
# Copyright 1998 Gerald Combs
#
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Any POSIX-compatible YACC should honor the -p flag
YFLAGS=-d -p dfilter_
# EPAN will eventually be a shared library. While I move source code around,
# however, it is an archive library.
ACLOCAL_AMFLAGS = `../aclocal-flags`
noinst_LIBRARIES = libethereal.a
INCLUDES = -I$(srcdir)/..
libethereal_a_SOURCES = \
bitswap.c \
bitswap.h \
conversation.c \
conversation.h \
dfilter-int.h \
dfilter-grammar.y \
dfilter-scanner.l \
dfilter.c \
dfilter.h \
epan.c \
epan.h \
except.c \
except.h \
exceptions.h \
filesystem.c \
filesystem.h \
ipv4.c \
ipv4.h \
packet.c \
packet.h \
pint.h \
plugins.c \
plugins.h \
proto.c \
proto.h \
resolv.c \
resolv.h \
strutil.c \
strutil.h \
tvbuff.c \
tvbuff.h
EXTRA_libethereal_a_SOURCES = \
inet_aton.c \
inet_pton.c \
inet_ntop.c \
inet_aton.h \
inet_v6defs.h
EXTRA_DIST = \
config.h.win32 \
Automake 1.4b (which is actually a test version of 1.5, i.e. of a *future* version, not of 1.4, which is the *current* version - i.e., it's newer than 1.4) complains, if "dfilter-grammar.c" and "dfilter-scanner.c" are part of "EXTRA_libethereal_a_SOURCES", that "dfilter-grammar.o" is built both from "dfilter-grammar.c" and "dfilter-grammar.y", and that "dfilter-scanner.o" is built both from "dfilter-scanner.c" and "dfilter-scanner.l", and refuses to build "Makefile.in". Moving them to "EXTRA_DIST" makes 1.4b happy. Automake 1.4 allows them either to be in "EXTRA_libethereal_a_SOURCES" or in "EXTRA_DIST"; the only difference between the generated "Makefile.in" files is which of those two variables the files are in, and the only difference that makes is that it keeps those two files out of "SOURCES", which means that "make ID" doesn't include them in the files it looks at, and "make TAGS" and "make tags" don't include them in the files they look at. I'm not sure whether the tags file should be built from "dfilter-grammar.y" and "dfilter-scanner.l", or from "dfilter-grammar.c" and "dfilter-scanner.c"; the former means you see the real source file, not the generated source file, if you look for a symbol defined in one of those files, while the latter means you can look for symbols in code generated by YACC/Bison or Flex. In either case, the generated files go into the distribution tarball, which is what we want. For now, we go with what makes Automake 1.4b happy. svn path=/trunk/; revision=2909
2001-01-17 06:13:39 +00:00
dfilter-grammar.c \
dfilter-grammar.h \
dfilter-scanner.c \
Makefile.nmake \
tvbtest.c
CLEANFILES = \
libethereal.a \
*~
#
# Add the object files for missing routines, if any.
#
libethereal_a_LIBADD = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
libethereal_a_DEPENDENCIES = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
dfilter-scanner.c : dfilter-scanner.l
$(LEX) -Pdfilter_ -odfilter-scanner.c $(srcdir)/dfilter-scanner.l
tvbtest: tvbtest.o tvbuff.o except.o strutil.o
$(LINK) -o tvbtest tvbtest.o tvbuff.o except.o strutil.o `glib-config --libs`