2 # Automake file for the EPAN library
3 # (Ethereal Protocol ANalyzer Library)
7 # Wireshark - Network traffic analyzer
8 # By Gerald Combs <gerald@wireshark.org>
9 # Copyright 1998 Gerald Combs
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 wslua_lib = wslua/libwslua.la
33 wslua_dist_dir = wslua
37 SUBDIRS = crypt ftypes dfilter dissectors $(wslua_dir)
39 DIST_SUBDIRS = $(SUBDIRS) $(wslua_dist_dir)
41 # EPAN will eventually be a shared library. While I move source code around,
42 # however, it is an archive library.
44 ACLOCAL_AMFLAGS = `../aclocal-flags`
46 lib_LTLIBRARIES = libwireshark.la
47 libwireshark_la_LDFLAGS = -version-info 0:1:0
49 include Makefile.common
51 INCLUDES = -I$(srcdir)/.. -I$(srcdir)/$(LEMON) @LUA_INCLUDES@ \
52 $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS)
54 libwireshark_la_SOURCES = \
56 $(LIBWIRESHARK_INCLUDES)
58 EXTRA_libwireshark_la_SOURCES = \
95 MAINTAINERCLEANFILES = \
101 # Add the object files for missing routines, if any.
103 libwireshark_la_LIBADD = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la crypt/libairpdcap.a $(wslua_lib) @ADNS_LIBS@ @LIBGNUTLS_LIBS@ @LIBICONV@ @KRB5_LIBS@ @SNMP_LIBS@ @SSL_LIBS@ -lm
104 libwireshark_la_DEPENDENCIES = @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ dfilter/libdfilter.la ftypes/libftypes.la dissectors/libdissectors.la crypt/libairpdcap.a $(wslua_lib)
106 tvbtest: tvbtest.o tvbuff.o except.o strutil.o emem.o
107 $(LINK) $^ $(GLIB_LIBS) -lz
109 exntest: exntest.o except.o
110 $(LINK) $^ $(GLIB_LIBS)
112 radius_dict.c: radius_dict.l
115 dtd_parse.c : dtd_parse.l
116 $(LEX) -odtd_parse.c $(srcdir)/dtd_parse.l
118 dtd_preparse.c : dtd_preparse.l
119 $(LEX) -odtd_preparse.c $(srcdir)/dtd_preparse.l
121 dtd_grammar.h: dtd_grammar.c
125 dtd_grammar.c: dtd_grammar.lemon $(LEMON)/lemon$(EXEEXT)
126 $(LEMON)/lemon$(EXEEXT) t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
128 tvbtest.o exntest.o: exceptions.h
130 sminmpec.c: enterprise-numbers make-sminmpec.pl
131 $(PERL) $(srcdir)/make-sminmpec.pl $(srcdir)/enterprise-numbers sminmpec.c
138 ../plugins/artnet/packet-artnet.c \
139 ../plugins/asn1/packet-asn1.c \
140 ../plugins/docsis/packet-bpkmattr.c \
141 ../plugins/docsis/packet-bpkmreq.c \
142 ../plugins/docsis/packet-bpkmrsp.c \
143 ../plugins/docsis/packet-docsis.c \
144 ../plugins/docsis/packet-dsaack.c \
145 ../plugins/docsis/packet-dsareq.c \
146 ../plugins/docsis/packet-dsarsp.c \
147 ../plugins/docsis/packet-dscack.c \
148 ../plugins/docsis/packet-dscreq.c \
149 ../plugins/docsis/packet-dscrsp.c \
150 ../plugins/docsis/packet-dsdreq.c \
151 ../plugins/docsis/packet-dsdrsp.c \
152 ../plugins/docsis/packet-intrngreq.c \
153 ../plugins/docsis/packet-macmgmt.c \
154 ../plugins/docsis/packet-map.c \
155 ../plugins/docsis/packet-regack.c \
156 ../plugins/docsis/packet-regreq.c \
157 ../plugins/docsis/packet-regrsp.c \
158 ../plugins/docsis/packet-rngreq.c \
159 ../plugins/docsis/packet-rngrsp.c \
160 ../plugins/docsis/packet-tlv.c \
161 ../plugins/docsis/packet-type29ucd.c \
162 ../plugins/docsis/packet-uccreq.c \
163 ../plugins/docsis/packet-uccrsp.c \
164 ../plugins/docsis/packet-ucd.c \
165 ../plugins/enttec/packet-enttec.c \
166 ../plugins/giop/packet-cosnaming.c \
167 ../plugins/giop/packet-coseventcomm.c \
168 ../plugins/gryphon/packet-gryphon.c \
169 ../plugins/irda/packet-irda.c \
170 ../plugins/lwres/packet-lwres.c \
171 ../plugins/megaco/packet-megaco.c \
172 ../plugins/mgcp/packet-mgcp.c \
173 ../plugins/pcli/packet-pcli.c \
174 ../plugins/rdm/packet-rdm.c \
175 ../plugins/rtnet/packet-rtnet.c \
176 ../plugins/v5ua/packet-v5ua.c
182 endif # ENABLE_STATIC
191 $(DOXYGEN) doxygen.cfg