2 # Automake file for the EPAN library
3 # (Ethereal Protocol ANalyzer Library)
7 # Ethereal - Network traffic analyzer
8 # By Gerald Combs <gerald@ethereal.com>
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.
25 SUBDIRS = ftypes dfilter dissectors
27 # EPAN will eventually be a shared library. While I move source code around,
28 # however, it is an archive library.
30 ACLOCAL_AMFLAGS = `../aclocal-flags`
32 lib_LTLIBRARIES = libethereal.la
33 libethereal_la_LDFLAGS = -version-info 0:1:0
35 include Makefile.common
37 INCLUDES = -I$(srcdir)/.. -I$(srcdir)/$(LEMON)
39 libethereal_la_SOURCES = \
41 $(LIBETHEREAL_INCLUDES)
43 EXTRA_libethereal_la_SOURCES = \
80 MAINTAINERCLEANFILES = \
85 # Add the object files for missing routines, if any.
87 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 @ADNS_LIBS@ @LIBGNUTLS_LIBS@ @KRB5_LIBS@ @SNMP_LIBS@ @SSL_LIBS@ -lm
88 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
90 tvbtest: tvbtest.o tvbuff.o except.o strutil.o
91 $(LINK) $^ $(GLIB_LIBS) -lz
93 exntest: exntest.o except.o
94 $(LINK) $^ $(GLIB_LIBS)
96 radius_dict.c: radius_dict.l
99 dtd_parse.c : dtd_parse.l
100 $(LEX) -odtd_parse.c $(srcdir)/dtd_parse.l
102 dtd_preparse.c : dtd_preparse.l
103 $(LEX) -odtd_preparse.c $(srcdir)/dtd_preparse.l
105 dtd_grammar.h: dtd_grammar.c
109 dtd_grammar.c: dtd_grammar.lemon $(LEMON)/lemon
110 $(LEMON)/lemon t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
112 tvbtest.o exntest.o: exceptions.h
114 sminmpec.c: enterprise-numbers make-sminmpec.pl
115 $(PERL) $(srcdir)/make-sminmpec.pl $(srcdir)/enterprise-numbers sminmpec.c
122 ../plugins/acn/packet-acn.c \
123 ../plugins/artnet/packet-artnet.c \
124 ../plugins/asn1/packet-asn1.c \
125 ../plugins/docsis/packet-bpkmattr.c \
126 ../plugins/docsis/packet-bpkmreq.c \
127 ../plugins/docsis/packet-bpkmrsp.c \
128 ../plugins/docsis/packet-docsis.c \
129 ../plugins/docsis/packet-dsaack.c \
130 ../plugins/docsis/packet-dsareq.c \
131 ../plugins/docsis/packet-dsarsp.c \
132 ../plugins/docsis/packet-dscack.c \
133 ../plugins/docsis/packet-dscreq.c \
134 ../plugins/docsis/packet-dscrsp.c \
135 ../plugins/docsis/packet-dsdreq.c \
136 ../plugins/docsis/packet-dsdrsp.c \
137 ../plugins/docsis/packet-intrngreq.c \
138 ../plugins/docsis/packet-macmgmt.c \
139 ../plugins/docsis/packet-map.c \
140 ../plugins/docsis/packet-regack.c \
141 ../plugins/docsis/packet-regreq.c \
142 ../plugins/docsis/packet-regrsp.c \
143 ../plugins/docsis/packet-rngreq.c \
144 ../plugins/docsis/packet-rngrsp.c \
145 ../plugins/docsis/packet-tlv.c \
146 ../plugins/docsis/packet-type29ucd.c \
147 ../plugins/docsis/packet-uccreq.c \
148 ../plugins/docsis/packet-uccrsp.c \
149 ../plugins/docsis/packet-ucd.c \
150 ../plugins/enttec/packet-enttec.c \
151 ../plugins/giop/packet-cosnaming.c \
152 ../plugins/giop/packet-coseventcomm.c \
153 ../plugins/gryphon/packet-gryphon.c \
154 ../plugins/irda/packet-irda.c \
155 ../plugins/lwres/packet-lwres.c \
156 ../plugins/megaco/packet-megaco.c \
157 ../plugins/mgcp/packet-mgcp.c \
158 ../plugins/pcli/packet-pcli.c \
159 ../plugins/rdm/packet-rdm.c \
160 ../plugins/rtnet/packet-rtnet.c \
161 ../plugins/v5ua/packet-v5ua.c
167 endif # ENABLE_STATIC
176 $(DOXYGEN) doxygen.cfg