# Makefile.am
# Automake file for Ethereal
#
-# $Id: Makefile.am,v 1.411 2002/02/02 12:04:22 guy Exp $
+# $Id: Makefile.am,v 1.481 2002/09/11 09:05:22 sahlberg Exp $
#
# 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.
bin_PROGRAMS = @ethereal_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@
bin_SCRIPTS = @idl2eth_bin@
man1_MANS = @ethereal_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @idl2eth_man@
-man_MANS =
+man_MANS =
EXTRA_PROGRAMS = ethereal ethereal_static tethereal tethereal_static editcap mergecap dftest text2pcap
EXTRA_SCRIPTS = idl2eth
-sysconf_DATA = manuf dictionary.dtd dictionary.xml mobileipv4.xml \
+#
+# Install "manuf" in the directory for Ethereal configuration files.
+#
+sysconf_DATA = manuf
+
+#
+# Install the Diameter DTD and XML files in the "diameter" subdirectory
+# of that directory.
+#
+diameterdir = $(sysconfdir)/diameter
+diameter_DATA = dictionary.dtd dictionary.xml mobileipv4.xml \
nasreq.xml sunping.xml
DISSECTOR_SRC = \
packet-aarp.c \
+ packet-afp.c \
packet-afs.c \
packet-aim.c \
- packet-airopeek.c \
+ packet-ajp13.c \
+ packet-aodv.c \
+ packet-aodv6.c \
packet-arp.c \
+ packet-asap.c \
packet-ascend.c\
packet-atalk.c \
packet-atm.c \
packet-clip.c \
packet-clnp.c \
packet-cops.c \
+ packet-cosine.c \
+ packet-cpha.c \
packet-cups.c \
packet-data.c \
- packet-dcerpc.c \
+ packet-dccp.c \
+ packet-dcerpc-browser.c \
packet-dcerpc-conv.c \
packet-dcerpc-dfs.c \
packet-dcerpc-epm.c \
packet-dcerpc-lsa.c \
+ packet-dcerpc-mapi.c \
packet-dcerpc-mgmt.c \
packet-dcerpc-ndr.c \
packet-dcerpc-netlogon.c \
+ packet-dcerpc-nspi.c \
+ packet-dcerpc-nt.c \
packet-dcerpc-oxid.c \
packet-dcerpc-reg.c \
packet-dcerpc-remact.c \
+ packet-dcerpc-rpriv.c \
+ packet-dcerpc-rs_acct.c \
+ packet-dcerpc-rs_attr.c \
+ packet-dcerpc-rs_misc.c \
+ packet-dcerpc-rs_pgo.c \
+ packet-dcerpc-rs_replist.c \
+ packet-dcerpc-rs_unix.c \
+ packet-dcerpc-rsec_login.c \
packet-dcerpc-samr.c \
packet-dcerpc-spoolss.c \
packet-dcerpc-srvsvc.c \
+ packet-dcerpc-tapi.c \
packet-dcerpc-wkssvc.c \
+ packet-dcerpc.c \
packet-ddtp.c \
packet-dec-bpdu.c \
packet-dhcpv6.c \
packet-fr.c \
packet-frame.c \
packet-ftp.c \
+ packet-fw1.c \
packet-giop.c \
packet-gmrp.c \
packet-gnutella.c \
packet-gre.c \
+ packet-gssapi.c \
packet-gtp.c \
packet-gvrp.c \
packet-h1.c \
packet-hsrp.c \
packet-http.c \
packet-iapp.c \
+ packet-ib.c \
packet-icap.c \
packet-icmpv6.c\
packet-icp.c \
packet-irc.c \
packet-isakmp.c\
packet-iscsi.c \
- packet-isis.c \
packet-isis-clv.c \
packet-isis-hello.c \
packet-isis-lsp.c \
packet-isis-snp.c \
+ packet-isis.c \
packet-isl.c \
packet-isup.c \
packet-iua.c \
packet-ldp.c \
packet-llc.c \
packet-lmi.c \
+ packet-lmp.c \
packet-lpd.c \
packet-m2pa.c \
packet-m2tp.c \
+ packet-m2ua.c \
packet-m3ua.c \
- packet-mapi.c \
packet-mbtcp.c \
packet-mip.c \
packet-mmse.c \
packet-ncp2222.c \
packet-ndmp.c \
packet-netbios.c \
+ packet-netflow.c \
packet-nfs.c \
+ packet-nfsacl.c \
+ packet-nfsauth.c \
packet-nisplus.c \
packet-nlm.c \
packet-nntp.c \
+ packet-ntlmssp.c \
packet-ntp.c \
packet-null.c \
- packet-osi.c \
packet-osi-options.c \
+ packet-osi.c \
packet-ospf.c \
packet-pcnfsd.c \
packet-pflog.c \
packet-q931.c \
packet-qllc.c \
packet-quake.c \
- packet-quakeworld.c \
packet-quake2.c \
packet-quake3.c \
+ packet-quakeworld.c \
packet-radius.c\
packet-ranap.c \
packet-raw.c \
packet-rip.c \
packet-ripng.c \
packet-rlogin.c \
+ packet-rmi.c \
packet-rpc.c \
packet-rquota.c \
packet-rsh.c \
+ packet-rstat.c \
packet-rsvp.c \
packet-rtcp.c \
packet-rtp.c \
packet-rtsp.c \
packet-rwall.c \
packet-rx.c \
+ packet-sadmind.c \
packet-sap.c \
+ packet-sccp.c \
packet-scsi.c \
packet-sctp.c \
packet-sdp.c \
packet-skinny.c \
packet-slimp3.c \
packet-sll.c \
- packet-smb.c \
+ packet-slowprotocols.c \
packet-smb-browse.c \
packet-smb-common.c \
packet-smb-logon.c \
packet-smb-mailslot.c \
packet-smb-pipe.c \
+ packet-smb.c \
packet-smpp.c \
packet-smtp.c \
packet-sna.c \
+ packet-snaeth.c \
packet-snmp.c \
packet-socks.c \
+ packet-spnego.c \
packet-spray.c \
packet-srvloc.c \
packet-sscop.c \
packet-ssl.c \
- packet-stat.c \
packet-stat-notify.c \
+ packet-stat.c \
packet-sua.c \
packet-syslog.c \
packet-tacacs.c \
packet-tcp.c \
+ packet-tds.c \
packet-telnet.c\
packet-tftp.c \
packet-time.c \
packet-vlan.c \
packet-vrrp.c \
packet-vtp.c \
+ packet-wap.c \
packet-wccp.c \
packet-wcp.c \
packet-who.c \
- packet-wap.c \
- packet-wtls.c \
packet-wsp.c \
+ packet-wtls.c \
packet-wtp.c \
packet-x11.c \
packet-x25.c \
+ packet-xdmcp.c \
packet-xot.c \
+ packet-xyplex.c \
packet-yhoo.c \
packet-ypbind.c \
packet-yppasswd.c \
if HAVE_PLUGINS
plugin_src = \
- plugins/gryphon/packet-gryphon.c \
- plugins/mgcp/packet-mgcp.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-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-uccreq.c \
+ plugins/docsis/packet-uccrsp.c \
+ plugins/docsis/packet-ucd.c \
plugins/giop/packet-cosnaming.c \
- plugins/giop/packet-coseventcomm.c
+ plugins/giop/packet-coseventcomm.c \
+ plugins/gryphon/packet-gryphon.c \
+ plugins/mgcp/packet-mgcp.c
+
plugin_static_ldadd = \
- plugins/gryphon/packet-gryphon-static.o \
- plugins/mgcp/packet-mgcp-static.o \
- plugins/giop/packet-cosnaming-static.o \
- plugins/giop/packet-coseventcomm-static.o
+ plugins/docsis/packet-bpkmattr-static.o \
+ plugins/docsis/packet-bpkmreq-static.o \
+ plugins/docsis/packet-bpkmrsp-static.o \
+ plugins/docsis/packet-docsis-static.o \
+ plugins/docsis/packet-dsaack-static.o \
+ plugins/docsis/packet-dsareq-static.o \
+ plugins/docsis/packet-dsarsp-static.o \
+ plugins/docsis/packet-dscack-static.o \
+ plugins/docsis/packet-dscreq-static.o \
+ plugins/docsis/packet-dscrsp-static.o \
+ plugins/docsis/packet-dsdreq-static.o \
+ plugins/docsis/packet-dsdrsp-static.o \
+ plugins/docsis/packet-macmgmt-static.o \
+ plugins/docsis/packet-map-static.o \
+ plugins/docsis/packet-regack-static.o \
+ plugins/docsis/packet-regreq-static.o \
+ plugins/docsis/packet-regrsp-static.o \
+ plugins/docsis/packet-rngreq-static.o \
+ plugins/docsis/packet-rngrsp-static.o \
+ plugins/docsis/packet-tlv-static.o \
+ plugins/docsis/packet-uccreq-static.o \
+ plugins/docsis/packet-uccrsp-static.o \
+ plugins/docsis/packet-ucd-static.o \
+ plugins/giop/packet-cosnaming-static.o \
+ plugins/giop/packet-coseventcomm-static.o \
+ plugins/gryphon/packet-gryphon-static.o \
+ plugins/mgcp/packet-mgcp-static.o
plugin_libs = \
- plugins/gryphon/gryphon.la \
- plugins/mgcp/mgcp.la \
+ plugins/docsis/docsis.la \
plugins/giop/cosnaming.la \
- plugins/giop/coseventcomm.la
+ plugins/giop/coseventcomm.la \
+ plugins/gryphon/gryphon.la \
+ plugins/mgcp/mgcp.la
plugin_ldadd = \
"-dlopen" self \
- "-dlopen" plugins/gryphon/gryphon.la \
- "-dlopen" plugins/mgcp/mgcp.la \
+ "-dlopen" plugins/docsis/docsis.la \
"-dlopen" plugins/giop/cosnaming.la \
- "-dlopen" plugins/giop/coseventcomm.la
+ "-dlopen" plugins/giop/coseventcomm.la \
+ "-dlopen" plugins/gryphon/gryphon.la \
+ "-dlopen" plugins/mgcp/mgcp.la
else
plugin_src =
endif
noinst_HEADERS = \
- packet-afs.h \
+ packet-afp.h \
+ packet-afs-defs.h \
packet-afs-macros.h \
packet-afs-register-info.h \
- packet-afs-defs.h \
+ packet-afs.h \
packet-arp.h \
packet-atalk.h \
+ packet-atm.h \
packet-bgp.h \
packet-bootparams.h \
packet-chdlc.h \
packet-clip.h \
- packet-dcerpc.h \
+ packet-data.h \
+ packet-dccp.h \
+ packet-dcerpc-browser.h \
packet-dcerpc-dfs.h \
packet-dcerpc-lsa.h \
+ packet-dcerpc-mapi.h \
packet-dcerpc-netlogon.h \
+ packet-dcerpc-nt.h \
packet-dcerpc-reg.h \
packet-dcerpc-samr.h \
packet-dcerpc-spoolss.h \
packet-dcerpc-srvsvc.h \
+ packet-dcerpc-tapi.h \
packet-dcerpc-wkssvc.h \
+ packet-dcerpc.h \
packet-ddtp.h \
packet-diameter-defs.h \
packet-dns.h \
packet-frame.h \
packet-giop.h \
packet-gnutella.h \
+ packet-gssapi.h \
+ packet-gtp.h \
packet-hclnfsd.h \
packet-http.h \
packet-ieee80211.h \
packet-ipsec.h \
packet-ipv6.h \
packet-ipx.h \
- packet-isis.h \
packet-isis-clv.h \
packet-isis-hello.h \
packet-isis-lsp.h \
packet-isis-snp.h \
+ packet-isis.h \
packet-isl.h \
+ packet-kerberos.h \
packet-klm.h \
packet-ldap.h \
packet-llc.h \
packet-mount.h \
packet-mrdisc.h \
packet-msnip.h \
+ packet-mtp3.h \
packet-ncp-int.h \
packet-netbios.h \
+ packet-netflow.h \
packet-nfs.h \
packet-nisplus.h \
packet-nlm.h \
packet-ntp.h \
packet-null.h \
- packet-osi.h \
packet-osi-options.h \
+ packet-osi.h \
packet-pcnfsd.h \
packet-pflog.h \
- packet-pgm.h \
packet-pim.h \
packet-portmap.h \
packet-ppp.h \
packet-q931.h \
packet-raw.h \
packet-ripng.h \
+ packet-rmi.h \
packet-rpc.h \
packet-rquota.h \
+ packet-rsvp.h \
packet-rtcp.h \
packet-rtp.h \
packet-rwall.h \
packet-sna.h \
packet-snmp.h \
packet-spray.h \
- packet-stat.h \
packet-stat-notify.h \
+ packet-stat.h \
packet-tcp.h \
packet-tns.h \
packet-tpkt.h \
packet-udp.h \
packet-vines.h \
packet-vlan.h \
- packet-wccp.h \
packet-wap.h \
+ packet-wccp.h \
+ packet-wsp.h \
packet-wtls.h \
packet-wtp.h \
- packet-wsp.h \
packet-x11-keysym.h \
packet-yhoo.h \
packet-ypbind.h \
packet-yppasswd.h \
packet-ypserv.h \
- packet-ypxfr.h
+ packet-ypxfr.h
ETHEREAL_COMMON_SRC = \
- aftypes.h \
- alignment.h \
afn.c \
afn.h \
+ aftypes.h \
+ alignment.h \
asn1.c \
asn1.h \
bridged_pids.h \
+ capture_stop_conditions.c \
+ capture_stop_conditions.h \
+ cfile.c \
+ cfile.h \
+ color.h \
column.c \
column.h \
- color.h \
conditions.c \
conditions.h \
- capture_stop_conditions.h \
- capture_stop_conditions.c \
etypes.h \
+ file.h \
follow.c \
follow.h \
+ format-oid.h \
greproto.h \
in_cksum.c \
in_cksum.h \
llcsaps.h \
nlpid.h \
oui.h \
- packet-dcerpc-nt.h \
- packet-dcerpc-nt.c \
pcap-util.c \
pcap-util.h \
ppptypes.h \
+ prefs-int.h \
prefs.c \
prefs.h \
- prefs-int.h \
print.c \
print.h \
ps.c \
register.h \
ringbuffer.c \
ringbuffer.h \
+ rpc_defrag.h \
smb.h \
+ tap.c \
+ tap.h \
+ tap-rpcstat.c \
+ tap-rpcstat.h \
+ tap-rpcprogs.c \
+ tap-rpcprogs.h \
util.c \
util.h \
x11-declarations.h \
capture.c \
capture.h \
file.c \
- file.h \
filters.c \
filters.h \
globals.h \
menu.h \
+ \
+ \
progress_dlg.h \
proto_hier_stats.h \
proto_hier_stats.c \
capture.c \
capture.h \
file.c \
- file.h \
filters.c \
filters.h \
globals.h \
menu.h \
+ \
+ \
progress_dlg.h \
proto_hier_stats.h \
proto_hier_stats.c \
statusbar.h \
summary.c \
summary.h \
- ui_util.h
+ ui_util.h
EXTRA_ethereal_SOURCES = \
snprintf.c \
# Additional libs that I know how to build. These will be
# linked into the ethereal executable.
+if USE_GTK2
+ethereal_additional_libs = \
+ wiretap/libwiretap.a \
+ gtk2/libui.a \
+ epan/libethereal.a \
+ epan/ftypes/libftypes.a \
+ epan/dfilter/libdfilter.a
+else
ethereal_additional_libs = \
wiretap/libwiretap.a \
gtk/libui.a \
epan/libethereal.a \
epan/ftypes/libftypes.a \
epan/dfilter/libdfilter.a
+endif
# This is the automake dependency variable for the executable
ethereal_DEPENDENCIES = \
$(ethereal_optional_objects) \
$(ethereal_additional_libs) \
@SNMP_LIBS@ @SSL_LIBS@ \
- @PCAP_LIBS@ @GTK_LIBS@
+ @PCAP_LIBS@ @GTK_LIBS@
ethereal_LDFLAGS = -export-dynamic
ethereal_static_LDFLAGS = -Wl,-static
tethereal_static_DEPENDENCIES = \
$(ethereal_optional_objects) \
- $(tethereal_additional_libs)
+ $(tethereal_additional_libs)
# This automake variable adds to the link-line for the executable
tethereal_LDADD = wiretap/libwiretap.a \
text2pcap_DEPENDENCIES = text2pcap.h
# This automake variable adds to the link-line for the executable
-text2pcap_LDADD = $(text2pcap_optional_objects)
+text2pcap_LDADD = $(text2pcap_optional_objects) \
+ @GLIB_LIBS@ -lm
mergecap_SOURCES = mergecap.c
mergecap_DEPENDENCIES = wiretap/libwiretap.a
idl2eth
DISTCLEANFILES = \
+ aclocal-missing/*.m4 \
register.c \
register-static.c \
rdps \
EXTRA_DIST = \
Ethereal.desktop \
+ FAQ \
+ INSTALL.configure \
+ Makefile.nmake \
+ README.aix \
+ README.bsd \
+ README.hpux \
+ README.irix \
+ README.linux \
+ README.tru64 \
+ README.vmware \
+ README.win32 \
+ TODO \
+ aclocal-fallback/*.m4 \
aclocal-flags \
+ autogen.sh \
capture-wpcap.c \
capture-wpcap.h \
cleanbld.bat \
debian/postinst \
debian/prerm \
debian/rules \
+ dictionary.dtd \
+ dictionary.xml \
doc/Makefile.am \
doc/Makefile.nmake \
doc/README.design \
editcap.c \
ethereal_be.py \
ethereal_gen.py \
- mergecap.c \
- text2pcap.c \
- text2pcap.h \
- text2pcap-scanner.l \
getopt.c \
getopt.h \
idl2eth.sh \
- ieee-float.h \
image/Makefile.nmake \
image/README.image \
image/clist_ascend.xpm \
image/lo32-app-ethereal.png \
image/lo48-app-ethereal.png \
image/mergecap.rc.in \
+ image/nsis-checked.bmp \
+ image/nsis-unchecked.bmp \
image/tethereal.rc.in \
image/text2pcap.rc.in \
image/up_arrow.xpm \
- INSTALL.configure \
- Makefile.nmake \
make-manuf \
make-reg-dotc \
make-reg-dotc.py \
manuf \
manuf.tmpl \
+ mergecap.c \
+ mobileipv4.xml \
+ nasreq.xml \
ncp2222.py \
packet-ncp2222.inc \
print.ps \
process-x11-fields.pl \
- README.aix \
- README.bsd \
- README.hpux \
- README.irix \
- README.linux \
- README.tru64 \
- README.vmware \
- README.win32 \
randpkt.c \
rdps.c \
- TODO \
- dictionary.dtd \
- dictionary.xml \
- mobileipv4.xml \
- nasreq.xml \
sunping.xml \
+ text2pcap-scanner.l \
+ text2pcap.c \
+ text2pcap.h \
+ wka.tmpl \
x11-fields
if SETUID_INSTALL
#dist-hook:
# @rm -f $(distdir)/register.c
+# Hack around the problem that I haven't found a way to include an
+# empty directroy in the distribution tarball.
+dist-hook:
+ mkdir -p aclocal-missing
+
+DIST_SUBDIRS = tools wiretap doc epan plugins packaging \
+ gtk gtk2
+
if HAVE_PLUGINS
SUBDIRS = tools wiretap doc epan plugins packaging @ethereal_SUBDIRS@
else
$(MAKE) ../text2pcap.1 )
packet-ncp2222.c : ncp2222.py
- $(PYTHON) $(srcdir)/ncp2222.py > $@
+ $(PYTHON) $(srcdir)/ncp2222.py -o $@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
svr4-package: $(bin_SCRIPTS) $(lib_LTLIBRARIES)
if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
rm -rf $(stagedir) ; \
- $(MAKE) DESTDIR=$(stagedir) install-strip; \
+ $(MAKE) DESTDIR=$(stagedir) install; \
$(srcdir)/packaging/svr4/mkpkg \
$(PACKAGE) \
$(PACKAGE)-$(VERSION)-$(host_os)-$(host_cpu)-local \
rpm-package: dist
if test x$(HAVE_RPM) = xyes ; then \
cd $(rpm_topdir) ; \
- mkdir BUILD RPMS SOURCES ; \
+ mkdir -p BUILD RPMS SOURCES ; \
cd SOURCES ; \
ln -s ../../../$(distdir).tar.gz ; \
cd .. ; \
srpm-package: dist
if test x$(HAVE_RPM) = xyes ; then \
cd $(rpm_topdir) ; \
- mkdir BUILD SRPMS SOURCES ; \
+ mkdir -p BUILD SRPMS SOURCES ; \
cd SOURCES ; \
ln -s ../../../$(distdir).tar.gz ; \
cd .. ; \