# automake will arrange that the Makefile define it as the union of all
# the "man{section}_MANS" variables.
#
-bin_PROGRAMS = @ethereal_bin@ @capinfos_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@
+bin_PROGRAMS = @ethereal_bin@ @capinfos_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@ @dumpcap_bin@
bin_SCRIPTS = @idl2eth_bin@
-man1_MANS = @ethereal_man@ @capinfos_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @idl2eth_man@
+man1_MANS = @ethereal_man@ @capinfos_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @dumpcap_man@ @idl2eth_man@
man4_MANS = @etherealfilter_man@
man_MANS =
EXTRA_PROGRAMS = ethereal tethereal capinfos editcap mergecap dftest \
- randpkt text2pcap
+ randpkt text2pcap dumpcap
EXTRA_SCRIPTS = idl2eth
#
#
pkgdata_DATA = AUTHORS-SHORT manuf ethereal.html tethereal.html \
ethereal-filter.html capinfos.html editcap.html \
- idl2eth.html mergecap.html text2pcap.html \
+ idl2eth.html mergecap.html text2pcap.html dumpcap.html \
cfilters colorfilters dfilters
#
# of that directory.
#
diameterdir = $(pkgdatadir)/diameter
-diameter_DATA = dictionary.dtd dictionary.xml imscxdx.xml mobileipv4.xml \
- nasreq.xml sunping.xml
+diameter_DATA = \
+ diameter/chargecontrol.xml \
+ diameter/dictionary.dtd \
+ diameter/dictionary.xml \
+ diameter/imscxdx.xml \
+ diameter/mobileipv4.xml \
+ diameter/nasreq.xml \
+ diameter/sunping.xml \
+ diameter/TGPPSh.xml
+#
+# Install the DTDs directory files in the "dtds" subdirectory
+# of that directory
+#
+dtdsdir = $(pkgdatadir)/dtds
+dtds_DATA = \
+ dtds/dc.dtd \
+ dtds/itunes.dtd \
+ dtds/rss.dtd \
+ dtds/smil.dtd
#
# Install the RADIUS directory files in the "radius" subdirectory
radius/dictionary.columbia_university \
radius/dictionary.compat \
radius/dictionary.cosine \
+ radius/dictionary.ericsson \
radius/dictionary.erx \
radius/dictionary.extreme \
radius/dictionary.foundry \
radius/dictionary.wispr \
radius/dictionary.xedia
-PLATFORM_SRC = pcap-util-unix.c
+PLATFORM_SRC = capture-pcap-util-unix.c
include Makefile.common
if HAVE_PLUGINS
+
+if HAVE_LIBLUA
+lua_lib = plugins/lua/lua.la
+else # HAVE_LIBLUA
+lua_lib =
+endif # HAVE_LIBLUA
+
plugin_libs = \
plugins/acn/acn.la \
plugins/agentx/agentx.la \
plugins/giop/coseventcomm.la \
plugins/gryphon/gryphon.la \
plugins/irda/irda.la \
+ $(lua_lib) \
plugins/lwres/lwres.la \
+ plugins/mate/mate.la \
plugins/megaco/megaco.la \
plugins/mgcp/mgcp.la \
plugins/opsi/opsi.la \
plugins/rlm/rlm.la \
plugins/rtnet/rtnet.la \
plugins/rudp/rudp.la \
+ plugins/stats_tree/stats_tree.la \
plugins/v5ua/v5ua.la
if ENABLE_STATIC
plugin_ldadd = $(plugin_libs)
else # ENABLE_STATIC
+
+if HAVE_LIBLUA
+lua_ldadd = "-dlopen" plugins/lua/lua.la
+else # HAVE_LIBLUA
+lua_ldadd =
+endif # HAVE_LIBLUA
+
plugin_ldadd = \
"-dlopen" self \
"-dlopen" plugins/acn/acn.la \
"-dlopen" plugins/giop/cosnaming.la \
"-dlopen" plugins/giop/coseventcomm.la \
"-dlopen" plugins/gryphon/gryphon.la \
+ "-dlopen" plugins/h223/h223.la \
"-dlopen" plugins/irda/irda.la \
+ $(lua_ldadd) \
"-dlopen" plugins/lwres/lwres.la \
+ "-dlopen" plugins/mate/mate.la \
"-dlopen" plugins/megaco/megaco.la \
"-dlopen" plugins/mgcp/mgcp.la \
"-dlopen" plugins/opsi/opsi.la \
"-dlopen" plugins/rlm/rlm.la \
"-dlopen" plugins/rtnet/rtnet.la \
"-dlopen" plugins/rudp/rudp.la \
+ "-dlopen" plugins/stats_tree/stats_tree.la \
"-dlopen" plugins/v5ua/v5ua.la
endif # ENABLE_STATIC
# we should probably split this into stuff needed both
# by ethereal and tethereal and stuff needed only by one or the
# other.
-ethereal_optional_objects = @SNPRINTF_O@ @STRERROR_O@ \
+ethereal_optional_objects = @GETOPT_O@ @SNPRINTF_O@ @STRERROR_O@ \
@STRCASECMP_O@ @STRNCASECMP_O@ @MKSTEMP_O@ @STRPTIME_O@
# Additional libs that I know how to build. These will be
@SNMP_LIBS@ @SSL_LIBS@ \
$(plugin_ldadd) \
@PCRE_LIBS@ \
- @PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ @FRAMEWORKS@
+ @PCAP_LIBS@ @GTK_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ @FRAMEWORKS@ \
+ @LIBGNUTLS_LIBS@
# Additional libs that I know how to build. These will be
# linked into the tethereal executable.
$(plugin_ldadd) \
@PCRE_LIBS@ \
@GLIB_LIBS@ -lm \
- @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@
+ @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
+ @LIBGNUTLS_LIBS@
if ENABLE_STATIC
tethereal_LDFLAGS = -Wl,-static -all-static
$(plugin_ldadd) \
@PCRE_LIBS@ \
@GLIB_LIBS@ -lm \
- @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@
+ @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ @ADNS_LIBS@ @KRB5_LIBS@ \
+ @LIBGNUTLS_LIBS@
dftest_LDFLAGS = -export-dynamic
+dumpcap_additional_libs = \
+ wiretap/libwiretap.la
+
+dumpcap_DEPENDENCIES = \
+ $(dumpcap_additional_libs)
+
+dumpcap_LDADD = \
+ $(dumpcap_additional_libs) \
+ @GLIB_LIBS@ \
+ @PCAP_LIBS@
+
#
# XXX - "svnversion.h" is distributed in the release tarball; should
# we be deleting it with "make clean", or should we only do that with
capture_wpcap_packet.c \
capture_wpcap_packet.h \
cfilters \
- cleanbld.bat \
colorfilters \
config.h.win32 \
config.nmake \
debian/prerm \
debian/rules \
dfilters \
- dictionary.dtd \
- dictionary.xml \
doc/Makefile.am \
doc/Makefile.nmake \
doc/README.capture \
doc/README.design \
doc/README.developer \
doc/README.idl2eth \
+ doc/README.malloc \
doc/README.plugins \
doc/README.regression \
+ doc/README.stats_tree \
doc/README.tapping \
- doc/README.tvbuff \
doc/README.xml-output \
doc/capinfos.pod \
doc/dfilter2pod.pl \
doc/randpkt.txt \
doc/tethereal.pod \
doc/text2pcap.pod \
+ doc/dumpcap.pod \
docbook/Makefile.auto.am \
doxygen.cfg.in \
+ dumpcap.c \
editcap.c \
epan/libethereal.def \
ethereal_be.py \
ethereal_gen.py \
ethereal.desktop \
- getopt.c \
- getopt.h \
idl2eth.sh \
image/Ethereal.icns \
image/Makefile.nmake \
image/clist_ascend.xpm \
image/clist_descend.xpm \
image/dn_arrow.xpm \
+ image/dumpcap.rc.in \
image/editcap.rc.in \
image/eexcl3d64.xpm \
image/eicon3d16.xpm \
image/eicon3d32.xpm \
image/eicon3d48.xpm \
image/eicon3d64.xpm \
+ image/eiconcap16.xpm \
+ image/eiconcap32.xpm \
+ image/eiconcap48.xpm \
image/elogo3d48x48.png \
+ image/ethereal.exe.manifest.in \
image/ethereal.ico \
image/ethereal.rc.in \
image/ethereal48x48-trans.png \
image/stock_dialog_warning_48.xpm \
image/stock_dialog_question_48.xpm \
image/stock_dialog_info_48.xpm \
+ image/stock_dialog_stop_48.xpm \
image/tethereal.rc.in \
image/text2pcap.rc.in \
image/toolbar/autoscroll_24.xpm \
image/icon_layout_4.xpm \
image/icon_layout_5.xpm \
image/icon_layout_6.xpm \
+ image/win32-file-dlg.rc \
image/wiretap.rc.in \
- imscxdx.xml \
make-authors-format.pl \
make-authors-short.pl \
make-manuf \
manuf \
manuf.tmpl \
mergecap.c \
- mobileipv4.xml \
- nasreq.xml \
perlnoutf.pl \
print.ps \
- radius/dictionary \
- radius/dictionary.3com \
- radius/dictionary.3gpp \
- radius/dictionary.3gpp2 \
- radius/dictionary.acc \
- radius/dictionary.alcatel \
- radius/dictionary.alteon \
- radius/dictionary.altiga \
- radius/dictionary.aptis \
- radius/dictionary.ascend \
- radius/dictionary.bay \
- radius/dictionary.bintec \
- radius/dictionary.bristol \
- radius/dictionary.cablelabs \
- radius/dictionary.cabletron \
- radius/dictionary.cisco \
- radius/dictionary.cisco.bbsm \
- radius/dictionary.cisco.vpn3000 \
- radius/dictionary.cisco.vpn5000 \
- radius/dictionary.colubris \
- radius/dictionary.columbia_university \
- radius/dictionary.compat \
- radius/dictionary.cosine \
- radius/dictionary.erx \
- radius/dictionary.extreme \
- radius/dictionary.foundry \
- radius/dictionary.freeradius \
- radius/dictionary.gandalf \
- radius/dictionary.garderos \
- radius/dictionary.gemtek \
- radius/dictionary.itk \
- radius/dictionary.juniper \
- radius/dictionary.karlnet \
- radius/dictionary.livingston \
- radius/dictionary.localweb \
- radius/dictionary.merit \
- radius/dictionary.microsoft \
- radius/dictionary.mikrotik \
- radius/dictionary.navini \
- radius/dictionary.netscreen \
- radius/dictionary.nokia \
- radius/dictionary.nomadix \
- radius/dictionary.propel \
- radius/dictionary.quintum \
- radius/dictionary.redback \
- radius/dictionary.redcreek \
- radius/dictionary.shasta \
- radius/dictionary.shiva \
- radius/dictionary.sonicwall \
- radius/dictionary.springtide \
- radius/dictionary.t_systems_nova \
- radius/dictionary.telebit \
- radius/dictionary.trapeze \
- radius/dictionary.tunnel \
- radius/dictionary.unisphere \
- radius/dictionary.unix \
- radius/dictionary.usr \
- radius/dictionary.valemount \
- radius/dictionary.versanet \
- radius/dictionary.wispr \
- radius/dictionary.xedia \
+ $(diameter_DATA) \
+ $(dtds_DATA) \
+ $(radius_DATA) \
randpkt.c \
rdps.c \
- sunping.xml \
text2pcap-scanner.l \
text2pcap.c \
text2pcap.h \
if SETUID_INSTALL
install-exec-hook:
- -chmod +s $(DESTDIR)$(bindir)/ethereal
+ -chmod +s $(DESTDIR)$(bindir)/dumpcap
-chmod +s $(DESTDIR)$(bindir)/tethereal
else
install-exec-hook:
(cd doc ; \
$(MAKE) ../text2pcap.1 )
+dumpcap.1: doc/dumpcap.pod
+ (cd doc ; \
+ $(MAKE) ../dumpcap.1 )
+
ethereal.html: doc/ethereal.pod AUTHORS-SHORT-FORMAT
(cd doc ; \
$(MAKE) ../ethereal.html )
(cd doc ; \
$(MAKE) ../text2pcap.html )
+dumpcap.html: doc/dumpcap.pod
+ (cd doc ; \
+ $(MAKE) ../dumpcap.html )
+
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
clean-local:
rm -rf $(top_stagedir)
-test-splint: $(ethereal_SOURCES)
- splint \
- -gnu-extensions -D_U_="" \
- -I. `glib-config --cflags` \
- -I./epan \
- -I./tools/lemon \
- -I./wiretap \
- $(ethereal_SOURCES)