forked from osmocom/wireshark
6616a3770c
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and GENERATED_FILES macros in Makefile.common files, along the lines of what wiretap/Makefile.common has. Clean up "*~" files with "make clean" rather than only "make distclean" in some additional places. Add "maintainer-clean" rules to the Makefile.nmake files, paralelling the ones in the automake-generated Makefile.in files, using the GENERATED_FILES macros from Makefile.common files. In some cases, move the cleanup of files from "make distclean" to "make maintainer-clean", and in other cases, put in a comment indicating why we're not doing that (because some files that are distributed in the source tarballs, namely Flex output, were built with a UN*X Flex and won't compile on Windows, so we get rid of them with "make distclean" so you can clean up stuff that *has* to be re-generated for Windows). Clean up some *CLEANFILES definitions - get rid of ones that no longer apply as files were moved or that add to the definition a name that's already there. svn path=/trunk/; revision=13402
136 lines
3.7 KiB
Makefile
136 lines
3.7 KiB
Makefile
# Makefile.am
|
|
# Automake file for the EPAN library
|
|
# (Ethereal Protocol ANalyzer Library)
|
|
#
|
|
# $Id$
|
|
#
|
|
# Ethereal - Network traffic analyzer
|
|
# By Gerald Combs <gerald@ethereal.com>
|
|
# 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.
|
|
|
|
SUBDIRS = ftypes dfilter dissectors
|
|
|
|
# EPAN will eventually be a shared library. While I move source code around,
|
|
# however, it is an archive library.
|
|
|
|
ACLOCAL_AMFLAGS = `../aclocal-flags`
|
|
|
|
lib_LTLIBRARIES = libethereal.la
|
|
libethereal_la_LDFLAGS = -version-info 0:1:0
|
|
|
|
include Makefile.common
|
|
|
|
INCLUDES = -I$(srcdir)/..
|
|
|
|
libethereal_la_SOURCES = \
|
|
$(LIBETHEREAL_SRC) \
|
|
$(LIBETHEREAL_INCLUDES)
|
|
|
|
EXTRA_libethereal_la_SOURCES = \
|
|
g_ascii_strtoull.c \
|
|
g_ascii_strtoull.h \
|
|
inet_aton.c \
|
|
inet_pton.c \
|
|
inet_ntop.c \
|
|
inet_aton.h \
|
|
inet_v6defs.h
|
|
|
|
EXTRA_DIST = \
|
|
libethereal.def \
|
|
Makefile.common \
|
|
Makefile.nmake \
|
|
tvbtest.c \
|
|
doxygen.cfg.in
|
|
|
|
CLEANFILES = \
|
|
libethereal.a \
|
|
libethereal.la \
|
|
*~
|
|
|
|
#
|
|
# Add the object files for missing routines, if any.
|
|
#
|
|
libethereal_la_LIBADD = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la
|
|
libethereal_la_DEPENDENCIES = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la
|
|
|
|
tvbtest: tvbtest.o tvbuff.o except.o strutil.o
|
|
$(LINK) -o tvbtest tvbtest.o tvbuff.o except.o strutil.o `glib-config --libs`
|
|
|
|
|
|
if HAVE_PLUGINS
|
|
|
|
if ENABLE_STATIC
|
|
|
|
plugin_src = \
|
|
../plugins/acn/packet-acn.c \
|
|
../plugins/artnet/packet-artnet.c \
|
|
../plugins/asn1/packet-asn1.c \
|
|
../plugins/docsis/packet-bpkmattr.c \
|
|
../plugins/docsis/packet-bpkmreq.c \
|
|
../plugins/docsis/packet-bpkmrsp.c \
|
|
../plugins/docsis/packet-docsis.c \
|
|
../plugins/docsis/packet-dsaack.c \
|
|
../plugins/docsis/packet-dsareq.c \
|
|
../plugins/docsis/packet-dsarsp.c \
|
|
../plugins/docsis/packet-dscack.c \
|
|
../plugins/docsis/packet-dscreq.c \
|
|
../plugins/docsis/packet-dscrsp.c \
|
|
../plugins/docsis/packet-dsdreq.c \
|
|
../plugins/docsis/packet-dsdrsp.c \
|
|
../plugins/docsis/packet-intrngreq.c \
|
|
../plugins/docsis/packet-macmgmt.c \
|
|
../plugins/docsis/packet-map.c \
|
|
../plugins/docsis/packet-regack.c \
|
|
../plugins/docsis/packet-regreq.c \
|
|
../plugins/docsis/packet-regrsp.c \
|
|
../plugins/docsis/packet-rngreq.c \
|
|
../plugins/docsis/packet-rngrsp.c \
|
|
../plugins/docsis/packet-tlv.c \
|
|
../plugins/docsis/packet-type29ucd.c \
|
|
../plugins/docsis/packet-uccreq.c \
|
|
../plugins/docsis/packet-uccrsp.c \
|
|
../plugins/docsis/packet-ucd.c \
|
|
../plugins/enttec/packet-enttec.c \
|
|
../plugins/giop/packet-cosnaming.c \
|
|
../plugins/giop/packet-coseventcomm.c \
|
|
../plugins/gryphon/packet-gryphon.c \
|
|
../plugins/irda/packet-irda.c \
|
|
../plugins/lwres/packet-lwres.c \
|
|
../plugins/megaco/packet-megaco.c \
|
|
../plugins/mgcp/packet-mgcp.c \
|
|
../plugins/pcli/packet-pcli.c \
|
|
../plugins/rdm/packet-rdm.c \
|
|
../plugins/rtnet/packet-rtnet.c \
|
|
../plugins/v5ua/packet-v5ua.c
|
|
|
|
else # ENABLE_STATIC
|
|
|
|
plugin_src =
|
|
|
|
endif # ENABLE_STATIC
|
|
|
|
else # HAVE_PLUGINS
|
|
plugin_src =
|
|
|
|
endif # HAVE_PLUGINS
|
|
|
|
doxygen:
|
|
if HAVE_DOXYGEN
|
|
$(DOXYGEN) doxygen.cfg
|
|
endif # HAVE_DOXYGEN
|
|
|