From: Dario Lombardo Date: Sun, 15 Apr 2018 21:40:36 +0000 (+0200) Subject: Remove autotools build system. X-Git-Url: http://git.samba.org/?p=metze%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=4a156da068269aae75d79cd08e579754c52a0c43 Remove autotools build system. It has been replaced by cmake. Change-Id: I83a5eddb8645dbbf6bca9f026066d2e995d8e87a Reviewed-on: https://code.wireshark.org/review/26969 Petri-Dish: Dario Lombardo Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs Reviewed-by: Anders Broman --- diff --git a/.editorconfig b/.editorconfig index 6d83a185fb..2919945049 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,7 +16,6 @@ trim_trailing_whitespace = true insert_final_newline = true # Autotools, Make -[{Makefile.am,Makefile}] indent_style = tab indent_size = 8 diff --git a/.gitignore b/.gitignore index bda33a3724..3cdf3afecd 100644 --- a/.gitignore +++ b/.gitignore @@ -57,59 +57,6 @@ wiretap/version_info.c wireshark-tap-register.c ui/make-taps -# Generated makefile system # -############################# -.dirstamp -aclocal.m4 -androiddump -autom4te.cache -capinfos -captype -ciscodump -compile -config.h -config.h.in -config.cache -config.log -config.status -configure -depcomp -dftest -dumpcap -editcap -exntest -fuzzshark -install-sh -libtool -libtool.m4 -lt~obsolete.m4 -ltmain.sh -ltoptions.m4 -ltsugar.m4 -ltversion.m4 -Makefile -Makefile.in -mergecap -missing -mmdbresolve -oids_test -randpkt -randpktdump -rawshark -reordercap -reassemble_test -sharkd -sshdump -stamp-h1 -text2pcap -tfshark -tshark -tvbtest -udpdump -wireshark -wmem_test -ylwrap - # CMake # ################## CMakeCache.txt @@ -131,15 +78,6 @@ epan/dissectors/asn1/*/*-stamp epan/dissectors/pidl/*-stamp epan/dissectors/dcerpc/*-stamp - -# Generated dir # -################## -.deps -.libs -packaging/rpm/RPMS -packaging/rpm/SRPMS - - # Doc # ######## *.html diff --git a/.travis.yml b/.travis.yml index 4e26090887..7cbed6d65b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,21 +8,13 @@ compiler: - clang - gcc env: - - BUILD_CMAKE=yes - - BUILD_CMAKE=yes CMAKE_OPTS="-DBUILD_wireshark_gtk=ON" - - BUILD_CMAKE=yes CMAKE_OPTS="-DENABLE_PCAP=OFF" - - BUILD_CMAKE=no AUTOTOOLS_OPTS="--with-gtk=3" + - CMAKE_OPTS="-DENABLE_PCAP=ON" + - CMAKE_OPTS="-DENABLE_PCAP=OFF" matrix: exclude: # Exclude gcc build (Need some work) with osx - os: osx compiler: gcc - # Exclude autotools build (missing libtool...) with osx - - os: osx - env: BUILD_CMAKE=no AUTOTOOLS_OPTS="--with-gtk=3" - # Exclude build with GTK+3 - - os: osx - env: BUILD_CMAKE=yes CMAKE_OPTS="-DBUILD_wireshark_gtk=ON" before_install: - echo $TRAVIS_OS_NAME - $CC --version @@ -38,6 +30,8 @@ before_install: - $CC --version before_script: - sudo gem install asciidoctor - - if [ ${BUILD_CMAKE} == "yes" ]; then mkdir build && cd build && cmake ${CMAKE_OPTS} ..; else ./autogen.sh && ./configure ${AUTOTOOLS_OPTS} ; fi + - mkdir build + - cd build + - cmake ${CMAKE_OPTS} .. script: - make diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index eed3dd2af3..0000000000 --- a/Makefile.am +++ /dev/null @@ -1,998 +0,0 @@ -# Makefile.am -# Automake file for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include ./Makefile.am.inc - -AM_DISTCHECK_CONFIGURE_FLAGS=@GUI_CONFIGURE_FLAGS@ -# Make sure to keep ACLOCAL_AMFLAGS in Makefile.am and AC_CONFIG_MACRO_DIRS -# in configure.ac in sync, otherwise there will be an error running autogen.sh. -ACLOCAL_AMFLAGS = -I m4 - -# Common headers -COMMONCPPFLAGS = - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(COMMONCPPFLAGS) - -bin_PROGRAMS = \ - @capinfos_bin@ \ - @captype_bin@ \ - @dumpcap_bin@ \ - @editcap_bin@ \ - @mergecap_bin@ \ - @mmdbresolve_bin@ \ - @randpkt_bin@ \ - @rawshark_bin@ \ - @reordercap_bin@ \ - @sharkd_bin@ \ - @text2pcap_bin@ \ - @tfshark_bin@ \ - @tshark_bin@ \ - @wireshark_bin@ - -noinst_PROGRAMS = \ - @dftest_bin@ \ - @fuzzshark_bin@ - -EXTRA_PROGRAMS = wireshark tshark tfshark capinfos captype \ - editcap mergecap dftest randpkt text2pcap dumpcap reordercap \ - mmdbresolve rawshark sharkd fuzzshark - -# -# Wireshark configuration files are put in $(pkgdatadir). -# -dist_pkgdata_DATA = COPYING manuf services cfilters colorfilters dfilters \ - smi_modules pdml2html.xsl enterprises.tsv wka - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = wireshark.pc - -# -# Install global profiles in the "profiles" subdirectory -# -profilesdir = $(pkgdatadir) -nobase_dist_profiles_DATA = \ - profiles/Bluetooth/colorfilters \ - profiles/Bluetooth/preferences \ - profiles/Classic/colorfilters - -# -# Install the Diameter DTD and XML files in the "diameter" subdirectory -# of that directory. -# -diameterdir = $(pkgdatadir)/diameter -include diameter/Custom.make -dist_diameter_DATA = $(_CUSTOM_diameter_xml_files_) \ - diameter/chargecontrol.xml \ - diameter/Cisco.xml \ - diameter/CiscoSystems.xml \ - diameter/Custom.xml \ - diameter/dictionary.dtd \ - diameter/dictionary.xml \ - diameter/eap.xml \ - diameter/Ericsson.xml \ - diameter/etsie2e4.xml \ - diameter/Inovar.xml \ - diameter/Juniper.xml \ - diameter/mobileipv4.xml \ - diameter/mobileipv6.xml \ - diameter/nasreq.xml \ - diameter/sip.xml \ - diameter/Starent.xml \ - diameter/sunping.xml \ - diameter/TGPP.xml \ - diameter/TGPP2.xml \ - diameter/Vodafone.xml \ - diameter/AlcatelLucent.xml \ - diameter/Nokia.xml \ - diameter/NokiaSolutionsAndNetworks.xml \ - diameter/HP.xml \ - diameter/Huawei.xml \ - diameter/Oracle.xml \ - diameter/VerizonWireless.xml - -# -# Install the DTDs directory files in the "dtds" subdirectory -# of that directory -# -dtdsdir = $(pkgdatadir)/dtds -dist_dtds_DATA = \ - dtds/dc.dtd \ - dtds/itunes.dtd \ - dtds/mscml.dtd \ - dtds/pocsettings.dtd \ - dtds/presence.dtd \ - dtds/reginfo.dtd \ - dtds/rlmi.dtd \ - dtds/rss.dtd \ - dtds/smil.dtd \ - dtds/xcap-caps.dtd \ - dtds/xcap-error.dtd \ - dtds/watcherinfo.dtd - -# -# Install the RADIUS directory files in the "radius" subdirectory -# of that directory. -# -radiusdir = $(pkgdatadir)/radius -include radius/Custom.make -dist_radius_DATA = $(_CUSTOM_radius_dict_) \ - radius/README.radius_dictionary \ - radius/custom.includes \ - radius/dictionary \ - radius/dictionary.3com \ - radius/dictionary.3gpp \ - radius/dictionary.3gpp2 \ - radius/dictionary.acc \ - radius/dictionary.acme \ - radius/dictionary.actelis \ - radius/dictionary.aerohive \ - radius/dictionary.airespace \ - radius/dictionary.alcatel \ - radius/dictionary.alcatel-lucent.aaa \ - radius/dictionary.alcatel.esam \ - radius/dictionary.alcatel.sr \ - radius/dictionary.alteon \ - radius/dictionary.altiga \ - radius/dictionary.alvarion \ - radius/dictionary.alvarion.wimax.v2_2 \ - radius/dictionary.apc \ - radius/dictionary.aptis \ - radius/dictionary.arbor \ - radius/dictionary.aruba \ - radius/dictionary.ascend \ - radius/dictionary.asn \ - radius/dictionary.audiocodes \ - radius/dictionary.avaya \ - radius/dictionary.azaire \ - radius/dictionary.bay \ - radius/dictionary.bintec \ - radius/dictionary.bluecoat \ - radius/dictionary.bristol \ - radius/dictionary.broadsoft \ - radius/dictionary.brocade \ - radius/dictionary.bskyb \ - radius/dictionary.bt \ - radius/dictionary.cablelabs \ - radius/dictionary.cabletron \ - radius/dictionary.camiant \ - radius/dictionary.chillispot \ - radius/dictionary.cisco \ - radius/dictionary.cisco.asa \ - radius/dictionary.cisco.bbsm \ - radius/dictionary.cisco.vpn3000 \ - radius/dictionary.cisco.vpn5000 \ - radius/dictionary.citrix \ - radius/dictionary.clavister \ - radius/dictionary.cnergee \ - radius/dictionary.colubris \ - radius/dictionary.columbia_university \ - radius/dictionary.compat \ - radius/dictionary.compatible \ - radius/dictionary.cosine \ - radius/dictionary.dante \ - radius/dictionary.dellemc \ - radius/dictionary.dhcp \ - radius/dictionary.digium \ - radius/dictionary.dlink \ - radius/dictionary.dragonwave \ - radius/dictionary.efficientip \ - radius/dictionary.eltex \ - radius/dictionary.epygi \ - radius/dictionary.equallogic \ - radius/dictionary.ericsson \ - radius/dictionary.ericsson.ab \ - radius/dictionary.ericsson.packet.core.networks \ - radius/dictionary.extreme \ - radius/dictionary.f5 \ - radius/dictionary.fdxtended \ - radius/dictionary.fortinet \ - radius/dictionary.foundry \ - radius/dictionary.freedhcp \ - radius/dictionary.freeradius \ - radius/dictionary.freeradius.internal \ - radius/dictionary.freeswitch \ - radius/dictionary.gandalf \ - radius/dictionary.garderos \ - radius/dictionary.gemtek \ - radius/dictionary.h3c \ - radius/dictionary.hp \ - radius/dictionary.huawei \ - radius/dictionary.iana \ - radius/dictionary.iea \ - radius/dictionary.infoblox \ - radius/dictionary.infonet \ - radius/dictionary.ipunplugged \ - radius/dictionary.issanni \ - radius/dictionary.itk \ - radius/dictionary.jradius \ - radius/dictionary.juniper \ - radius/dictionary.karlnet \ - radius/dictionary.kineto \ - radius/dictionary.lancom \ - radius/dictionary.livingston \ - radius/dictionary.localweb \ - radius/dictionary.lucent \ - radius/dictionary.manzara \ - radius/dictionary.meinberg \ - radius/dictionary.merit \ - radius/dictionary.meru \ - radius/dictionary.microsemi \ - radius/dictionary.microsoft \ - radius/dictionary.mikrotik \ - radius/dictionary.motorola \ - radius/dictionary.motorola.wimax \ - radius/dictionary.navini \ - radius/dictionary.netscreen \ - radius/dictionary.networkphysics \ - radius/dictionary.nexans \ - radius/dictionary.nokia \ - radius/dictionary.nokia.conflict \ - radius/dictionary.nomadix \ - radius/dictionary.nortel \ - radius/dictionary.ntua \ - radius/dictionary.openser \ - radius/dictionary.packeteer \ - radius/dictionary.paloalto \ - radius/dictionary.patton \ - radius/dictionary.perle \ - radius/dictionary.propel \ - radius/dictionary.prosoft \ - radius/dictionary.proxim \ - radius/dictionary.purewave \ - radius/dictionary.quiconnect \ - radius/dictionary.quintum \ - radius/dictionary.redcreek \ - radius/dictionary.rfc2865 \ - radius/dictionary.rfc2866 \ - radius/dictionary.rfc2867 \ - radius/dictionary.rfc2868 \ - radius/dictionary.rfc2869 \ - radius/dictionary.rfc3162 \ - radius/dictionary.rfc3576 \ - radius/dictionary.rfc3580 \ - radius/dictionary.rfc4072 \ - radius/dictionary.rfc4372 \ - radius/dictionary.rfc4603 \ - radius/dictionary.rfc4675 \ - radius/dictionary.rfc4679 \ - radius/dictionary.rfc4818 \ - radius/dictionary.rfc4849 \ - radius/dictionary.rfc5090 \ - radius/dictionary.rfc5176 \ - radius/dictionary.rfc5447 \ - radius/dictionary.rfc5580 \ - radius/dictionary.rfc5607 \ - radius/dictionary.rfc5904 \ - radius/dictionary.rfc6519 \ - radius/dictionary.rfc6572 \ - radius/dictionary.rfc6677 \ - radius/dictionary.rfc6911 \ - radius/dictionary.rfc6929 \ - radius/dictionary.rfc6930 \ - radius/dictionary.rfc7055 \ - radius/dictionary.rfc7155 \ - radius/dictionary.rfc7268 \ - radius/dictionary.rfc7499 \ - radius/dictionary.rfc7930 \ - radius/dictionary.riverbed \ - radius/dictionary.riverstone \ - radius/dictionary.roaringpenguin \ - radius/dictionary.ruckus \ - radius/dictionary.ruggedcom \ - radius/dictionary.sangoma \ - radius/dictionary.sg \ - radius/dictionary.shasta \ - radius/dictionary.shiva \ - radius/dictionary.siemens \ - radius/dictionary.slipstream \ - radius/dictionary.sofaware \ - radius/dictionary.sonicwall \ - radius/dictionary.springtide \ - radius/dictionary.starent \ - radius/dictionary.starent.vsa1 \ - radius/dictionary.surfnet \ - radius/dictionary.symbol \ - radius/dictionary.t_systems_nova \ - radius/dictionary.telebit \ - radius/dictionary.telkom \ - radius/dictionary.terena \ - radius/dictionary.trapeze \ - radius/dictionary.travelping \ - radius/dictionary.tropos \ - radius/dictionary.ukerna \ - radius/dictionary.unisphere \ - radius/dictionary.unix \ - radius/dictionary.usr \ - radius/dictionary.utstarcom \ - radius/dictionary.valemount \ - radius/dictionary.versanet \ - radius/dictionary.vqp \ - radius/dictionary.walabi \ - radius/dictionary.waverider \ - radius/dictionary.wichorus \ - radius/dictionary.wimax \ - radius/dictionary.wimax.alvarion \ - radius/dictionary.wimax.wichorus \ - radius/dictionary.wispr \ - radius/dictionary.xedia \ - radius/dictionary.xylan \ - radius/dictionary.yubico \ - radius/dictionary.zeus \ - radius/dictionary.zte \ - radius/dictionary.zyxel - -# -# Install the tpncp directory files in the "tpncp" subdirectory -# of that directory -# -tpncpdir = $(pkgdatadir)/tpncp -dist_tpncp_DATA = \ - tpncp/tpncp.dat - -# -# Install the wimaxasncp directory files in the "wimaxasncp" subdirectory -# of that directory -# -wimaxasncpdir = $(pkgdatadir)/wimaxasncp -dist_wimaxasncp_DATA = \ - wimaxasncp/dictionary.xml \ - wimaxasncp/dictionary.dtd - -# "BUILT_SOURCES" are built before any "make all" or "make check" targets. -BUILT_HEADER_FILES = \ - version.h - -BUILT_C_FILES = - -BUILT_SOURCES = $(BUILT_C_FILES) $(BUILT_HEADER_FILES) - -# Header files generated from source files. -GENERATED_HEADER_FILES = \ - text2pcap-scanner_lex.h \ - $(BUILT_HEADER_FILES) - -# C source files generated from source files. -GENERATED_C_FILES = - -# All the generated files. -GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES) - -# sources common for wireshark, tshark, and rawshark -SHARK_COMMON_SRC = \ - cfile.c \ - file_packet_provider.c \ - frame_tvbuff.c \ - sync_pipe_write.c \ - extcap.c \ - extcap_parser.c - -# wireshark specifics -WIRESHARK_COMMON_SRC = \ - $(SHARK_COMMON_SRC) \ - capture_info.c \ - capture_opts.c \ - file.c \ - fileset.c \ - version_info.c - -EPAN_EXTRA_LIBS = \ - @C_ARES_LIBS@ \ - @KRB5_LIBS@ \ - @LIBGCRYPT_LIBS@ \ - @LIBGNUTLS_LIBS@ \ - @LIBSMI_LIBS@ - -# Libraries and plugin flags with which to link wireshark. -wireshark_common_ldadd = \ - capchild/libcapchild.a \ - caputils/libcaputils.a \ - ui/libui.a \ - ui/libui_generated.a \ - codecs/libwscodecs.la \ - wiretap/libwiretap.la \ - epan/libwireshark.la \ - wsutil/libwsutil.la \ - @PCAP_LIBS@ \ - $(EPAN_EXTRA_LIBS) \ - @LIBNL_LIBS@ - -if HAVE_Qt -wireshark_SOURCES = $(WIRESHARK_COMMON_SRC) wireshark-qt.cpp - -wireshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(Qt_CFLAGS) - -wireshark_LDFLAGS = $(AM_LDFLAGS) $(Qt_LDFLAGS) - -wireshark_LDADD = \ - ui/qt/libqtui.a \ - $(wireshark_common_ldadd) \ - $(GLIB_LIBS) \ - $(Qt_LIBS) - -if HAVE_SPEEXDSP -wireshark_LDADD += $(SPEEXDSP_LIBS) -endif -endif # HAVE_Qt - -fuzzshark_SOURCES = \ - tools/oss-fuzzshark/fuzzshark.c \ - tools/oss-fuzzshark/StandaloneFuzzTargetMain.c \ - version_info.c - -fuzzshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -fuzzshark_LDFLAGS = $(AM_LDFLAGS) - -fuzzshark_LDADD = \ - wiretap/libwiretap.la \ - epan/libwireshark.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - ${EPAN_EXTRA_LIBS} - -tshark_SOURCES = \ - $(SHARK_COMMON_SRC) \ - capture_opts.c \ - tshark.c \ - version_info.c - -tshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -tshark_LDFLAGS = $(AM_LDFLAGS) - -# Libraries and plugin flags with which to link tshark. -tshark_LDADD = \ - capchild/libcapchild.a \ - caputils/libcaputils.a \ - ui/cli/libcliui.a \ - ui/libui.a \ - wiretap/libwiretap.la \ - epan/libwireshark.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @PCAP_LIBS@ \ - ${EPAN_EXTRA_LIBS} - -tfshark_SOURCES = \ - $(SHARK_COMMON_SRC) \ - tfshark.c \ - version_info.c - -tfshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -tfshark_LDFLAGS = $(AM_LDFLAGS) - -# Libraries and plugin flags with which to link tfshark. -tfshark_LDADD = \ - ui/cli/libcliui.a \ - ui/libui.a \ - wiretap/libwiretap.la \ - epan/libwireshark.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @PCAP_LIBS@ \ - ${EPAN_EXTRA_LIBS} - -rawshark_SOURCES = \ - $(SHARK_COMMON_SRC) \ - rawshark.c \ - version_info.c - -rawshark_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -rawshark_LDFLAGS = $(AM_LDFLAGS) - -# Libraries and plugin flags with which to link rawshark. -rawshark_LDADD = \ - caputils/libcaputils.a \ - ui/libui.a \ - wiretap/libwiretap.la \ - epan/libwireshark.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @PCAP_LIBS@ \ - ${EPAN_EXTRA_LIBS} - -mmdbresolve_SOURCES = mmdbresolve.c -mmdbresolve_CPPFLAGS = $(AM_CPPFLAGS) -mmdbresolve_LDFLAGS = $(AM_LDFLAGS) -mmdbresolve_LDADD = @MAXMINDDB_LIBS@ - -sharkd_SOURCES = \ - $(SHARK_COMMON_SRC) \ - sharkd.c \ - sharkd.h \ - sharkd_daemon.c \ - sharkd_session.c \ - version_info.c - -sharkd_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -if HAVE_SPEEXDSP -sharkd_CPPFLAGS += $(SPEEXDSP_CFLAGS) -endif - -sharkd_LDFLAGS = $(AM_LDFLAGS) - -# Libraries and plugin flags with which to link sharkd. -sharkd_LDADD = \ - ui/cli/libcliui.a \ - ui/libui.a \ - codecs/libwscodecs.la \ - wiretap/libwiretap.la \ - epan/libwireshark.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @PCAP_LIBS@ \ - ${EPAN_EXTRA_LIBS} - -if HAVE_SPEEXDSP -sharkd_LDADD += $(SPEEXDSP_LIBS) -endif - -text2pcap_SOURCES = \ - text2pcap.c \ - text2pcap-scanner.l \ - version_info.c - -text2pcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -text2pcap_CFLAGS = $(AM_CFLAGS) - -# Libraries with which to link text2pcap. -text2pcap_LDADD = \ - writecap/libwritecap.a \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ - -mergecap_SOURCES = \ - mergecap.c \ - version_info.c - -mergecap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -# Libraries with which to link mergecap. -mergecap_LDADD = \ - ui/libui.a \ - wiretap/libwiretap.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ - -capinfos_SOURCES = \ - capinfos.c \ - version_info.c - -capinfos_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -# Libraries with which to link capinfos. -capinfos_LDADD = \ - ui/libui.a \ - wiretap/libwiretap.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @LIBGCRYPT_LIBS@ - -captype_SOURCES = \ - captype.c \ - version_info.c - -captype_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -# Libraries with which to link captype. -captype_LDADD = \ - ui/libui.a \ - wiretap/libwiretap.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ - -editcap_SOURCES = \ - editcap.c \ - version_info.c - -editcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -# Libraries with which to link editcap. -editcap_LDADD = \ - ui/libui.a \ - wiretap/libwiretap.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @LIBGCRYPT_LIBS@ - -reordercap_SOURCES = \ - reordercap.c \ - version_info.c - -reordercap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -# Libraries with which to link reordercap. -reordercap_LDADD = \ - ui/libui.a \ - wiretap/libwiretap.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ - -randpkt_SOURCES = \ - randpkt.c \ - version_info.c - -randpkt_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -# Libraries with which to link randpkt. -randpkt_LDADD = \ - randpkt_core/librandpkt_core.a \ - ui/libui.a \ - wiretap/libwiretap.la \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @PCAP_LIBS@ \ - @C_ARES_LIBS@ - -dftest_SOURCES = \ - dftest.c - -dftest_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -# Libraries and plugin flags with which to link dftest. -dftest_LDADD = \ - ui/libui.a \ - wiretap/libwiretap.la \ - wsutil/libwsutil.la \ - epan/libwireshark.la \ - @GLIB_LIBS@ \ - @PCAP_LIBS@ \ - ${EPAN_EXTRA_LIBS} - -dumpcap_SOURCES = \ - capture_opts.c \ - capture_stop_conditions.c \ - conditions.c \ - dumpcap.c \ - ringbuffer.c \ - sync_pipe_write.c \ - version_info.c - -dumpcap_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) - -dumpcap_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS) - -dumpcap_LDFLAGS = $(AM_LDFLAGS) $(PIE_LDFLAGS) - -# Libraries with which to link dumpcap. -dumpcap_LDADD = \ - caputils/libcaputils.a \ - ui/libui.a \ - writecap/libwritecap.a \ - wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @PCAP_LIBS@ \ - @LIBCAP_LIBS@ \ - @LIBNL_LIBS@ - -pkginclude_HEADERS = \ - cfile.h \ - file.h \ - globals.h \ - log.h \ - ws_attributes.h \ - ws_compiler_tests.h \ - ws_diag_control.h \ - ws_symbol_export.h - -# this target needed for distribution only -noinst_HEADERS = \ - tools/oss-fuzzshark/FuzzerInterface.h \ - capture_info.h \ - capture_opts.h \ - capture_stop_conditions.h \ - conditions.h \ - extcap.h \ - extcap_parser.h \ - fileset.h \ - frame_tvbuff.h \ - ringbuffer.h \ - sync_pipe.h \ - version_info.h - -# -# Build the version string -# -# FORCE is the portable version of .PHONY -FORCE: - -version.h: FORCE - $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir) - -# -# Build shell scripts by doing variable substitution. -# Taken from autoconf 2.13. -# -editsh = sed -e 's,@''SHELL''@,$(SHELL),g' - -SUFFIXES = .sh -.sh: - rm -f $@ $@.tmp - $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@ - -services: - $(PYTHON) $(srcdir)/tools/make-services.py - -CLEANFILES = \ - doxygen-core.tag \ - vgcore.* - -DISTCLEANFILES = \ - version.h - -MAINTAINERCLEANFILES = \ - $(GENERATED_FILES) - -EXTRA_DIST = \ - .editorconfig \ - .mailmap \ - INSTALL.configure \ - Makefile.am.inc \ - README.aix \ - README.bsd \ - README.DECT \ - README.hpux \ - README.linux \ - README.macos \ - README.md \ - README.windows \ - abi-descriptor.template \ - autogen.sh \ - cfilters \ - colorfilters \ - debian \ - dfilters \ - doxygen_global.cfg \ - doxygen.cfg.in \ - enterprises.tsv \ - fix \ - idl \ - image \ - m4 \ - macosx-support-lib-patches \ - make-version.pl \ - manuf \ - manuf.tmpl \ - pdml2html.xsl \ - smi_modules \ - text2pcap-scanner.l \ - text2pcap.h \ - services \ - wireshark.desktop \ - wireshark-mime-package.xml \ - wireshark.appdata.xml \ - wireshark.pc.in \ - wka \ - CMakeLists.txt \ - CMakeListsCustom.txt.example \ - cmakeconfig.h.in \ - CMakeOptions.txt \ - ConfigureChecks.cmake \ - cmake - -install-exec-hook: -if HAVE_DUMPCAP_GROUP - chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap -endif -if SETCAP_INSTALL - $(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap - chmod o-rws $(DESTDIR)$(bindir)/dumpcap -else -if SETUID_INSTALL - chmod o-rws $(DESTDIR)$(bindir)/dumpcap - chmod +s $(DESTDIR)$(bindir)/dumpcap -endif -endif - - -if HAVE_PLUGINS -if !ENABLE_STATIC -plugins_subdir = plugins -endif -endif - -extcap_subdir = extcap - -DIST_SUBDIRS = \ - capchild \ - caputils \ - codecs \ - doc \ - docbook \ - epan \ - ui \ - ui/cli \ - ui/qt \ - help \ - packaging \ - plugins \ - randpkt_core \ - tools \ - wiretap \ - writecap \ - wsutil \ - extcap - -SUBDIRS = \ - tools \ - wsutil \ - writecap \ - wiretap \ - epan \ - capchild \ - caputils \ - $(plugins_subdir) \ - help \ - ui \ - codecs \ - @wireshark_SUBDIRS@ \ - ui/cli \ - randpkt_core \ - $(extcap_subdir) \ - . \ - doc \ - docbook - -help/faq.txt: $(srcdir)/help/faq.py - $(AM_V_GEN)(cd help ; \ - $(MAKE) faq.txt ;) - -libtool: $(LIBTOOL_DEPS) - $(SHELL) ./config.status --recheck - - -# -# Install icons and other desktop files for (for use with GNOME, KDE, or -# any other freedesktop.org-compliant desktops). -# -# We use $(datadir). If the desktop doesn't look for them there, -# the desktop is broken; the latest XDG Base Directory Specification -# can be consulted at -# -# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html -# -# We neither need nor want any of this if we're not building Wireshark -# (that being the only desktop app). -# -install-data-local: -if BUILDING_WIRESHARK - $(MKDIR_P) $(DESTDIR)$(datadir)/mime/packages - $(INSTALL_DATA) $(srcdir)/wireshark-mime-package.xml $(DESTDIR)$(datadir)/mime/packages/wireshark.xml - $(MKDIR_P) $(DESTDIR)$(datadir)/appdata - $(INSTALL_DATA) $(srcdir)/wireshark.appdata.xml $(DESTDIR)$(datadir)/appdata/wireshark.appdata.xml - $(MKDIR_P) $(DESTDIR)$(datadir)/applications - $(INSTALL_DATA) $(srcdir)/wireshark.desktop $(DESTDIR)$(datadir)/applications - for size in 16 24 32 48 64 128 256; \ - do \ - $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps ; \ - $(INSTALL_DATA) $(srcdir)/image/wsicon$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \ - $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes ; \ - $(INSTALL_DATA) $(srcdir)/image/WiresharkDoc-$${size}.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \ - done - $(MKDIR_P) $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps - $(INSTALL_DATA) $(srcdir)/image/wsicon.svg $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg -endif - -uninstall-local: -if BUILDING_WIRESHARK - rm -f $(DESTDIR)$(datadir)/appdata/wireshark.appdata.xml - rm -f $(DESTDIR)$(datadir)/applications/wireshark.desktop - rm -f $(DESTDIR)$(datadir)/mime/packages/wireshark.xml - for size in 16 24 32 48 64 128 256; \ - do \ - rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/wireshark.png ; \ - rm -f $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/mimetypes/application-wireshark-doc.png ; \ - done - rm -f $(DESTDIR)$(datadir)/icons/hicolor/scalable/apps/wireshark.svg -endif - -install-data-hook: update-databases-and-caches-install -uninstall-hook: update-databases-and-caches-uninstall - -# -# ldconfig may be needed to update a shared library cache. -# -# update-desktop-database and update-mime-database may be needed on -# freedesktop.org desktops. -# -# Only ldconfig may be needed if we're not building Wireshark -# (that being the only desktop app). -# -update-databases-and-caches-common: - @echo "-------------------------------------------------------------------------------" - @echo "You may need to run \"ldconfig\" as root" -if BUILDING_WIRESHARK - @echo "You may need to run \"update-desktop-database $(datadir)/applications\"" - @echo "You may need to run \"update-mime-database $(datadir)/mime\"" -endif - @echo "-------------------------------------------------------------------------------" - -update-databases-and-caches-install: update-databases-and-caches-common - -update-databases-and-caches-uninstall: update-databases-and-caches-common - -rpm-package: dist - $(MAKE) -C packaging/rpm - -test-programs: - cd epan && $(MAKE) $@ - -checkapi_local: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \ - -sourcedir=$(srcdir) \ - $(TSHARK_TAP_SRC) - -checkapi: checkapi_local - cd wiretap && $(MAKE) checkapi - cd codecs && $(MAKE) checkapi - cd capchild && $(MAKE) checkapi - cd caputils && $(MAKE) checkapi - cd ui && $(MAKE) checkapi - cd ui/cli && $(MAKE) checkapi - cd epan && $(MAKE) checkapi - cd epan/crypt && $(MAKE) checkapi - cd epan/dfilter && $(MAKE) checkapi - cd epan/ftypes && $(MAKE) checkapi - cd epan/wmem && $(MAKE) checkapi - cd epan/wslua && $(MAKE) checkapi - cd epan/dissectors && $(MAKE) checkapi - cd plugins && $(MAKE) checkapi - cd randpkt_core && $(MAKE) checkapi - cd writecap && $(MAKE) checkapi - cd wsutil && $(MAKE) checkapi - -# --external-sources requires 0.4.0 or later. -shellcheck: - cd $(top_srcdir) && \ - $(SHELLCHECK) --external-sources \ - tools/fuzz-test.sh \ - tools/randpkt-test.sh \ - tools/test-captures.sh \ - tools/valgrind-wireshark.sh - -wsar_html: doxygen.cfg doxygen_global.cfg FORCE -if HAVE_DOXYGEN - rm -rf wsar_html - cd epan && $(MAKE) $@ - cd capchild && $(MAKE) $@ - cd caputils && $(MAKE) $@ - cd randpkt_core && $(MAKE) $@ - cd ui && $(MAKE) $@ - (umask 022 ; $(DOXYGEN) doxygen.cfg) -endif - -wsar-zip: wsar_html -if HAVE_DOXYGEN - rm -f wsar_html.zip - zip -rq wsar_html.zip wsar_html -endif - -# Update AUTHORS file with entries from git shortlog -gen-authors: - cd $(top_srcdir) && $(PERL) tools/generate_authors.pl AUTHORS.src > AUTHORS - -dist-hook: - printf "git_description=%s\n" "$$(git -C $(top_srcdir) describe --match 'v[1-9]*')" \ - > $(top_distdir)/version.conf diff --git a/Makefile.am.inc b/Makefile.am.inc deleted file mode 100644 index eaec6ddf1c..0000000000 --- a/Makefile.am.inc +++ /dev/null @@ -1,78 +0,0 @@ -# Makefile.am.inc -# Include file for Makefile.am files to get additional rules -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -AUTOMAKE_OPTIONS = -Wno-portability - -lemon_srcdir = $(top_srcdir)/tools/lemon -lemon_builddir = $(top_builddir)/tools/lemon -LEMON = $(lemon_builddir)/lemon$(EXEEXT) -$(LEMON): - cd $(lemon_builddir) && $(MAKE) - -INCLUDEDIRS = -I$(top_srcdir) - -#AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) - -AM_CFLAGS = $(WERROR) $(WS_CFLAGS) - -DIRTY_CFLAGS = $(WS_CFLAGS) - -AM_CXXFLAGS = $(WERROR) $(WS_CXXFLAGS) - -DIRTY_CXXFLAGS = $(WS_CXXFLAGS) - -AM_LDFLAGS = $(WS_LDFLAGS) - -AM_V_PERL = $(am__v_PERL_@AM_V@) -am__v_PERL_ = $(am__v_PERL_@AM_DEFAULT_V@) -am__v_PERL_0 = @echo " PERL " $@; - -AM_V_AWK = $(am__v_AWK_@AM_V@) -am__v_AWK_ = $(am__v_AWK_@AM_DEFAULT_V@) -am__v_AWK_0 = @echo " AWK " $@; - -AM_V_LEMON = $(am__v_LEMON_@AM_V@) -am__v_LEMON_ = $(am__v_LEMON_@AM_DEFAULT_V@) -am__v_LEMON_0 = @echo " LEMON " $@; - -AM_V_LEX = $(am__v_LEX_@AM_V@) -am__v_LEX_ = $(am__v_LEX_@AM_DEFAULT_V@) -am__v_LEX_0 = @echo " LEX " $@; - -AM_V_SED = $(am__v_SED_@AM_V@) -am__v_SED_ = $(am__v_SED_@AM_DEFAULT_V@) -am__v_SED_0 = @echo " SED " $@; - -AM_V_LN_S = $(am__v_LN_S_@AM_V@) -am__v_LN_S_ = $(am__v_LN_S_@AM_DEFAULT_V@) -am__v_LN_S_0 = @echo " LN_S " $@; - -# _PYTHON is a reserved automake keyword -AM_V_python = $(am__v_python_@AM_V@) -am__v_python_ = $(am__v_python_@AM_DEFAULT_V@) -am__v_python_0 = @echo " PYTHON " $@; - -AM_V_YACC = $(am__v_YACC_@AM_V@) -am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) -am__v_YACC_0 = @echo " YACC " $@; - -.l.c: - $(AM_V_LEX)$(LEX) -o$@ --header-file=$(@:.c=_lex.h) $< diff --git a/acinclude.m4 b/acinclude.m4 deleted file mode 100644 index 1a452667b2..0000000000 --- a/acinclude.m4 +++ /dev/null @@ -1,2017 +0,0 @@ -dnl Macros that test for specific features. -dnl This file is part of the Autoconf packaging for Wireshark. -dnl Copyright (C) 1998-2000 by Gerald Combs. -dnl -dnl SPDX-License-Identifier: GPL-2.0-or-later -dnl -dnl As a special exception, the Free Software Foundation gives unlimited -dnl permission to copy, distribute and modify the configure scripts that -dnl are the output of Autoconf. You need not follow the terms of the GNU -dnl General Public License when using or distributing such scripts, even -dnl though portions of the text of Autoconf appear in them. The GNU -dnl General Public License (GPL) does govern all other use of the material -dnl that constitutes the Autoconf program. -dnl -dnl Certain portions of the Autoconf source text are designed to be copied -dnl (in certain cases, depending on the input) into the output of -dnl Autoconf. We call these the "data" portions. The rest of the Autoconf -dnl source text consists of comments plus executable code that decides which -dnl of the data portions to output in any given case. We call these -dnl comments and executable code the "non-data" portions. Autoconf never -dnl copies any of the non-data portions into its output. -dnl -dnl This special exception to the GPL applies to versions of Autoconf -dnl released by the Free Software Foundation. When you make and -dnl distribute a modified version of Autoconf, you may extend this special -dnl exception to the GPL to apply to your modified version as well, *unless* -dnl your modified version has the potential to copy into its output some -dnl of the text that was the non-data portion of the version that you started -dnl with. (In other words, unless your change moves or copies text from -dnl the non-data portions to the data portions.) If your modification has -dnl such potential, you must delete any notice of this special exception -dnl to the GPL from your modified version. -dnl -dnl Written by David MacKenzie, with help from -dnl Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, -dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. - -# -# AC_WIRESHARK_ADD_DASH_L -# -# Add to the variable specified as the first argument a "-L" flag for the -# directory specified as the second argument, and, on Solaris, add a -# "-R" flag for it as well. -# -# XXX - IRIX, and other OSes, may require some flag equivalent to -# "-R" here. -# -AC_DEFUN([AC_WIRESHARK_ADD_DASH_L], -[AX_APPEND_FLAG(-L$2, $1) -case "$host_os" in - solaris*) - AX_APPEND_FLAG(-R$2, $1) - ;; -esac -]) - -# -# AC_WIRESHARK_PUSH_FLAGS -# -# Push our flags to CFLAGS/etc. -# -AC_DEFUN([AC_WIRESHARK_PUSH_FLAGS], -[ - ac_ws_CPPLAGS_saved="$CPPFLAGS" - ac_ws_CFLAGS_saved="$CFLAGS" - ac_ws_CXXFLAGS_saved="$CXXFLAGS" - ac_ws_LDFLAGS_saved="$LDFLAGS" - CPPFLAGS="$WS_CPPFLAGS $CPPFLAGS" - CFLAGS="$WS_CFLAGS $CFLAGS" - CXXFLAGS="$WS_CXXFLAGS $CXXFLAGS" - LDFLAGS="$WS_LDFLAGS $LDFLAGS" -]) - -# -# AC_WIRESHARK_POP_FLAGS -# -# Restore user build flags. -# -AC_DEFUN([AC_WIRESHARK_POP_FLAGS], -[ - CPPFLAGS="$ac_ws_CPPLAGS_saved" - CFLAGS="$ac_ws_CFLAGS_saved" - CXXFLAGS="$ac_ws_CXXFLAGS_saved" - LDFLAGS="$ac_ws_LDFLAGS_saved" -]) - - -# -# AC_WIRESHARK_BREAKLOOP_TRY_LINK -# -AC_DEFUN([AC_WIRESHARK_PCAP_BREAKLOOP_TRY_LINK], -[ - AC_LINK_IFELSE( - [ - AC_LANG_SOURCE( - [[ -# include - int main(void) - { - pcap_t *pct = NULL; - pcap_breakloop(pct); - return 0; - } - ]]) - ], - [ - ws_breakloop_compiled=yes - ], - [ - ws_breakloop_compiled=no - ]) -]) - - - -# -# AC_WIRESHARK_PCAP_CHECK -# -AC_DEFUN([AC_WIRESHARK_PCAP_CHECK], -[ - AC_WIRESHARK_PUSH_FLAGS - ws_ac_save_LIBS="$LIBS" - - if test -z "$pcap_dir" - then - # Pcap header checks - # XXX need to set a var AC_CHECK_HEADER(pcap.h,,) - - # - # The user didn't specify a directory in which libpcap resides. - # First, look for a pcap-config script. - # - AC_PATH_TOOL(PCAP_CONFIG, pcap-config) - - if test -n "$PCAP_CONFIG" ; then - # - # Found it. - # - # Now check whether it's the libpcap 1.0 version, which - # put a space after "-L" - on some platforms, that doesn't - # work. - # - AC_MSG_CHECKING(for broken pcap-config) - case "`\"$PCAP_CONFIG\" --libs`" in - - "-L "*) - # - # Space after -L. Pretend pcap-config doesn't exist. - # - AC_MSG_RESULT(yes) - PCAP_CONFIG="" - ;; - - *) - # - # No space after -L. - # - AC_MSG_RESULT(no) - ;; - esac - fi - if test -n "$PCAP_CONFIG" ; then - # - # Found it, and it's usable; use it to get the include flags - # for libpcap. - # - PCAP_CFLAGS="`\"$PCAP_CONFIG\" --cflags`" - # - # We have pcap-config; we assume that means we have libpcap - # installed and that pcap-config will tell us whatever - # libraries libpcap needs. - # - if test x$enable_static = xyes; then - PCAP_LIBS="`\"$PCAP_CONFIG\" --libs --static`" - else - PCAP_LIBS="`\"$PCAP_CONFIG\" --libs`" - fi - else - # - # Didn't find it; we have to look for libpcap ourselves. - # We assume that the current library search path will work, - # but we may have to look for the header in a "pcap" - # subdirectory of "/usr/include" or "/usr/local/include", - # as some systems apparently put "pcap.h" in a "pcap" - # subdirectory without also providing a "pcap.h" in the top-level - # include directory, and we also check "$prefix/include" - and - # "$prefix/include/pcap", in case $prefix is set to - # "/usr/include" or "/usr/local/include". - # - PCAP_CFLAGS="" - PCAP_LIBS="-lpcap" - - AC_MSG_CHECKING(for extraneous pcap header directories) - found_pcap_dir="" - pcap_dir_list="/usr/local/include/pcap /usr/include/pcap $prefix/include/pcap $prefix/include" - for pcap_dir in $pcap_dir_list - do - if test -d $pcap_dir ; then - if test x$pcap_dir != x/usr/include -a x$pcap_dir != x/usr/local/include ; then - PCAP_CFLAGS="-I$pcap_dir" - fi - found_pcap_dir=" $found_pcap_dir -I$pcap_dir" - break - fi - done - - if test "$found_pcap_dir" != "" ; then - AC_MSG_RESULT(found --$found_pcap_dir added to CFLAGS) - else - AC_MSG_RESULT(not found) - fi - fi - else - # - # The user specified a directory in which libpcap resides, - # so add the "include" subdirectory of that directory to - # the include file search path and the "lib" subdirectory - # of that directory to the library search path. - # - # XXX - if there's also a libpcap in a directory that's - # already in CPPFLAGS or LDFLAGS, this won't make us find - # the version in the specified directory, as the compiler - # and/or linker will search that other directory before it - # searches the specified directory. - # - PCAP_CFLAGS="-I$pcap_dir/include" - # - # XXX - This doesn't use AC_WIRESHARK_ADD_DASH_L - # - PCAP_LIBS="-L$pcap_dir/lib -lpcap" - fi - - CFLAGS="$PCAP_CFLAGS $CFLAGS" - LIBS="$PCAP_LIBS $LIBS" - - # Pcap header check - AC_CHECK_HEADER(pcap.h, - [ - AC_DEFINE(HAVE_LIBPCAP, 1, [Define to use libpcap library]) - ], - [ - AC_MSG_ERROR([[Header file pcap.h not found; if you installed libpcap -from source, did you also do \"make install-incl\", and if you installed a -binary package of libpcap, is there also a developer's package of libpcap, -and did you also install that package?]]) - ]) - - # - # Check to see if we find "pcap_open_live" in "-lpcap". - # Also check for various additional libraries that libpcap might - # require. - # - AC_CHECK_LIB(pcap, pcap_open_live, - [ - ], - [ - ac_wireshark_extras_found=no - ac_save_LIBS="$LIBS" - for extras in "-lcfg -lodm" "-lpfring" - do - AC_MSG_CHECKING([for pcap_open_live in -lpcap with $extras]) - LIBS="-lpcap $extras $ac_save_LIBS" - # - # XXX - can't we use AC_CHECK_LIB here? - # - AC_TRY_LINK( - [ -# include - ], - [ - pcap_open_live(NULL, 0, 0, 0, NULL); - ], - [ - ac_wireshark_extras_found=yes - AC_MSG_RESULT([yes]) - PCAP_LIBS="$PCAP_LIBS $extras" - ], - [ - AC_MSG_RESULT([no]) - ]) - if test x$ac_wireshark_extras_found = xyes - then - break - fi - done - if test x$ac_wireshark_extras_found = xno - then - AC_MSG_ERROR([Can't link with library libpcap.]) - fi - LIBS=$ac_save_LIBS - ]) - AC_SUBST(PCAP_CFLAGS) - AC_SUBST(PCAP_LIBS) - - # - # Check whether various variables and functions are defined by - # libpcap. - # - AC_CHECK_FUNCS(pcap_open_dead pcap_freecode) - AC_CHECK_FUNCS(pcap_open) - if test $ac_cv_func_pcap_open = "yes" ; then - AC_DEFINE(HAVE_PCAP_REMOTE, 1, - [Define to 1 if you have libpcap/WinPcap remote capturing support]) - - # - # XXX - this *should* be checked for independently of checking - # for pcap_open(), as you might have pcap_setsampling() without - # remote capture support. - # - # However, 1) the sampling options are treated as remote options - # in the GUI and and 2) having pcap_setsampling() doesn't mean - # you have sampling support. libpcap needs a way to indicate - # whether a given device supports sampling, and the GUI should - # be changed to decouple them. - # - # (Actually, libpcap needs a general mechanism to offer options - # for particular devices, and Wireshark needs to use that - # mechanism. The former is a work in progress.) - # - # (Note: another work in progress is support for remote - # capturing using pcap_create()/pcap_activate(), which we - # also need to support once it's available.) - # - AC_CHECK_FUNCS(pcap_setsampling) - fi - - # - # pcap_breakloop may be present in the library but not declared - # in the pcap.h header file. If it's not declared in the header - # file, attempts to use it will get warnings, and, if we're - # building with warnings treated as errors, that warning will - # cause compilation to fail. - # - # We are therefore first testing whether the function is present - # and then, if we're compiling with warnings as errors, testing - # whether it is usable. It is usable if it compiles without - # a -Wimplicit warning (the "compile with warnings as errors" - # option requires GCC). If it is not usable, we fail and tell - # the user that the pcap.h header needs to be updated. - # - # Ceteris paribus, this should only happen with Mac OS X 10.3[.x] which - # can have an up-to-date pcap library without the corresponding pcap - # header. - # - # However, it might also happen on some others OSes with some erroneous - # system manipulations where multiple versions of libpcap might co-exist - # e.g. hand made symbolic link from libpcap.so -> libpcap.so.0.8 but - # having the pcap header version 0.7. - # - AC_MSG_CHECKING([whether pcap_breakloop is present]) - ac_CFLAGS_saved="$CFLAGS" - AC_WIRESHARK_PCAP_BREAKLOOP_TRY_LINK - if test "x$ws_breakloop_compiled" = "xyes"; then - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_PCAP_BREAKLOOP, 1, [Define if pcap_breakloop is known]) - if test "x$with_warnings_as_errors" = "xyes"; then - AC_MSG_CHECKING([whether pcap_breakloop is usable]) - CFLAGS="$CFLAGS -Werror -Wimplicit" - AC_WIRESHARK_PCAP_BREAKLOOP_TRY_LINK - if test "x$ws_breakloop_compiled" = "xyes"; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - AC_MSG_ERROR( -[Your pcap library is more recent than your pcap header. -As you are building with compiler warnings treated as errors, Wireshark -won't be able to use functions not declared in that header. -If you wish to build with compiler warnings treated as errors, You should -install a newer version of the header file.]) - fi - CFLAGS="$ac_CFLAGS_saved" - fi - else - AC_MSG_RESULT(no) - fi - - # - # Later versions of Mac OS X 10.3[.x] ship a pcap.h that - # doesn't define pcap_if_t but ship an 0.8[.x] libpcap, - # so the library has "pcap_findalldevs()", but pcap.h - # doesn't define "pcap_if_t" so you can't actually *use* - # "pcap_findalldevs()". - # - # That even appears to be true of systems shipped with - # 10.3.4, so it doesn't appear only to be a case of - # Software Update not updating header files. - # - # (You can work around this by installing the 0.8 header - # files.) - # - AC_CACHE_CHECK([whether pcap_findalldevs is present and usable], - [ac_cv_func_pcap_findalldevs], - [ - AC_LINK_IFELSE( - [ - AC_LANG_SOURCE( - [[ - #include - int main() - { - pcap_if_t *devpointer; - char errbuf[1]; - - pcap_findalldevs(&devpointer, errbuf); - } - ]]) - ], - [ - ac_cv_func_pcap_findalldevs=yes - ], - [ - ac_cv_func_pcap_findalldevs=no - ]) - ]) - # - # Don't check for other new routines that showed up after - # "pcap_findalldevs()" if we don't have a usable - # "pcap_findalldevs()", so we don't end up using them if the - # "pcap.h" is crufty and old and doesn't declare them. - # - if test $ac_cv_func_pcap_findalldevs = "yes" ; then - AC_DEFINE(HAVE_PCAP_FINDALLDEVS, 1, - [Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that declares pcap_if_t.]) - AC_CHECK_FUNCS(pcap_datalink_val_to_name pcap_datalink_name_to_val) - AC_CHECK_FUNCS(pcap_datalink_val_to_description) - AC_CHECK_FUNCS(pcap_list_datalinks pcap_set_datalink pcap_lib_version) - AC_CHECK_FUNCS(pcap_get_selectable_fd pcap_free_datalinks) - AC_CHECK_FUNC(pcap_create, - [ - AC_DEFINE(HAVE_PCAP_CREATE, 1, - [Define to 1 if you have the `pcap_create' function.]) - AC_DEFINE(CAN_SET_CAPTURE_BUFFER_SIZE, 1, - [Define to 1 if the capture buffer size can be set.]) - ]) - AC_CHECK_FUNCS(bpf_image pcap_set_tstamp_precision pcap_set_tstamp_type) - fi - - AC_WIRESHARK_POP_FLAGS - LIBS="$ws_ac_save_LIBS" -]) - -# -# AC_WIRESHARK_ZLIB_CHECK -# -AC_DEFUN([AC_WIRESHARK_ZLIB_CHECK], -[ - AC_WIRESHARK_PUSH_FLAGS - - if test "x$zlib_dir" != "x" - then - # - # The user specified a directory in which zlib resides, - # so add the "include" subdirectory of that directory to - # the include file search path and the "lib" subdirectory - # of that directory to the library search path. - # - # XXX - if there's also a zlib in a directory that's - # already in CPPFLAGS or LDFLAGS, this won't make us find - # the version in the specified directory, as the compiler - # and/or linker will search that other directory before it - # searches the specified directory. - # - CPPFLAGS="$CPPFLAGS -I$zlib_dir/include" - AC_WIRESHARK_ADD_DASH_L(LDFLAGS, $zlib_dir/lib) - fi - - # - # Make sure we have "zlib.h". If we don't, it means we probably - # don't have zlib, so don't use it. - # - AC_CHECK_HEADER(zlib.h,, - [ - if test "x$zlib_dir" != "x" - then - # - # The user used "--with-zlib=" to specify a directory - # containing zlib, but we didn't find the header file - # there; that either means they didn't specify the - # right directory or are confused about whether zlib - # is, in fact, installed. Report the error and give up. - # - AC_MSG_ERROR([zlib header not found in directory specified in --with-zlib]) - else - if test "x$want_zlib" = "xyes" - then - # - # The user tried to force us to use the library, but we - # couldn't find the header file; report an error. - # - AC_MSG_ERROR(Header file zlib.h not found.) - else - # - # We couldn't find the header file; don't use the - # library, as it's probably not present. - # - want_zlib=no - fi - fi - ]) - - if test "x$want_zlib" != "xno" - then - # - # Well, we at least have the zlib header file. - # - # We link with zlib to support uncompression of - # gzipped network traffic, e.g. in an HTTP request - # or response body. - # - # Check for inflate() in zlib, to make sure the - # zlib library is usable. For example, on at - # least some versions of Fedora, if you have a - # 64-bit machine, have both the 32-bit and 64-bit - # versions of the run-time zlib package installed, - # and have only the *32-bit* version of the zlib - # development package installed, it'll find the - # header, and think it can use zlib, and will use - # it in subsequent tests, but it'll try and link - # 64-bit test programs with the 32-bit library, - # causing those tests to falsely fail. Hilarity - # ensues. - # - if test "x$zlib_dir" != "x" - then - WS_CPPFLAGS="$WS_CPPFLAGS -I$zlib_dir/include" - AC_WIRESHARK_ADD_DASH_L(WS_LDFLAGS, $zlib_dir/lib) - fi - AC_DEFINE(HAVE_ZLIB, 1, [Define to use zlib library]) - # - # Check for "inflate()" in zlib to make sure we can - # link with it. - # - AC_CHECK_LIB(z, inflate,, - AC_MSG_ERROR([zlib.h found but linking with -lz failed to find inflate(); do you have the right developer package installed (32-bit vs. 64-bit)?])) - - # - # Check for "inflatePrime()" in zlib, which we need - # in order to read compressed capture files. - # - AC_CHECK_FUNCS(inflatePrime) - - if test "x$ac_cv_func_inflatePrime" = "xyes" ; then - # - # Now check for "inflatePrime()" in zlib when - # linking with the linker flags for GTK+ - # applications; people often grab XFree86 source - # and build and install it on their systems, - # and they appear sometimes to misconfigure - # XFree86 so that, even on systems with zlib, - # it assumes there is no zlib, so the XFree86 - # build process builds and installs its - # own zlib in the X11 library directory. - # - # The zlib in at least some versions of XFree86 - # is an older version that may lack "inflatePrime()", - # and that's the zlib with which Wireshark gets - # linked, so the build of Wireshark fails. - # - AC_MSG_CHECKING([for inflatePrime missing when linking with X11]) - AC_TRY_LINK_FUNC(inflatePrime, AC_MSG_RESULT(no), - [ - AC_MSG_RESULT(yes) - AC_MSG_ERROR(old zlib found when linking with X11 - get rid of old zlib.) - ]) - fi - fi - - AC_WIRESHARK_POP_FLAGS -]) - -# -# AC_WIRESHARK_LIBLUA_CHECK -# -# Sets $have_lua to yes or no. -# If it's yes, it also sets $LUA_CFLAGS and $LUA_LIBS. -AC_DEFUN([AC_WIRESHARK_LIBLUA_CHECK],[ - - AC_WIRESHARK_PUSH_FLAGS - - if test "x$want_lua_dir" = "x" - then - # The user didn't tell us where to find Lua. Let's go look for it. - - # First, try the standard (pkg-config) way. - # Unfortunately Lua's pkg-config file isn't standardly named. - # Some distributions allow installation of multiple versions of - # Lua at the same time. On such systems each version has its - # own package name. - # - # We use a for loop instead of giving all the package names to - # PKG_CHECK_MODULES because doing the latter doesn't appear to - # work reliably (some package names are not searched for). - for pkg in "lua < 5.3" lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua5.0 lua-5.0 lua50 - do - AC_MSG_CHECKING(if you have $pkg) - PKG_CHECK_EXISTS($pkg, - [ - AC_MSG_RESULT(yes) - have_lua=yes - ], - [ - AC_MSG_RESULT(no) - ]) - - if test "x$have_lua" = "xyes" - then - PKG_WIRESHARK_CHECK_SYSTEM_MODULES(LUA, $pkg) - CPPFLAGS="$LUA_CFLAGS $CPPFLAGS" - AC_CHECK_HEADERS(lua.h lualib.h lauxlib.h) - break - fi - done - fi - - if test "x$have_lua" != "xyes" - then - # We don't have pkg-config or the user specified the path to - # Lua (in $want_lua_dir). - # Let's look for the header file. - - AC_MSG_CHECKING(for the location of lua.h) - if test "x$want_lua_dir" = "x" - then - # The user didn't tell us where to look so we'll look in some - # standard locations. - want_lua_dir="/usr/local /usr $prefix" - fi - for dir in $want_lua_dir - do - if test -r "$dir/include/lua.h" - then - header_dir="$dir/include" - lua_dir=$dir - break - fi - - for ver in 5.2 52 5.1 51 5.0 50 - do - if test -r "$dir/include/lua$ver/lua.h" - then - header_dir="$dir/include/lua$ver" - lua_dir=$dir - break - fi - done - done - - if test "x$header_dir" = "x" - then - have_lua=no - AC_MSG_RESULT(not found) - else - AC_MSG_RESULT($header_dir) - - AC_MSG_CHECKING(the Lua version) - lua_ver=`$AWK AS_ESCAPE('/LUA_VERSION_NUM/ { print $NF; }' $header_dir/lua.h | sed 's/0/./')` - - if test "x$lua_ver" = "x5.3" - then - # Wireshark doesn't compile with Lua 5.3 today - AC_MSG_RESULT($lua_ver - disabling Lua support) - have_lua=no - else - AC_MSG_RESULT($lua_ver) - - CPPFLAGS="$CPPFLAGS -I$header_dir" - AC_CHECK_HEADERS(lua.h lualib.h lauxlib.h, , - [ - have_lua=no - ]) - fi - - if test "x$have_lua" = "x" - then - # Set LUA_CFLAGS - LUA_CFLAGS="-I$header_dir" - - # We have the header files and they work. Now let's check if we - # have the library and it works. - # - # XXX - if there's also a liblua in a directory that's - # already in CPPFLAGS or LDFLAGS, this won't make us find - # the version in the specified directory, as the compiler - # and/or linker will search that other directory before it - # searches the specified directory. - # - # XXX - lib64? - LDFLAGS="-L$lua_dir/lib $LDFLAGS" - AC_SEARCH_LIBS(luaL_openlibs, [lua-${lua_ver} lua${lua_ver} lua], - [ - LUA_LIBS="-L$lua_dir/lib $ac_cv_search_luaL_openlibs -lm" - have_lua=yes - ],[ - # Try again with -ldl - - # Tell autoconf we don't want to use the cached result - unset ac_cv_search_luaL_openlibs - - AC_SEARCH_LIBS(luaL_openlibs, [lua-${lua_ver} lua${lua_ver} lua], - [ - LUA_LIBS="-L$lua_dir/lib $ac_cv_search_luaL_openlibs -lm -ldl" - have_lua=yes - ],[ - have_lua=no - ], -lm -ldl) - ], -lm) - fi - fi - fi - - AC_WIRESHARK_POP_FLAGS -]) - -# -# AC_WIRESHARK_C_ARES_CHECK -# -AC_DEFUN([AC_WIRESHARK_C_ARES_CHECK], -[ - want_c_ares=defaultyes - - if test "x$want_c_ares" = "xdefaultyes"; then - want_c_ares=yes - fi - - if test "x$want_c_ares" = "xyes"; then - AC_CHECK_LIB(cares, ares_init, - [ - # - # Make sure we have c-ares 1.5 or later; we don't - # support the older API. - # - AC_MSG_CHECKING([whether we have c-ares 1.5 or later]) - AC_TRY_COMPILE( - [ -#include -#include - ], - [ -#if ((ARES_VERSION_MAJOR < 1) || \ - (1 == ARES_VERSION_MAJOR == 1 && ARES_VERSION_MINOR < 5)) -#error You lose -#else - return 0; -#endif - ], - [ - AC_MSG_RESULT([yes]) - C_ARES_LIBS=-lcares - AC_DEFINE(HAVE_C_ARES, 1, [Define to use c-ares library]) - have_good_c_ares=yes - ], - [ - AC_MSG_RESULT([no]) - AC_MSG_ERROR([Pre-1.5 versions of c-ares aren't supported]) - ]) - ]) - else - AC_MSG_RESULT(not required) - fi -]) - - -# -# AC_WIRESHARK_LIBCAP_CHECK -# -AC_DEFUN([AC_WIRESHARK_LIBCAP_CHECK], -[ - want_libcap=defaultyes - - if test "x$want_libcap" = "xdefaultyes"; then - want_libcap=yes - fi - - if test "x$want_libcap" = "xyes"; then - AC_CHECK_LIB(cap, cap_set_flag, - [ - LIBCAP_LIBS=-lcap - AC_DEFINE(HAVE_LIBCAP, 1, [Define to use the libcap library]) - have_good_libcap=yes - ],, - ) - else - AC_MSG_RESULT(not required) - fi -]) - - -# -# AC_WIRESHARK_KRB5_CHECK -# -AC_DEFUN([AC_WIRESHARK_KRB5_CHECK], -[ - AC_WIRESHARK_PUSH_FLAGS - wireshark_save_LIBS="$LIBS" - - if test "x$krb5_dir" != "x" - then - # - # The user specified a directory in which kerberos resides, - # so add the "include" subdirectory of that directory to - # the include file search path and the "lib" subdirectory - # of that directory to the library search path. - # - # XXX - if there's also a kerberos in a directory that's - # already in CPPFLAGS or LDFLAGS, this won't make us find - # the version in the specified directory, as the compiler - # and/or linker will search that other directory before it - # searches the specified directory. - # - KRB5_CFLAGS="-I$krb5_dir/include" - ac_heimdal_version=`grep heimdal $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*heimdal.*$/HEIMDAL/'` - # MIT Kerberos moved krb5.h to krb5/krb5.h starting with release 1.5 - ac_mit_version_olddir=`grep 'Massachusetts' $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*Massachusetts.*$/MIT/'` - ac_mit_version_newdir=`grep 'Massachusetts' $krb5_dir/include/krb5/krb5.h | head -n 1 | sed 's/^.*Massachusetts.*$/MIT/'` - ac_krb5_version="$ac_heimdal_version$ac_mit_version_olddir$ac_mit_version_newdir" - if test "x$ac_krb5_version" = "xHEIMDAL" - then - KRB5_LIBS="-L$krb5_dir/lib -lkrb5 -lasn1 -lcrypto -lroken -lcrypt" - else - KRB5_LIBS="-L$krb5_dir/lib -lkrb5 -lk5crypto -lcom_err" - fi - if test "x$ac_krb5_version" = "xMIT" - then - AC_DEFINE(HAVE_MIT_KERBEROS, 1, [Define to use MIT kerberos]) - fi - else - AC_PATH_TOOL(KRB5_CONFIG, krb5-config) - if test -x "$KRB5_CONFIG" - then - KRB5_CFLAGS=`"$KRB5_CONFIG" --cflags` - KRB5_LIBS=`"$KRB5_CONFIG" --libs` - ac_krb5_version=`"$KRB5_CONFIG" --version | head -n 1 | sed -e 's/^.*heimdal.*$/HEIMDAL/' -e 's/^Kerberos .*$/MIT/' -e 's/^Solaris Kerberos .*$/MIT/'` - fi - fi - # - # If -lcrypto is in KRB5_LIBS, we require it to build - # with Heimdal/MIT. We don't want to built with it by - # default, due to annoying license incompatibilities - # between the OpenSSL license and the GPL. - # - case "$KRB5_LIBS" in - *-lcrypto*) - if test "x$with_krb5_crypto_openssl" != "xyes" - then - AC_MSG_ERROR([Kerberos library requires -lcrypto, so you must specify --with-krb5-crypto-openssl]) - fi - ;; - esac - - CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS" - - # - # Make sure we have "krb5.h". If we don't, it means we probably - # don't have kerberos, so don't use it. - # - AC_CHECK_HEADER(krb5.h,, - [ - if test "x$krb5_dir" != "x" - then - # - # The user used "--with-krb5=" to specify a directory - # containing kerberos, but we didn't find the header file - # there; that either means they didn't specify the - # right directory or are confused about whether kerberos - # is, in fact, installed. Report the error and give up. - # - AC_MSG_ERROR([kerberos header not found in directory specified in --with-krb5]) - else - if test "x$want_krb5" = "xyes" - then - # - # The user tried to force us to use the library, but we - # couldn't find the header file; report an error. - # - AC_MSG_ERROR(Header file krb5.h not found.) - else - # - # We couldn't find the header file; don't use the - # library, as it's probably not present. - # - KRB5_CFLAGS="" - KRB5_LIBS="" - want_krb5=no - AC_MSG_RESULT(No Heimdal or MIT header found - disabling dissection for some kerberos data in packet decoding) - fi - fi - ]) - - if test "x$want_krb5" != "xno" - then - # - # Well, we at least have the krb5 header file. - # Check whether this is Heimdal or MIT. - # - AC_MSG_CHECKING(whether the Kerberos library is Heimdal or MIT) - if test "x$ac_krb5_version" = "xHEIMDAL" -o "x$ac_krb5_version" = "xMIT" - then - # - # Yes. - # Check whether we have krb5_kt_resolve - and whether - # we need to link with -lresolv when linking with - # the Kerberos library. - # - AC_MSG_RESULT($ac_krb5_version) - found_krb5_kt_resolve=no - for extras in "" "-lresolv" - do - LIBS="$KRB5_LIBS $extras $wireshark_save_LIBS" - if test -z "$extras" - then - AC_MSG_CHECKING([whether $ac_krb5_version includes krb5_kt_resolve]) - else - AC_MSG_CHECKING([whether $ac_krb5_version includes krb5_kt_resolve (linking with $extras)]) - fi - AC_TRY_LINK( - [ -# include - ], - [ - krb5_kt_resolve(0, 0, 0); - ], - [ - # - # We found "krb5_kt_resolve()". - # - AC_MSG_RESULT(yes) - if test -n "$extras"; then - KRB5_LIBS="$KRB5_LIBS $extras" - fi - AC_DEFINE(HAVE_KERBEROS, 1, [Define to use kerberos]) - if test "x$ac_krb5_version" = "xHEIMDAL" - then - AC_DEFINE(HAVE_HEIMDAL_KERBEROS, 1, [Define to use heimdal kerberos]) - elif test "x$ac_krb5_version" = "xMIT" - then - AC_DEFINE(HAVE_MIT_KERBEROS, 1, [Define to use MIT kerberos]) - fi - found_krb5_kt_resolve=yes - break - ], - [ - AC_MSG_RESULT(no) - ]) - done - if test "$found_krb5_kt_resolve" = no - then - # - # We didn't find "krb5_kt_resolve()" in the - # Kerberos library, even when we tried linking - # with -lresolv; we can't link with kerberos. - # - if test "x$want_krb5" = "xyes" - then - # - # The user tried to force us to use the library, - # but we can't do so; report an error. - # - AC_MSG_ERROR(Usable $ac_krb5_version not found) - else - # - # Don't use - # - AC_MSG_RESULT(Usable $ac_krb5_version not found - disabling dissection for some kerberos data in packet decoding) - KRB5_CFLAGS="" - KRB5_LIBS="" - want_krb5=no - fi - else - # - # We can link with Kerberos; see whether krb5.h - # defines KEYTYPE_ARCFOUR_56 (where "defines" means - # "as a #define or as an enum member). - # - AC_MSG_CHECKING([whether krb5.h defines KEYTYPE_ARCFOUR_56]) - AC_COMPILE_IFELSE( - [ - AC_LANG_SOURCE( - [[ - #include - #include - - int main() - { - printf("%u\n", KEYTYPE_ARCFOUR_56); - } - ]]) - ], - [ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_KEYTYPE_ARCFOUR_56, 1, [Define if krb5.h defines KEYTYPE_ARCFOUR_56]) - ], - [ - AC_MSG_RESULT(no) - ]) - fi - else - # - # It's not Heimdal or MIT. - # - AC_MSG_RESULT(no) - if test "x$want_krb5" = "xyes" - then - # - # The user tried to force us to use the library, - # but we can't do so; report an error. - # - AC_MSG_ERROR(Kerberos not found) - else - # - # Don't use. - # - AC_MSG_RESULT(Kerberos not found - disabling dissection for some kerberos data in packet decoding) - KRB5_CFLAGS="" - KRB5_LIBS="" - want_krb5=no - fi - fi - else - # - # The user asked us not to use Kerberos, or they didn't - # say whether they wanted us to use it but we found - # that we couldn't. - # - KRB5_CFLAGS="" - KRB5_LIBS="" - want_krb5=no - fi - AC_SUBST(KRB5_CFLAGS) - AC_SUBST(KRB5_LIBS) - - LIBS="$wireshark_save_LIBS" - AC_WIRESHARK_POP_FLAGS -]) - -# -# AC_WIRESHARK_MAXMINDDB_CHECK -# -AC_DEFUN([AC_WIRESHARK_MAXMINDDB_CHECK], -[ - want_maxminddb=defaultyes - - if test "x$want_maxminddb" = "xdefaultyes"; then - want_maxminddb=yes - fi - - if test "x$want_maxminddb" = "xyes"; then - AC_CHECK_LIB(maxminddb, MMDB_open, - [ - MAXMINDDB_LIBS=-lmaxminddb - AC_DEFINE(HAVE_MAXMINDDB, 1, [Define to use MaxMind DB library]) - have_good_maxminddb=yes - ],, - ) - else - AC_MSG_RESULT(not required) - fi -]) - -# -# AC_WIRESHARK_LIBSSH_CHECK -# -AC_DEFUN([AC_WIRESHARK_LIBSSH_CHECK], -[ - want_libssh=defaultyes - - if test "x$want_libssh" = "xdefaultyes"; then - want_libssh=yes - fi - - if test "x$want_libssh" = "xyes"; then - AC_CHECK_LIB(ssh, ssh_new, - [ - LIBSSH_LIBS=-lssh - AC_DEFINE(HAVE_LIBSSH, 1, [Define to use libssh library]) - have_good_libssh=yes - ],, - ) - AC_MSG_CHECKING([whether libssh >= 0.6.0 for sshdump, ciscodump]) - PKG_CHECK_EXISTS([libssh >= 0.6.0], - [ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_LIBSSH_POINTSIX, 1, [Defined if libssh >= 0.6.0]) - have_libssh_pointsix=yes - ], - [AC_MSG_RESULT(no)] - ) - if test "x$have_libssh_pointsix" = "xyes"; then - # ssh_userauth_agent exists only >= 0.6.0, but not on Windows - # so check explicitly - AC_CHECK_LIB(ssh, ssh_userauth_agent, - [ - AC_DEFINE(HAVE_SSH_USERAUTH_AGENT, 1, [Libssh library has ssh_userauth_agent]) - have_ssh_userauth_agent=yes - ],, - ) - fi - else - AC_MSG_RESULT(not required) - fi -]) - -# -# AC_WIRESHARK_NGHTTP2_CHECK -# -AC_DEFUN([AC_WIRESHARK_NGHTTP2_CHECK], -[ - want_nghttp2=defaultyes - - if test "x$want_nghttp2" = "xdefaultyes"; then - want_nghttp2=yes - fi - - if test "x$want_nghttp2" = "xyes"; then - AC_CHECK_LIB(nghttp2, nghttp2_hd_inflate_new, - [ - AC_CHECK_HEADERS(nghttp2/nghttp2.h, - [ - NGHTTP2_LIBS=-lnghttp2 - AC_DEFINE(HAVE_NGHTTP2, 1, [Define to use nghttp2 library]) - have_good_nghttp2=yes - ],, - ) - ],, - ) - else - AC_MSG_RESULT(not required) - fi -]) - -#AC_WIRESHARK_LDFLAGS_CHECK -# -# $1 : ldflag(s) to test -# -# We attempt to compile and link a test program with the specified linker -# flag. The defined flag is added to LDFLAGS only if the link succeeds. -# -AC_DEFUN([AC_WIRESHARK_LDFLAGS_CHECK], -[LD_OPTION="$1" -AC_MSG_CHECKING(whether we can add $LD_OPTION to LDFLAGS) -AC_WIRESHARK_PUSH_FLAGS -LDFLAGS="$LDFLAGS $LD_OPTION" -can_add_to_ldflags="" -AC_LINK_IFELSE( - [ - AC_LANG_SOURCE([[int main() { return 0; }]]) - ], - [ - AC_MSG_RESULT(yes) - AX_APPEND_FLAG([$LD_OPTION], [WS_LDFLAGS]) - can_add_to_ldflags=yes - ], - [ - AC_MSG_RESULT(no) - can_add_to_ldflags=no - ]) - AC_WIRESHARK_POP_FLAGS -]) - -dnl -dnl Check whether, if you pass an unknown warning option to the -dnl compiler, it fails or just prints a warning message and succeeds. -dnl Set ac_wireshark_unknown_warning_option_error to the appropriate flag -dnl to force an error if it would otherwise just print a warning message -dnl and succeed. -dnl -AC_DEFUN([AC_WIRESHARK_CHECK_UNKNOWN_WARNING_OPTION_ERROR], - [ - AC_MSG_CHECKING([whether the compiler fails when given an unknown warning option]) - AC_WIRESHARK_PUSH_FLAGS - CFLAGS="$CFLAGS -Wxyzzy-this-will-never-succeed-xyzzy" - AC_TRY_COMPILE( - [], - [return 0], - [ - AC_MSG_RESULT([no, adding -Werror=unknown-warning-option]) - # - # We're assuming this is clang, where - # -Werror=unknown-warning-option is the appropriate - # option to force the compiler to fail. - # - ac_wireshark_unknown_warning_option_error="-Werror=unknown-warning-option" - ], - [ - AC_MSG_RESULT([yes]) - ]) - AC_WIRESHARK_POP_FLAGS - ]) - -dnl -dnl Check whether, if you pass a valid-for-C-but-not-C++ option to the -dnl compiler, it fails or just prints a warning message and succeeds. -dnl Set ac_wireshark_non_cxx_warning_option_error to the appropriate flag -dnl to force an error if it would otherwise just print a warning message -dnl and succeed. -dnl -AC_DEFUN([AC_WIRESHARK_CHECK_NON_CXX_WARNING_OPTION_ERROR], - [ - AC_MSG_CHECKING([whether the compiler fails when given an warning option not supported for C++]) - # - # Some C+ compilers warn about -Wmissing-prototypes, and some warn - # about -Wmissing-declarations. Check both. - # - AC_LANG_PUSH(C++) - AC_WIRESHARK_PUSH_FLAGS - save_CXXFLAGS="$CXXFLAGS" - for flag in -Wmissing-prototypes -Wmissing-declarations; do - CXXFLAGS="$save_CXXFLAGS $flag" - AC_TRY_COMPILE( - [], - [return 0], - [ - # - # We're assuming this is g++, where -Werror is the - # appropriate option to force the compiler to fail. - # Check whether it fails with -Werror. - # - # NOTE: it's important to put -Werror *before* - # the flag, otherwise, when it sees the flag, - # it doesn't yet know that warnings should be - # treated as errors, and doesn't treat the - # "that's C-only" warning as an error. - # - CXXFLAGS="$save_CXXFLAGS -Werror $flag" - AC_TRY_COMPILE( - [], - [return 0], - [ - # - # No, so this option is actually OK - # with our C++ compiler. - # - # (We need an empty command here to - # prevent some versions of autoconf - # from generating a script with an - # empty "then" clause for an if statement.) - # - : - ], - [ - # - # Yes, so we need -Werror for the tests. - # - ac_wireshark_non_cxx_warning_option_error="-Werror" - break - ]) - ]) - done - AC_WIRESHARK_POP_FLAGS - AC_LANG_POP - if test x$ac_wireshark_non_cxx_warning_option_error = x; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no, adding -Werror]) - fi - ]) - -# -# AC_WIRESHARK_COMPILER_FLAGS_CHECK -# -# $1 : flags to test -# $2 : if supplied, C for C-only flags, CXX for C++-only flags -# $3 : if supplied, a program to try to compile with the flag -# and, if the compile fails when -Werror is turned on, -# we don't add the flag - used for warning flags that -# issue incorrect or non-useful warnings with some -# compiler versions -# $4 : must be supplied if $3 is supplied - a message describing -# for what the test program is testing -# -# The macro first determines if the compiler supports GCC-style flags. -# Then it attempts to compile with the defined cflags. The defined -# flags are added to WS_CHECKED_CFLAGS only if the compilation succeeds. -# CFLAGS remains unchanged. can_add_to_cflags is set to "no" when the -# flag is checked but unavailable. (Like-wise for CXXFLAGS.) -# -# We do this because not all such options are necessarily supported by -# the version of the particular compiler we're using. -# -AC_DEFUN([AC_WIRESHARK_COMPILER_FLAGS_CHECK], -[GCC_OPTION="$1" -can_add_to_cflags="" -can_add_to_cxxflags="" -if test "x$ac_supports_gcc_flags" = "xyes" ; then - if test "$2" != CXX ; then - # - # Not C++-only; if this can be added to the C compiler flags, add them. - # - # If the option begins with "-W", add - # $ac_wireshark_unknown_warning_option_error to make sure that - # we'll get an error if it's an unknown warning option; not all - # compilers treat unknown warning options as errors (I'm looking at - # you, clang). - # - # If the option begins with "-f" or "-m", add -Werror to make sure - # that we'll get an error if we get "argument unused during compilation" - # warnings, as those will either cause a failure for files compiled - # with -Werror or annoying noise for files compiled without it. - # (Yeah, you, clang.) - # - AC_MSG_CHECKING(whether we can add $GCC_OPTION to CFLAGS) - AC_WIRESHARK_PUSH_FLAGS - if expr "x$GCC_OPTION" : "x-W.*" >/dev/null - then - CFLAGS="$CFLAGS $ac_wireshark_unknown_warning_option_error $GCC_OPTION" - elif expr "x$GCC_OPTION" : "x-f.*" >/dev/null - then - CFLAGS="$CFLAGS -Werror $GCC_OPTION" - elif expr "x$GCC_OPTION" : "x-m.*" >/dev/null - then - CFLAGS="$CFLAGS -Werror $GCC_OPTION" - else - CFLAGS="$CFLAGS $GCC_OPTION" - fi - AC_COMPILE_IFELSE( - [ - AC_LANG_SOURCE([[int foo;]]) - ], - [ - AC_MSG_RESULT(yes) - can_add_to_cflags=yes - # - # OK, do we have a test program? If so, check - # whether it fails with this option and -Werror, - # and, if so, don't include it. - # - # We test arg 4 here because arg 3 is a program which - # could contain quotes (breaking the comparison). - # - if test "x$4" != "x" ; then - CFLAGS="$CFLAGS -Werror" - AC_MSG_CHECKING(whether $GCC_OPTION $4) - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE($3)], - [ - AC_MSG_RESULT(no) - # - # Remove "force an error for a warning" options, if we - # added them, by setting CFLAGS to the saved value plus - # just the new option. - # - AX_APPEND_FLAG([$GCC_OPTION], [WS_CFLAGS]) - if test "$CC" = "$CC_FOR_BUILD"; then - # - # We're building the build tools with the same compiler - # with which we're building Wireshark, so add the flags - # to the flags for that compiler as well. - # - AX_APPEND_FLAG([$GCC_OPTION], [WS_CFLAGS_FOR_BUILD]) - fi - ], - [ - AC_MSG_RESULT(yes) - ]) - else - # - # Remove "force an error for a warning" options, if we - # added them, by setting CFLAGS to the saved value plus - # just the new option. - # - AX_APPEND_FLAG([$GCC_OPTION], [WS_CFLAGS]) - if test "$CC" = "$CC_FOR_BUILD"; then - # - # We're building the build tools with the same compiler - # with which we're building Wireshark, so add the flags - # to the flags for that compiler as well. - # - AX_APPEND_FLAG([$GCC_OPTION], [WS_CFLAGS_FOR_BUILD]) - fi - fi - ], - [ - AC_MSG_RESULT(no) - can_add_to_cflags=no - ]) - AC_WIRESHARK_POP_FLAGS - fi - # - # Did we find a C++ compiler? - # - if test "x$CXX" != "x" ; then - # - # Yes. Is this option only for the C compiler? - # - if test "$2" != C ; then - # - # Not C-only; if this option can be added to the C++ compiler - # options, add it. - # - # If the option begins with "-W", add - # $ac_wireshark_unknown_warning_option_error, as per the above, and - # also add $ac_wireshark_non_cxx_warning_option_error, because at - # lease some versions of g++ whine about -Wmissing-prototypes, the - # fact that at least one of those versions refuses to warn about - # function declarations without an earlier declaration nonwithstanding; - # perhaps there's a reason not to warn about that with C++ even though - # warning about it can be a Good Idea with C, but it's not obvious to - # me). - # - # If the option begins with "-f" or "-m", add -Werror to make sure - # that we'll get an error if we get "argument unused during compilation" - # warnings, as those will either cause a failure for files compiled - # with -Werror or annoying noise for files compiled without it. - # (Yeah, you, clang++.) - # - AC_MSG_CHECKING(whether we can add $GCC_OPTION to CXXFLAGS) - AC_WIRESHARK_PUSH_FLAGS - if expr "x$GCC_OPTION" : "x-W.*" >/dev/null - then - CXXFLAGS="$CXXFLAGS $ac_wireshark_unknown_warning_option_error $ac_wireshark_non_cxx_warning_option_error $GCC_OPTION" - elif expr "x$GCC_OPTION" : "x-f.*" >/dev/null - then - CXXFLAGS="$CXXFLAGS -Werror $GCC_OPTION" - elif expr "x$GCC_OPTION" : "x-m.*" >/dev/null - then - CXXFLAGS="$CXXFLAGS -Werror $GCC_OPTION" - else - CXXFLAGS="$CXXFLAGS $GCC_OPTION" - fi - AC_LANG_PUSH([C++]) - AC_COMPILE_IFELSE( - [ - AC_LANG_SOURCE([[int foo;]]) - ], - [ - AC_MSG_RESULT(yes) - can_add_to_cxxflags=yes - # - # OK, do we have a test program? If so, check - # whether it fails with this option and -Werror, - # and, if so, don't include it. - # - # We test arg 4 here because arg 3 is a program which - # could contain quotes (breaking the comparison). - # - if test "x$4" != "x" ; then - CXXFLAGS="$CXXFLAGS -Werror" - AC_MSG_CHECKING(whether $GCC_OPTION $4) - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE($3)], - [ - AC_MSG_RESULT(no) - # - # Remove "force an error for a warning" options, if we - # added them, by setting CXXFLAGS to the saved value plus - # just the new option. - # - AX_APPEND_FLAG([$GCC_OPTION], [WS_CXXFLAGS]) - ], - [ - AC_MSG_RESULT(yes) - ]) - else - # - # Remove "force an error for a warning" options, if we - # added them, by setting CXXFLAGS to the saved value plus - # just the new option. - # - AX_APPEND_FLAG([$GCC_OPTION], [WS_CXXFLAGS]) - fi - ], - [ - AC_MSG_RESULT(no) - can_add_to_cxxflags=no - ]) - AC_WIRESHARK_POP_FLAGS - AC_LANG_POP([C++]) - fi - if test "(" "$can_add_to_cflags" = "yes" -a "$can_add_to_cxxflags" = "no" ")" \ - -o "(" "$can_add_to_cflags" = "no" -a "$can_add_to_cxxflags" = "yes" ")" - then - # - # Confusingly, some C++ compilers like -Wmissing-prototypes but - # don't like -Wmissing-declarations and others like - # -Wmissing-declarations but don't like -Wmissing-prototypes, - # the fact that the corresponding C compiler likes both. Don't - # warn about them. - # - if test "(" x$GCC_OPTION != x-Wmissing-prototypes ")" \ - -a "(" x$GCC_OPTION != x-Wmissing-declarations ")" - then - AC_MSG_WARN([$CC and $CXX appear to be a mismatched pair]) - fi - fi - fi -fi -]) - -# AC_WIRESHARK_GCC_FORTIFY_SOURCE_CHECK -# -# Checks if '-D_FORTIFY_SOURCE=...' is OK to use in CPPFLAGS. -# Use '-D_FORTIFY_SOURCE=...' in CPPFLAGS only if the GCC 'optimization level' is > 0. -# The use of '-D_FORTIFY_SOURCE=...' will cause a warning with at least some versions -# of glibc if the GCC "optimization level" is 0 (default or -O or -O0) -# when using GCC to compile a source file which references the macro definition. -# -# See: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html -# See: http://sourceware.org/bugzilla/show_bug.cgi?id=13979 -# -# We'll use '-D_FORTIFY_SOURCE=2' only if there's no warning; Among other things this means -# that the use of '-D_FORTIFY_SOURCE=2' with '-Werror' and '-O0' won't cause -# the compiler to stop on error. -# Assumption: CFLAGS already contains whatever optimization option including none) is -# to be used. -# - -AC_DEFUN([AC_WIRESHARK_GCC_FORTIFY_SOURCE_CHECK], -[ -if test "x$GCC" = "xyes" -o "x$CC" = "xclang" ; then - AC_MSG_CHECKING([whether -D_FORTIFY_SOURCE=2 can be used (without generating a warning)]) - AC_WIRESHARK_PUSH_FLAGS - CFLAGS="$CFLAGS -Werror" - CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" - AC_COMPILE_IFELSE([ - AC_LANG_SOURCE([[ - #include - int foo; - ]])], - [ - AC_MSG_RESULT(yes) - AX_APPEND_FLAG([-D_FORTIFY_SOURCE=2], [WS_CPPFLAGS]) - ], - [ - AC_MSG_RESULT(no) - ]) - AC_WIRESHARK_POP_FLAGS -fi -]) - -# -# AC_WIRESHARK_GCC_SYSTEM_INCLUDE -# -# Replace -I include flag for -isystem in FLAGS argument -# -AC_DEFUN([AC_WIRESHARK_GCC_SYSTEM_INCLUDE], -[ - if test "x$GCC" = "xyes" -o "x$CC" = "xclang" ; then - $1=`echo " $$1" \ - | sed -e 's/ *-I *\// -isystem\//g' -e 's/^ *//'` - fi -]) - -# -# PKG_WIRESHARK_CHECK_SYSTEM_MODULES -# -AC_DEFUN([PKG_WIRESHARK_CHECK_SYSTEM_MODULES], -[ - PKG_CHECK_MODULES($@) - AC_WIRESHARK_GCC_SYSTEM_INCLUDE($1_CFLAGS) -]) - -# Based on AM_PATH_GTK in gtk-2.0.m4. - -dnl AC_WIRESHARK_QT_MODULE_CHECK_WITH_QT_VERSION([MODULE, MINIMUM-VERSION, -dnl REQUESTED-MAJOR_VERSION, [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]]) -dnl Test for a particular Qt module, for a particular Qt major version, -dnl and, if we find it add the flags and libraries for it to Qt_CFLAGS -dnl and Qt_LIBS. -dnl -AC_DEFUN([AC_WIRESHARK_QT_MODULE_CHECK_WITH_QT_VERSION], -[ - case "$3" in - - 5) - # - # Check for Qt 5. - # - modprefix="Qt5" - # - # Version of the module we're checking for. - # Default to 5.2.0. - # - min_qt_version=5.2.0 - ;; - - *) - AC_MSG_ERROR([Qt version $3 is not a known Qt version]) - ;; - esac - - pkg_config_module="${modprefix}$1" - AC_MSG_CHECKING(for $pkg_config_module - version >= $min_qt_version) - if $PKG_CONFIG --atleast-version $min_qt_version $pkg_config_module; then - mod_version=`$PKG_CONFIG --modversion $pkg_config_module` - AC_MSG_RESULT(yes (version $mod_version)) - mod_cflags=`$PKG_CONFIG --cflags $pkg_config_module` - AC_WIRESHARK_GCC_SYSTEM_INCLUDE(mod_cflags) - Qt_CFLAGS="$Qt_CFLAGS $mod_cflags" - Qt_LIBS="$Qt_LIBS `$PKG_CONFIG --libs $pkg_config_module`" - # Run Action-If-Found - ifelse([$4], , :, [$4]) - else - AC_MSG_RESULT(no) - # Run Action-If-Not-Found - ifelse([$5], , :, [$5]) - fi -]) - -dnl AC_WIRESHARK_QT_MODULE_CHECK([MODULE, MINIMUM-VERSION, -dnl REQUESTED-MAJOR_VERSION, [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]]) -dnl Test for a particular Qt module and add the flags and libraries -dnl for it to Qt_CFLAGS and Qt_LIBS. -dnl -AC_DEFUN([AC_WIRESHARK_QT_MODULE_CHECK], -[ - # - # Prior to Qt 5, modules were named QtXXX. - # In Qt 5, they're named Qt5XXX. - # This will need to change to handle future major Qt releases. - # - case "$3" in - - yes|5) - # - # Check for all versions of Qt we support. - # Try the Qt 5 version first. - # - versions="5" - ;; - - *) - AC_MSG_ERROR([$3 is not a known Qt option]) - ;; - esac - - for version in $versions - do - AC_WIRESHARK_QT_MODULE_CHECK_WITH_QT_VERSION($1, $2, - $version, [foundit=yes], [foundit=no]) - if test "x$foundit" = "xyes"; then - break - fi - done - - if test "x$foundit" = "xyes"; then - # Remember which version of Qt we found - qt_version=$version - # Run Action-If-Found - ifelse([$4], , :, [$4]) - else - # Run Action-If-Not-Found - ifelse([$5], , :, [$5]) - fi -]) - -AC_DEFUN([AC_WIRESHARK_QT_ADD_PIC_IF_NEEDED], -[ - AC_LANG_PUSH([C++]) - AC_WIRESHARK_PUSH_FLAGS - CPPFLAGS="$CPPFLAGS $Qt_CFLAGS" - AC_MSG_CHECKING([whether Qt works without -fPIC]) - AC_PREPROC_IFELSE( - [AC_LANG_SOURCE([[#include ]])], - [AC_MSG_RESULT(yes)], - [ - AC_MSG_RESULT(no) - AC_MSG_CHECKING([whether Qt works with -fPIC]) - CPPFLAGS="$CPPFLAGS -fPIC" - AC_PREPROC_IFELSE( - [AC_LANG_SOURCE([[#include ]])], - [ - AC_MSG_RESULT(yes) - Qt_CFLAGS="$Qt_CFLAGS -fPIC" - ], - [ - AC_MSG_RESULT(no) - AC_MSG_ERROR(Couldn't compile Qt without -fPIC nor with -fPIC) - ]) - ]) - AC_WIRESHARK_POP_FLAGS - AC_LANG_POP([C++]) -]) - -dnl AC_WIRESHARK_QT_CHECK([MINIMUM-VERSION, REQUESTED-MAJOR_VERSION, -dnl [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]]) -dnl Test for Qt and define Qt_CFLAGS and Qt_LIBS. -dnl -AC_DEFUN([AC_WIRESHARK_QT_CHECK], -[ - qt_version_to_check="$2" - - # - # Check for the Core module; if we don't have that, - # we don't have Qt. If we *do* have it, we know what - # version it is, so only check for that version of - # other modules. - # - AC_WIRESHARK_QT_MODULE_CHECK(Core, $1, $qt_version_to_check, - [ - qt_version_to_check=$qt_version - QT_VERSION=$mod_version - QT_VERSION_MAJOR=`echo "$QT_VERSION" | cut -f1 -d.` - QT_VERSION_MINOR=`echo "$QT_VERSION" | cut -f2 -d.` - QT_VERSION_MICRO=`echo "$QT_VERSION" | cut -f3 -d.` - - # Qt 5.7 and later requires C++11 - AS_IF([test $QT_VERSION_MAJOR -eq 5 -a $QT_VERSION_MINOR -ge 7], - [AS_IF([test "$HAVE_CXX11" -eq 0], [AC_MSG_ERROR([Qt 5.7 and later requires C++11])])]) - - ], - [no_qt=yes]) - - if test x"$no_qt" = x ; then - # - # We need the Gui module as well. - # - AC_WIRESHARK_QT_MODULE_CHECK(Gui, $1, $qt_version_to_check, , - [no_qt=yes]) - fi - - if test x"$no_qt" = x ; then - # - # Qt 5.0 appears to move the widgets out of Qt GUI - # to Qt Widgets; look for the Widgets module, but - # don't fail if we don't have it. - # - AC_WIRESHARK_QT_MODULE_CHECK(Widgets, $1, $qt_version_to_check) - - # - # Qt 5.0 also appears to move the printing support into - # the Qt PrintSupport module. - # - AC_WIRESHARK_QT_MODULE_CHECK(PrintSupport, $1, $qt_version_to_check) - - # - # Qt 5.0 added multimedia in the Qt - # Multimedia module. - # - have_qt_multimedia_lib=no - AC_WIRESHARK_QT_MODULE_CHECK(Multimedia, $1, $qt_version_to_check, - have_qt_multimedia_lib=yes - AC_DEFINE(QT_MULTIMEDIA_LIB, 1, [Define if we have QtMultimedia])) - - # - # While we're at it, look for QtMacExtras. (Presumably - # if we're not building for macOS, it won't be present.) - # - # XXX - is there anything in QtX11Extras or QtWinExtras - # that we should be using? - # - AC_WIRESHARK_QT_MODULE_CHECK(MacExtras, $1, $qt_version_to_check, - AC_DEFINE(QT_MACEXTRAS_LIB, 1, [Define if we have QtMacExtras])) - - AC_WIRESHARK_QT_ADD_PIC_IF_NEEDED - - # Run Action-If-Found - ifelse([$3], , :, [$3]) - else - # Run Action-If-Not-Found - ifelse([$4], , :, [$4]) - fi - -]) - -dnl AC_WIRESHARK_QT_TOOL_CHECK([TOOLPATHVAR, TOOL, REQUESTED-MAJOR_VERSION]) -dnl Test for a particular Qt tool for some specific version of Qt -dnl -AC_DEFUN([AC_WIRESHARK_QT_TOOL_CHECK], -[ - # - # At least in some versions of Debian/Ubuntu, and perhaps - # other OSes, the Qt build tools are just links to a - # program called "qtchooser", and even if you want to - # build with Qt 5, running the tool might give you the - # Qt 4 version of the tool unless you run the tool with - # a -qt=5 argument. - # - # So we look for qtchooser and, if we find it, use the - # -qt={version} argument, otherwise we look for particular - # tool versions using tool name suffixes. - # - AC_PATH_PROG(QTCHOOSER, qtchooser) - if test ! -z "$QTCHOOSER"; then - # - # We found qtchooser; we assume that means that - # the tool is linked to qtchooser, so that we - # can run it with the -qt={version} flag to get - # the appropriate version of the tool. - # - AC_PATH_PROG($1, $2) - if test "x$$1" = x; then - # - # We can't build Qt Wireshark without that - # tool.. - # - AC_MSG_ERROR(I couldn't find $2; make sure it's installed and in your path) - fi - - # - # Add the -qt={version} argument to it. - # - $1="$$1 -qt=$qt_version" - else - # - # Annoyingly, on some Linux distros (e.g. Debian) - # the Qt 5 tools have no suffix and the Qt 4 tools - # have suffix -qt4. On other distros (e.g. openSUSE) - # the Qt 5 tools have suffix -qt5 and the Qt 4 tools - # have no suffix. - # - # So we check for the tool first with the -qtN suffix - # and then with no suffix. - # - AC_PATH_PROGS($1, [$2-qt$qt_version $2]) - if test "x$$1" = x; then - # - # We can't build Qt Wireshark without that - # tool.. - # - AC_MSG_ERROR(I couldn't find $2-qt$qt_version or $2; make sure it's installed and in your path) - fi - fi -]) - -AC_DEFUN([AC_WIRESHARK_QT_TOOL_CHECK_LRELEASE], -[ - AC_WIRESHARK_QT_TOOL_CHECK(LRELEASE, lrelease, $2) - AC_MSG_CHECKING(whether lrelease -version works) - lrelease_version=`$LRELEASE -version 2>&AS_MESSAGE_LOG_FD` - AS_IF([test $? -ne 0], - [ - AC_MSG_RESULT(no) - AC_MSG_ERROR([$LRELEASE -version returned non-zero exit status]) - ]) - AC_MSG_RESULT([ok, $lrelease_version]) -]) - -# -# AC_WIRESHARK_LZ4_CHECK -# -AC_DEFUN([AC_WIRESHARK_LZ4_CHECK], -[ - AC_WIRESHARK_PUSH_FLAGS - - if test "x$lz4_dir" != "x" - then - # - # The user specified a directory in which lz4 resides, - # so add the "include" subdirectory of that directory to - # the include file search path and the "lib" subdirectory - # of that directory to the library search path. - # - # XXX - if there's also a lz4 in a directory that's - # already in CPPFLAGS or LDFLAGS, this won't make us find - # the version in the specified directory, as the compiler - # and/or linker will search that other directory before it - # searches the specified directory. - # - LZ4_CFLAGS="-I$lz4_dir/include" - fi - - # - # Make sure we have "lz4.h". If we don't, it means we probably - # don't have lz4, so don't use it. - # - AC_CHECK_HEADER(lz4.h,, - [ - if test "x$lz4_dir" != "x" - then - # - # The user used "--with-lz4=" to specify a directory - # containing lz4, but we didn't find the header file - # there; that either means they didn't specify the - # right directory or are confused about whether lz4 - # is, in fact, installed. Report the error and give up. - # - AC_MSG_ERROR([lz4 header not found in directory specified in --with-lz4]) - else - if test "x$want_lz4" = "xyes" - then - # - # The user tried to force us to use the library, but we - # couldn't find the header file; report an error. - # - AC_MSG_ERROR(Header file lz4.h not found.) - else - # - # We couldn't find the header file; don't use the - # library, as it's probably not present. - # - want_lz4=no - fi - fi - ]) - - if test "x$want_lz4" != "xno" - then - # - # Well, we at least have the lz4 header file. - # We link with lz4 to support uncompression of - # CQL traffic. - # - LZ4_LIBS="-llz4" - ac_save_LIBS="$LIBS" - LIBS="$LZ4_LIBS $LIBS" - AC_DEFINE(HAVE_LZ4, 1, [Define to use lz4 library]) - # - # Check for "LZ4_decompress_safe()" in lz4, which we need - # in order to read compressed capture files. - # - AC_CHECK_FUNCS(LZ4_decompress_safe) - # - # Check for (optional) lz4frame.h - # - AC_CHECK_HEADERS(lz4frame.h) - LIBS="$ac_save_LIBS" - fi - - AC_WIRESHARK_POP_FLAGS -]) - -# -# AC_WIRESHARK_SNAPPY_CHECK -# -AC_DEFUN([AC_WIRESHARK_SNAPPY_CHECK], -[ - AC_WIRESHARK_PUSH_FLAGS - - if test "x$snappy_dir" != "x" - then - # - # The user specified a directory in which snappy resides, - # so add the "include" subdirectory of that directory to - # the include file search path and the "lib" subdirectory - # of that directory to the library search path. - # - # XXX - if there's also a snappy in a directory that's - # already in CPPFLAGS or LDFLAGS, this won't make us find - # the version in the specified directory, as the compiler - # and/or linker will search that other directory before it - # searches the specified directory. - # - SNAPPY_CFLAGS="-I$snappy_dir/include" - fi - - # - # Make sure we have "snappy-c.h". If we don't, it means we probably - # don't have snappy, so don't use it. - # - AC_CHECK_HEADER(snappy-c.h,, - [ - if test "x$snappy_dir" != "x" - then - # - # The user used "--with-snappy=" to specify a directory - # containing snappy, but we didn't find the header file - # there; that either means they didn't specify the - # right directory or are confused about whether snappy - # is, in fact, installed. Report the error and give up. - # - AC_MSG_ERROR([snappy-c.header not found in directory specified in --with-snappy]) - else - if test "x$want_snappy" = "xyes" - then - # - # The user tried to force us to use the library, but we - # couldn't find the header file; report an error. - # - AC_MSG_ERROR(Header file snappy-c.h not found.) - else - # - # We couldn't find the header file; don't use the - # library, as it's probably not present. - # - want_snappy=no - fi - fi - ]) - - if test "x$want_snappy" != "xno" - then - # - # Well, we at least have the snappy-c.header file. - # We link with snappy to support uncompression of - # compressed CQL traffic. - # - SNAPPY_LIBS=-lsnappy - ac_save_LIBS="$LIBS" - LIBS="$SNAPPY_LIBS $LIBS" - AC_DEFINE(HAVE_SNAPPY, 1, [Define to use snappy library]) - # - # Check for "snappy_uncompress()" in snappy, which we need - # in order to read compressed capture files. - # - AC_CHECK_FUNCS(snappy_uncompress) - LIBS="$ac_save_LIBS" - fi - - AC_WIRESHARK_POP_FLAGS -]) - -# -# AC_WIRESHARK_BCG729_CHECK -# -AC_DEFUN([AC_WIRESHARK_BCG729_CHECK], -[ - want_bcg729=defaultyes - - if test "x$want_bcg729" = "xdefaultyes"; then - want_bcg729=yes - fi - - if test "x$want_bcg729" = "xyes"; then - AC_CHECK_LIB(bcg729, bcg729Decoder, - [ - AC_CHECK_HEADERS(bcg729/decoder.h, - [ - BCG729_LIBS=-lbcg729 - AC_DEFINE(HAVE_BCG729, 1, [Define to use bcg729 library]) - have_good_bcg729=yes - ],, - ) - ],, - ) - else - AC_MSG_RESULT(not required) - fi -]) diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 2923cb9caa..0000000000 --- a/autogen.sh +++ /dev/null @@ -1,140 +0,0 @@ -#!/bin/sh -# -# Run this to generate all the initial makefiles. -# -# Copyright 2014 The Wireshark Authors -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -DIE=true -PROJECT="Wireshark" - -# If you are going to use the non-default name for automake becase your OS -# installation has multiple versions, you need to call both aclocal and automake -# with that version number, as they come from the same package. -#AM_VERSION='-1.8' - -ACLOCAL=aclocal$AM_VERSION -AUTOHEADER=autoheader -AUTOMAKE=automake$AM_VERSION -AUTOCONF=autoconf -PKG_CONFIG=pkg-config - -# Check for python. Python did not support --version before version 2.5. -# Until we require a version > 2.5, we should use -V. -PYVER=`exec python -V 2>&1 | sed 's/Python *//'` -# If "python" isn't found, try "python3" -if test "$PYVER" = "exec: python: not found" -then - PYVER=`exec python3 -V 2>&1 | sed 's/Python *//'` -fi -case "$PYVER" in -2*|3*) - ;; -*) - cat >&2 <<_EOF_ - - You must have Python in order to compile $PROJECT. - Download the appropriate package for your distribution/OS, - or get the source tarball at http://www.python.org/ -_EOF_ - DIE="exit 1" -esac - -ACVER=`$AUTOCONF --version | grep '^autoconf' | sed 's/.*) *//'` -case "$ACVER" in -'' | 0.* | 1.* | 2.[0-5]* | 2.6[0123]* ) - cat >&2 <<_EOF_ - - You must have autoconf 2.64 or later installed to compile $PROJECT. - Download the appropriate package for your distribution/OS, - or get the source tarball at ftp://ftp.gnu.org/pub/gnu/autoconf/ -_EOF_ - DIE="exit 1" - ;; -esac - - -AMVER=`$AUTOMAKE --version | grep '^automake' | sed 's/.*) *//'` -case "$AMVER" in -1.11* | 1.1[2-9]*) - ;; - -*) - - cat >&2 <<_EOF_ - - You must have automake 1.11 or later installed to compile $PROJECT. - Download the appropriate package for your distribution/OS, - or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/ -_EOF_ - DIE="exit 1" - ;; -esac - - -# -# Apple's Developer Tools have a "libtool" that has nothing to do with -# the GNU libtool; they call the latter "glibtool". They also call -# libtoolize "glibtoolize". -# -# Check for "glibtool" first. -# -LTVER=`glibtool --version 2>/dev/null | grep ' libtool)' | \ - sed 's/.*libtool) \([0-9][0-9.]*\)[^ ]* .*/\1/'` -if test -z "$LTVER" -then - LTVER=`libtool --version | grep ' libtool)' | \ - sed 's/.*) \([0-9][0-9.]*\)[^ ]* .*/\1/' ` - LIBTOOLIZE=libtoolize -else - LIBTOOLIZE=glibtoolize -fi -case "$LTVER" in -'' | 0.* | 1.* | 2.2 ) - - cat >&2 <<_EOF_ - - You must have libtool 2.2.2 or later installed to compile $PROJECT. - Download the appropriate package for your distribution/OS, - or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/ -_EOF_ - DIE="exit 1" - ;; -esac - -# -# XXX - is there some minimum version for which we should be checking? -# -PCVER=`pkg-config --version` -if test -z "$PCVER"; then - cat >&2 <<_EOF_ - - You must have pkg-config installed to compile $PROJECT. - Download the appropriate package for your distribution/OS, - or get the source tarball at http://pkgconfig.freedesktop.org/releases/ -_EOF_ - DIE="exit 1" -fi - -$DIE - -LTARGS=" --copy --force" -echo $LIBTOOLIZE $LTARGS -$LIBTOOLIZE $LTARGS || exit 1 -aclocal_flags="-I m4" -aclocalinclude="$ACLOCAL_FLAGS $aclocal_flags"; -echo $ACLOCAL $aclocalinclude -$ACLOCAL $aclocalinclude || exit 1 -echo $AUTOHEADER -$AUTOHEADER || exit 1 -echo $AUTOMAKE --add-missing --gnu $am_opt -$AUTOMAKE --add-missing --gnu $am_opt || exit 1 -echo $AUTOCONF -$AUTOCONF || exit 1 - -echo "Now type \"./configure [options]\" and \"make\" to compile $PROJECT." diff --git a/capchild/Makefile.am b/capchild/Makefile.am deleted file mode 100644 index 981c797e05..0000000000 --- a/capchild/Makefile.am +++ /dev/null @@ -1,64 +0,0 @@ -# Makefile.am -# Automake file for the "talking to dumpcap" routines for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(PCAP_CFLAGS) - -noinst_LIBRARIES = libcapchild.a - -# All sources that should be put in the source distribution tarball -libcapchild_a_SOURCES = \ - capture_ifinfo.c \ - capture_sync.c \ - capture_session.h \ - capture_sync.h - -libcapchild_a_DEPENDENCIES = - -EXTRA_DIST = \ - CMakeLists.txt \ - doxygen.cfg.in - -CLEANFILES = \ - doxygen-capchild.tag - -doxygen: -if HAVE_DOXYGEN - $(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -wsar_html: doxygen.cfg ../doxygen_global.cfg -if HAVE_DOXYGEN - (umask 022 ; $(DOXYGEN) doxygen.cfg) -endif - -checkapi: checkapi-base checkapi-todo - -checkapi-base: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \ - -sourcedir=$(srcdir) \ - $(libcapchild_a_SOURCES) - -checkapi-todo: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ - -sourcedir=$(srcdir) \ - $(libcapchild_a_SOURCES) diff --git a/caputils/Makefile.am b/caputils/Makefile.am deleted file mode 100644 index c1ab82f1ce..0000000000 --- a/caputils/Makefile.am +++ /dev/null @@ -1,90 +0,0 @@ -# Makefile.am -# Automake file for the "capture utilities" routines for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(PCAP_CFLAGS) \ - $(LIBNL_CFLAGS) - -noinst_LIBRARIES = libcaputils.a - -# All sources that should be put in the source distribution tarball -libcaputils_a_SOURCES = \ - capture_ifinfo.h \ - capture-pcap-util.h \ - capture-pcap-util.c \ - capture-pcap-util-unix.c \ - capture-pcap-util-int.h \ - capture-wpcap.h \ - capture_wpcap_packet.h \ - iface_monitor.c \ - iface_monitor.h \ - ws80211_utils.c \ - ws80211_utils.h - -# -# This is used to build dumpcap, and dumpcap is, if possible, built as -# a position-independent executable (for address space layout randomization, -# as it might be running with extra privileges), so this library needs -# to be built that way as well. -# -libcaputils_a_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS) - -libcaputils_a_DEPENDENCIES = - -CLEANFILES = \ - doxygen-caputils.tag - -EXTRA_DIST = \ - .editorconfig \ - airpcap.h \ - airpcap_loader.c \ - airpcap_loader.h \ - capture_win_ifnames.c \ - capture_win_ifnames.h \ - capture-wpcap.c \ - capture-wpcap.h \ - capture_wpcap_packet.c \ - capture_wpcap_packet.h \ - CMakeLists.txt \ - doxygen.cfg.in - -doxygen: -if HAVE_DOXYGEN - $(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -wsar_html: doxygen.cfg ../doxygen_global.cfg -if HAVE_DOXYGEN - (umask 022 ; $(DOXYGEN) doxygen.cfg) -endif - -checkapi: checkapi-base checkapi-todo - -checkapi-base: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \ - -sourcedir=$(srcdir) \ - $(libcaputils_a_SOURCES) - -checkapi-todo: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ - -sourcedir=$(srcdir) \ - $(libcaputils_a_SOURCES) diff --git a/codecs/Makefile.am b/codecs/Makefile.am deleted file mode 100644 index afb6e53d02..0000000000 --- a/codecs/Makefile.am +++ /dev/null @@ -1,84 +0,0 @@ -# Makefile.am -# Automake file for the libwscodec library for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = -DWS_BUILD_DLL $(INCLUDEDIRS) $(WS_CPPFLAGS) \ - $(GLIB_CFLAGS) $(SBC_CFLAGS) - -lib_LTLIBRARIES = libwscodecs.la - -# All sources that should be put in the source distribution tarball -libwscodecs_la_SOURCES = \ - codecs.c \ - G711a/G711adecode.c \ - G711u/G711udecode.c - -if HAVE_SBC -libwscodecs_la_SOURCES += sbc/sbc.c -endif - -if HAVE_SPANDSP -libwscodecs_la_SOURCES += G722/G722decode.c G726/G726decode.c -endif - -if HAVE_BCG729 -libwscodecs_la_SOURCES += G729/G729decode.c -endif - -if !HAVE_SPEEXDSP -libwscodecs_la_SOURCES += speex/resample.c -endif - -# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html -libwscodecs_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@ - -libwscodecs_la_LIBADD = $(top_builddir)/wsutil/libwsutil.la $(GLIB_LIBS) \ - $(SBC_LIBS) $(SPANDSP_LIBS) $(BCG729_LIBS) - -libwscodecs_la_DEPENDENCIES = $(top_builddir)/wsutil/libwsutil.la - -subpkgincludedir = $(pkgincludedir)/codecs - -subpkginclude_HEADERS = \ - codecs.h - -noinst_HEADERS = \ - G711a/G711adecode.h \ - G711a/G711atable.h \ - G711u/G711udecode.h \ - G711u/G711utable.h \ - G722/G722decode.h \ - G726/G726decode.h \ - G729/G729decode.h \ - sbc/sbc_private.h \ - speex/arch.h \ - speex/speex_resampler.h \ - speex/stack_alloc.h - -EXTRA_DIST = \ - CMakeLists.txt \ - speex/README.txt - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(libwscodecs_la_SOURCES) diff --git a/configure.ac b/configure.ac deleted file mode 100644 index da473be083..0000000000 --- a/configure.ac +++ /dev/null @@ -1,2832 +0,0 @@ -# -# Autoconf script for Wireshark -# - -# -# Define variables for the components of the Wireshark version number. -# -m4_define([version_major], [2]) -m4_define([version_minor], [9]) -m4_define([version_micro], [0]) -dnl Updated by make-version.pl -m4_define([version_extra], []) -m4_define([version_micro_extra], m4_join([], version_micro, version_extra)) - -AC_INIT(Wireshark, [version_major.version_minor.version_micro_extra], http://bugs.wireshark.org/, , http://www.wireshark.org/) -CONFIG_ARGS="$*" -AC_SUBST(CONFIG_ARGS) - -VERSION_RELEASE="version_major.version_minor" -AC_SUBST(VERSION_RELEASE) -AC_DEFINE_UNQUOTED([VERSION_RELEASE], ["$VERSION_RELEASE"], [Wireshark feature release version (X.Y)]) - -# Minimum autoconf version we require. -AC_PREREQ(2.64) -# Variable expansion doesn't work in AC_PREREQ() -AC_MIN_VERSION=2.64 -AC_SUBST(AC_MIN_VERSION) - -dnl Make sure to keep ACLOCAL_AMFLAGS in Makefile.am and AC_CONFIG_MACRO_DIRS -dnl in configure.ac in sync, otherwise there will be an error running autogen.sh. -m4_ifdef([AC_CONFIG_MACRO_DIRS],[AC_CONFIG_MACRO_DIRS([m4])]) - -dnl Check for CPU / vendor / OS -dnl The user is encouraged to use either `AC_CANONICAL_BUILD', or -dnl `AC_CANONICAL_HOST', or `AC_CANONICAL_TARGET', depending on the -dnl needs. Using `AC_CANONICAL_TARGET' is enough to run the two other -dnl macros. -dnl -dnl As nothing in the Wireshark is itself a build tool (we are not, -dnl for example, a compiler that generates machine code), we probably -dnl don't need AC_CANONICAL_TARGET, so, in theory, we should be able -dnl to use AC_CANONICAL_BUILD and AC_CANONICAL_HOST - or perhaps just -dnl AC_CANONICAL_HOST - instead. Note that we do have tools, such as -dnl lemon, that need to be built for the build machine, not for the -dnl host machine, so we might need both. -dnl -dnl This has to be done *after* AC_INIT, otherwise autogen.sh fails. - -dnl AC_CANONICAL_BUILD -dnl AC_CANONICAL_HOST -AC_CANONICAL_TARGET - -AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip subdir-objects foreign]) - -# Enable silent builds by default. Verbose builds can be enabled with "./configure -# --enable-silent-rules ..." or "make V=1 ..." -AM_SILENT_RULES([yes]) - -# Make Wireshark's version available in config.h -AC_DEFINE(VERSION_MAJOR, version_major, [Wireshark's major version]) -AC_DEFINE(VERSION_MINOR, version_minor, [Wireshark's minor version]) -AC_DEFINE(VERSION_MICRO, version_micro, [Wireshark's micro version]) - -AC_DEFINE_UNQUOTED(VERSION_FLAVOR, - ["${WIRESHARK_VERSION_FLAVOR:-"Development Build"}"], [Wireshark's package flavor]) - -LT_PREREQ([2.2.2]) -LT_INIT([disable-static]) -AC_SUBST([LIBTOOL_DEPS]) - -AC_CONFIG_LIBOBJ_DIR([wsutil]) - -# -# Checks for programs used in the main build process. -# -# See doc/README.developer for allowed C99 features -# -AC_PROG_CC_C99 -if test "$ac_cv_prog_cc_c99" = "no" -then - AC_MSG_ERROR([The C compiler does not support C99]) -fi -AC_PROG_CPP - -AC_PROG_CXX -if test ! -z "$CXX"; then - # - # OK, we found something AC_LANG_CXX thinks is a C++ compiler, - # but is it one? - # - # Some UN*Xes have, by default, a case-insensitive file - # system, and AC_PROG_CXX looks for, among other things, - # "CC" as a C++ compiler, and, if you have a case-insensitive - # file system and a C compiler named "cc" (both true, by - # default, on macOS), AC_PROG_CXX may end up thinking it's - # the C++ compiler. - # - # So we check by feeding the purported C++ compiler a - # program using C++ features (iostream). - # - AC_MSG_CHECKING(whether $CXX is a C++ compiler) - AC_LANG_PUSH([C++]) - AC_LINK_IFELSE([AC_LANG_PROGRAM( - [ -#include - ], - [ - std::cout << "Hello World! "; - return 0; - ])], - [AC_MSG_RESULT(yes)], - [ - AC_MSG_RESULT(no) - CXX="" - ]) - AC_LANG_POP([C++]) -fi - -# Qt 5.7 or later requires C++11 -AS_IF([test -n "$CXX"], - [AX_CXX_COMPILE_STDCXX([11], [noext], [optional])]) - -# Set CC_FOR_BUILD (the *local* gcc to use for building e.g. lemon) -if test "x$cross_compiling" = xno -a -z "$CC_FOR_BUILD"; then - CC_FOR_BUILD="$CC" -fi -AX_PROG_CC_FOR_BUILD - -# -# Check for versions of "sed" inadequate to handle, in libtool, a list -# of object files as large as the list in Wireshark. -# -AC_PROG_SED - -AC_PROG_LN_S -AC_PROG_MKDIR_P - -AC_PATH_PROG(PERL, perl) - -# Check for Python. -AC_PATH_PROGS(PYTHON, python python3) -if test ! -z "$PYTHON"; then - # - # OK, we found Python; is it Python 2.5 or later? - # Note: we don't use named components for sys.version_info to get - # the major version number, as named components for version_info - # were apparently introduced in Python 2.7. - # - AC_MSG_CHECKING([whether $PYTHON is Python 2.5 or later]) - python_major_version=`$PYTHON -c 'import sys; print (sys.version_info[[0]])'` - python_minor_version=`$PYTHON -c 'import sys; print (sys.version_info[[1]])'` - if test "$python_major_version" -eq 2 -a "$python_minor_version" -lt 5 ; then - AC_MSG_RESULT(no) - AC_MSG_WARN([Building with Python $python_major_version.$python_minor_version may not work]) - else - AC_MSG_RESULT(yes) - fi -else - AC_MSG_ERROR(I couldn't find python; make sure it's installed and in your path) -fi - -dnl -dnl Check for yacc/lex. Distribution tarballs include generated source, -dnl in which case these tools are not a mandatory requirement to build. -dnl -AC_PROG_YACC -AS_IF([test "x$YACC" = xyacc], [AS_UNSET(YACC)]) -AS_IF([test -z "$YACC" -a ! -f $srcdir/wiretap/ascend.c], - [AC_MSG_ERROR([I couldn't find bison or byacc; make sure it's installed and in your path])]) -AM_MISSING_PROG(YACC, bison) -AC_PROG_LEX -AS_IF([test "x$LEX" != xflex], [AS_UNSET(LEX)]) -AS_IF([test -z "$LEX" -a ! -f $srcdir/wiretap/ascend_scanner.c], - [AC_MSG_ERROR([I couldn't find flex; make sure it's installed and in your path])]) -AM_MISSING_PROG(LEX, flex) - -AC_PATH_PROG(POD2MAN, pod2man) -if test "x$POD2MAN" = x -then - # - # The alternative is not to build the man pages.... - # - AC_MSG_ERROR(I couldn't find pod2man; make sure it's installed and in your path) -fi -AC_PATH_PROG(POD2HTML, pod2html) -if test "x$POD2HTML" = x -then - # - # The alternative is not to build the HTML man pages.... - # - AC_MSG_ERROR(I couldn't find pod2html; make sure it's installed and in your path) -fi - -# -# Set "ac_supports_gcc_flags" if the compiler is known to support GCC-style -# flags such as -pedantic, -W warning flags and -f feature flags. Currently, -# we assume GCC and clang do; other compilers should be added here. -# -# This is done to avoid getting tripped up by compilers that support -# those flags but give them a different meaning. -# -if test "x$GCC" = "xyes" -o "x$CC" = "xclang" ; then - ac_supports_gcc_flags=yes -fi - -# Check for doxygen -AC_PATH_PROG(DOXYGEN, doxygen) -AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, "yes", "no") -AM_CONDITIONAL(HAVE_DOXYGEN, test x$HAVE_DOXYGEN = xyes) - -# -# Check for pkg-config and set PKG_CONFIG accordingly. -# -# This is referenced via AC_REQUIRE([PKG_PROG_PKG_CONFIG] in some macros -# like PKG_CHECK_MODULES. If the first call to such a macro is under an -# "if" statement, it's safer to call PKG_PROG_PKG_CONFIG directly, see -# the comments in acolocal.m4 -# -# We want version 0.7 or better. (XXX - explain why. Is that just -# because our Qt tests were originally based on AM_PATH_GTK, and *it* -# requires 0.7 or better?) -# -PKG_PROG_PKG_CONFIG(0.7) -if test -z "$PKG_CONFIG"; then - AC_MSG_ERROR(I couldn't find pkg-config; make sure it's installed and in your path) -fi - -# -# Try to arrange for large file support. -# -AC_SYS_LARGEFILE - -# -# Check if we need to link with libm -# -AC_SEARCH_LIBS([cos], [m]) - -# -# Check for C99 math functions. -# -AC_CHECK_FUNCS([floorl lrint]) - -# -# Check if we need to link with -lnsl and -lsocket -# -AX_LIB_SOCKET_NSL - -# -# GUI toolkit options -# -AC_ARG_WITH([qt], - AC_HELP_STRING( [--with-qt=@<:@yes/no@:>@], - [use Qt @<:@default=yes, if available@:>@]), - with_qt="$withval", with_qt="yes") - -# GnuTLS -# Version 3.0 switched from LGPLv2.1+ to LGPLv3+, then switched back to -# LGPLv2.1+ in version 3.1.10. -# GnuTLS depends on GMP which switched from LGPLv2.1+ to LGPLv3+ in -# version 4.2.2, the switched to LGPLv3+ / GPLv2+ in version 6.0.0. - -tls_message="no" -want_gnutls="if_available" -AC_ARG_WITH([gnutls], - AC_HELP_STRING( [--with-gnutls=@<:@yes/no@:>@], - [use GnuTLS library @<:@default=yes, if available@:>@]), - [ with_gnutls="$withval"; want_gnutls="yes" ], with_gnutls="yes") - -if test "x$with_gnutls" = "xyes"; then - have_license_compatible_gnutls="no" - PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 3.1.10 ], - [ have_license_compatible_gnutls="yes" ], [ echo "GnuTLS >= 3.1.10 not found " ] - ) - - if test "x$have_license_compatible_gnutls" != "xyes"; then - PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.12.0 gnutls < 3], - [ have_license_compatible_gnutls="yes" ] , [ echo "GnuTLS >= 2.12.0, < 3.0 not found " ] - ) - fi - - if test "x$have_license_compatible_gnutls" != "xyes"; then - if test "x$want_gnutls" = "xyes"; then - AC_MSG_ERROR([GnuTLS crypto library was requested, but is not installed for development]) - else - AS_ECHO(["GnuTLS with compatible license not found, disabling SSL decryption"]) - fi - else - AC_DEFINE(HAVE_LIBGNUTLS, 1, [Define to use GnuTLS library]) - tls_message="yes" - fi -fi - -# libgrypt (for decryption, MAC, etc. functionality). -AM_PATH_LIBGCRYPT(1.4.2, [ ] , [ - AC_MSG_ERROR([[libgcrypt not installed for development; install libgcrypt, including any development package, for your system]]) -]) - -AC_ARG_WITH(libnl, - AC_HELP_STRING([--with-libnl@<:@=VERSION@:>@], - [use libnl (force version VERSION, if supplied) @<:@default: yes, if available@:>@]), -[ - if test "x$withval" = "xno" - then - want_libnl=no - elif test "x$withval" = "xyes" - then - want_libnl=yes - libnl_version=any - elif test "x$withval" = "x1" - then - want_libnl=yes - libnl_version=1 - elif test "x$withval" = "x2" - then - want_libnl=yes - libnl_version=2 - elif test "x$withval" = "x3" - then - want_libnl=yes - libnl_version=3 - else - AC_MSG_ERROR(["$withval" is not a valid argument to --with-libnl]) - fi -],[ - # - # Use libnl if it's present, otherwise don't. - # - want_libnl=ifavailable - libnl_version=any -]) -# -# Libnl is Linux-specific. -# -libnl_message="no" -case "$host_os" in -linux*) - AC_MSG_CHECKING(whether to use libnl for various network interface purposes) - - if test x$want_libnl = "xno"; then - AC_MSG_RESULT(no) - else - AC_MSG_RESULT(yes) - # - # Test for specific libnl versions only if no version - # was specified by the user or if the version in question - # was requested by the user. - # - if test x$libnl_version = "xany" -o x$libnl_version = "x3"; then - PKG_CHECK_EXISTS([libnl-3.0 libnl-route-3.0 libnl-genl-3.0], [have_libnl3=yes], [have_libnl3=no]) - fi - if test x$libnl_version = "xany" -o x$libnl_version = "x2"; then - PKG_CHECK_EXISTS([libnl-2.0], [have_libnl2=yes], [have_libnl2=no]) - fi - if test x$libnl_version = "xany" -o x$libnl_version = "x1"; then - PKG_CHECK_EXISTS([libnl-1], [have_libnl1=yes], [have_libnl1=no]) - fi - if (test "${have_libnl3}" = "yes"); then - PKG_WIRESHARK_CHECK_SYSTEM_MODULES([LIBNL], [libnl-3.0 libnl-route-3.0 libnl-genl-3.0]) - AC_DEFINE(HAVE_LIBNL, 1, [Enable libnl support]) - AC_DEFINE(HAVE_LIBNL3, 1, [libnl version 3]) - libnl_message="yes (v3)" - elif (test "${have_libnl2}" = "yes"); then - PKG_WIRESHARK_CHECK_SYSTEM_MODULES([LIBNL], [libnl-2.0]) - AC_DEFINE(HAVE_LIBNL, 1, [Enable libnl support]) - AC_DEFINE(HAVE_LIBNL2, 1, [libnl version 2]) - libnl_message="yes (v2)" - elif (test "${have_libnl1}" = "yes"); then - PKG_WIRESHARK_CHECK_SYSTEM_MODULES([LIBNL], [libnl-1]) - AC_DEFINE(HAVE_LIBNL, 1, [Enable libnl support]) - AC_DEFINE(HAVE_LIBNL1, 1, [libnl version 1]) - libnl_message="yes (v1)" - else - if test x$want_libnl = "xyes"; then - case "$libnl_version" in - - any) - AC_MSG_ERROR("I couldn't find libnl even though you manually enabled it.") - ;; - - *) - AC_MSG_ERROR("I couldn't find libnl version $libnl_version even though you manually enabled it.") - ;; - esac - fi - fi - fi - - AC_MSG_CHECKING([if nl80211.h is new enough]) - AC_TRY_COMPILE([#include ], - [int x = NL80211_FREQUENCY_ATTR_MAX_TX_POWER; - x |= NL80211_ATTR_SUPPORTED_IFTYPES; - x |= NL80211_ATTR_SUPPORTED_COMMANDS; - x |= NL80211_ATTR_WIPHY_FREQ; - x |= NL80211_CHAN_NO_HT; - (void)x;], - [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_NL80211, 1, [nl80211.h is new enough])], - [AC_MSG_RESULT(no)]) - - AC_MSG_CHECKING([for NL80211_SET_CHANNEL]) - AC_TRY_COMPILE([#include ], - [enum nl80211_commands x = NL80211_CMD_SET_CHANNEL;], - [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_NL80211_CMD_SET_CHANNEL, 1, [SET_CHANNEL is supported])], - [AC_MSG_RESULT(no)]) - - AC_MSG_CHECKING([for NL80211_SPLIT_WIPHY_DUMP]) - AC_TRY_COMPILE([#include ], - [enum nl80211_protocol_features x = NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP;], - [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_NL80211_SPLIT_WIPHY_DUMP, 1, [SPLIT_WIPHY_DUMP is supported])], - [AC_MSG_RESULT(no)]) - - AC_MSG_CHECKING([for NL80211_VHT_CAPABILITY]) - AC_TRY_COMPILE([#include ], - [enum nl80211_attrs x = NL80211_ATTR_VHT_CAPABILITY;], - [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_NL80211_VHT_CAPABILITY, 1, [VHT_CAPABILITY is supported])], - [AC_MSG_RESULT(no)]) - ;; - -*) - if test x$want_libnl != "xno" -a x$want_libnl != "xifavailable"; then - AC_MSG_WARN([libnl is Linux-specific, ignoring --with-libnl]) - fi -esac - -# -# Check if we should build the Wireshark User's Guide -# -AC_ARG_ENABLE(guides, - AC_HELP_STRING( [--disable-guides], - [Don't build the Wireshark User's Guide]), - [want_wsug=$enableval], [want_wsug=if_available]) - -# -# Check for programs used when building DocBook documentation. -# -have_wsug=yes -AC_PATH_PROGS(ASCIIDOCTOR, [asciidoctorj asciidoctor]) -AC_CHECK_PROGS(HAVE_ASCIIDOCTOR, [asciidoctorj asciidoctor], "yes", "no") -AM_CONDITIONAL(HAVE_ASCIIDOCTOR, test x$HAVE_ASCIIDOCTOR = xyes) -AS_IF([test ! -x "$ASCIIDOCTOR"], - [ - AS_IF([test "x$want_wsug" = xyes], - [AC_MSG_ERROR([Asciidoctor not found. This is required to build the release notes and guides])]) - have_wsug=no - ]) -AC_PATH_PROG(XSLTPROC, xsltproc, xsltproc) -AS_IF([test ! -x "$XSLTPROC"], - [ - AS_IF([test "x$want_wsug" = xyes], - [AC_MSG_ERROR([xlstproc not found but required to build the Wireshark User's Guide])]) - have_wsug=no - ]) - -AM_CONDITIONAL(BUILD_USER_GUIDE, [test "x$have_wsug" = xyes -a "x$want_wsug" != xno]) - -# RPM -AC_CHECK_PROGS(RPMBUILD, [rpmbuild], [rpmbuild]) - -# Shellcheck -AC_CHECK_PROG(SHELLCHECK, shellcheck) - -# -# Check compiler vendor. For GCC this will be 'gnu' and for Clang 'clang'. -# -AX_COMPILER_VENDOR -if test "x$CXX" != "x" ; then - AC_LANG_PUSH(C++) - AX_COMPILER_VENDOR - AC_LANG_POP -fi - -# -# Some compilers have to be told to fail when passed an unknown -W flag; -# make sure we do that. -# -AC_WIRESHARK_CHECK_UNKNOWN_WARNING_OPTION_ERROR - -# -# Some C++ compilers have to be told to fail when passed a -W flag that -# they don't think should apply to C++; make sure we do that. -# -AC_WIRESHARK_CHECK_NON_CXX_WARNING_OPTION_ERROR - -# -# The following are for C and C++ -# -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wall) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wextra) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wendif-labels) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wpointer-arith) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wformat-security) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fwrapv) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fno-strict-overflow) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fno-delete-null-pointer-checks) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wvla) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Waddress) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wattributes) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wdiv-by-zero) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wignored-qualifiers) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wpragmas) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wno-overlength-strings) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wno-long-long) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wheader-guard) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wcomma) - -# -# The following are C only, not C++ -# -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wc++-compat, C) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wunused-const-variable, C) - -# -# XXX - OK for C++? -# -# Make sure -Wshadow doesn't complain about variables in function and -# function pointer declarations shadowing other variables; if not, don't -# turn it on, as some versions of GCC (including the one in at least -# some Xcode versions that came with Mac OS X 10.5) complain about -# that. -# -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wshadow, C, - [ -extern int bar(int a); -extern int foo(int); - -int -foo(int a) -{ - int (*fptr)(int a) = bar; - - return fptr(a) * 2; -} - ], - [warns about variables in function declarations shadowing other variables]) - -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wno-pointer-sign, C) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wold-style-definition, C) -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wstrict-prototypes, C) - -# Unfortunately some versions of gcc generate logical-op warnings when strchr() -# is given a constant string. -# gcc versions 4.3.2 and 4.4.5 are known to have the problem. -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wlogical-op, C, - [ -#include - -int foo(const char *, int); -int bar(void); - -int -foo(const char *sep, int c) -{ - if (strchr (sep, c) != NULL) - return 1; - else - return 0; -} - -int -bar(void) -{ - return foo("<", 'a'); -} - ], - [generates warnings from strchr()]) - -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wjump-misses-init, C) -# The Qt headers generate a ton of shortening errors on 64-bit systems -# so only enable this for C for now. -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wshorten-64-to-32, C) - -# -# Implicit function declarations are an error in C++ and most -# likely a programming error in C. Turn -Wimplicit-int and -# -Wimplicit-function-declaration into an error by default. -# -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Werror=implicit, C) - -# Clang only. Avoid "argument unused during compilation" warnings -# (for example, when getting the -gsplit-dwarf option or -# when combining -fwrapv with -fno-strict-overflow) -if test x"$ax_cv_c_compiler_vendor" = xclang; then - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Qunused-arguments, C) -fi -if test x"$ax_cv_cxx_compiler_vendor" = xclang; then - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Qunused-arguments, CXX) -fi - -# -# Use the faster pre gcc 4.5 floating point precision if available. -# -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fexcess-precision=fast) - -# -# Try to have the compiler default to hiding symbols, so that only -# symbols explicitly exported with WS_DLL_PUBLIC will be visible -# outside (shared) libraries; that way, more UN*X builds will catch -# failures to export symbols, rather than having that fail only on -# Windows. -# -# GCC and GCC-compatible compilers -# -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fvisibility=hidden) -if test "x$can_add_to_cflags" = "xno" -then - # - # Sun^WOracle C. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-xldscope=hidden) - if test "x$can_add_to_cflags" = "xno" - then - # TODO add other ways of hiding symbols - AC_MSG_WARN(Compiler will export all symbols from shared libraries) - fi -fi - -# -# Try to add some additional checks to CFLAGS. -# These are not enabled by default, because the warnings they produce -# are very hard or impossible to eliminate. -# -AC_ARG_ENABLE(extra-compiler-warnings, - AC_HELP_STRING( [--enable-extra-compiler-warnings], - [do additional compiler warnings @<:@default=no@:>@]), -[ - wireshark_extra_flags=$enableval - if test $enableval != no - then - # - # The following are for C and C++ - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wpedantic) - # - # As we use variadic macros, we don't want warnings - # about them, even with -Wpedantic. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wno-variadic-macros) - # - # Various code blocks this one. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Woverflow) - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fstrict-overflow -Wstrict-overflow=4) - # - # Due to various places where APIs we don't control - # require us to cast away constness, we can probably - # never enable this one with -Werror. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wcast-qual) - # - # Some generated ASN.1 dissectors block this one; - # multiple function declarations for the same - # function are being generated. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wredundant-decls) - # - # Some loops are safe, but it's hard to convince the - # compiler of that. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wunsafe-loop-optimizations) - # - # All the registration functions block these for now. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wmissing-prototypes) - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wmissing-declarations) - # - # A bunch of "that might not work on SPARC" code blocks - # this one for now; some of it is code that *will* work - # on SPARC, such as casts of "struct sockaddr *" to - # "struct sockaddr_in *", which are required by some - # APIs such as getifaddrs(). - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wcast-align) - # - # Works only with Clang - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wunreachable-code) - # - # Works only with Clang but generates a lot of warnings - # (about glib library not using Doxygen) - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wdocumentation) - # - # Works only with GCC 7 - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wduplicated-branches) - - # - # The following are C only, not C++ - # - # Due to various places where APIs we don't control - # require us to cast away constness, we can probably - # never enable this one with -Werror. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wbad-function-cast, C) - fi -]) - -# Try to add ASAN address analyze. -# Only needed for analyse -# -AC_ARG_ENABLE(asan, - AC_HELP_STRING( [--enable-asan], - [Enable AddressSanitizer (ASAN) for debugging (degrades performance)@<:@default=no@:>@]), -[ - # - # With Clang >= 3.5 Leak detection is enable by default - # and no yet all leak is fixed... - # use ASAN_OPTIONS=detect_leaks=0 to disable detect_leaks - # - # XXX shouldn't this also be added to LDFLAGS? - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fsanitize=address) - - # Disable ASAN for build-time tools, e.g. lemon - WS_CFLAGS_saved="$WS_CFLAGS" - WS_LDFLAGS_saved="$WS_LDFLAGS" - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fno-sanitize=all, C) - if test "x$can_add_to_cflags" = "xyes" - then - NO_SANITIZE_CFLAGS="-fno-sanitize=all" - NO_SANITIZE_LDFLAGS="-fno-sanitize=all" - fi - WS_CFLAGS="$WS_CFLAGS_saved" - WS_LDFLAGS="$WS_LDFLAGS_saved" - -]) -AC_SUBST(NO_SANITIZE_CFLAGS) -AC_SUBST(NO_SANITIZE_LDFLAGS) - -# Try to enable ThreadSanitizer. -# -AC_ARG_ENABLE(tsan, - AC_HELP_STRING( [--enable-tsan], - [Enable ThreadSanitizer (TSan) for debugging@<:@default=no@:>@]), -[ - # - # Available since Clang >= 3.2 and GCC >= 4.8 - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fsanitize=thread) - AC_WIRESHARK_LDFLAGS_CHECK(-fsanitize=thread) - -]) - -# Try to enable UndefinedBehaviorSanitizer. -# -AC_ARG_ENABLE(ubsan, - AC_HELP_STRING( [--enable-ubsan], - [Enable UndefinedBehaviorSanitizer (UBSan) for debugging@<:@default=no@:>@]), -[ - # - # Available since Clang >= 3.3 and GCC >= 4.9 - # - # XXX shouldn't this also be added to LDFLAGS? - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fsanitize=undefined) - -]) - -# Add check hf conflict.. -# -AC_ARG_ENABLE(checkhf-conflict, - AC_HELP_STRING( [--enable-checkhf-conflict], - [Enable hf conflict check for debugging (start-up may be slower)@<:@default=no@:>@]), -[ - AC_DEFINE(ENABLE_CHECK_FILTER, 1, [Enable hf conflict check]) -]) - -AC_WIRESHARK_LDFLAGS_CHECK([-Wl,--as-needed]) -###AC_WIRESHARK_LDFLAGS_CHECK([-Wl,-M]) -###AC_WIRESHARK_LDFLAGS_CHECK([-Wl,--cref]) -# AC_WIRESHARK_LDFLAGS_CHECK([-flto]) -# AC_WIRESHARK_LDFLAGS_CHECK([-fwhopr]) -# AC_WIRESHARK_LDFLAGS_CHECK([-fwhole-program]) - -# -# Put -fPIE in PIE_CFLAGS and -pie in PIE_LDFLAGS if we can use them, -# so that we can build dumpcap PIE - it may run with elevated -# privileges, and using PIE means the OS can run it at random locations -# in the address space to make attacks more difficult. -# - -WS_CFLAGS_saved="$WS_CFLAGS" -WS_LDFLAGS_saved="$WS_LDFLAGS" -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-fPIE, C) -if test "x$can_add_to_cflags" = "xyes" -then - AC_WIRESHARK_LDFLAGS_CHECK([-fPIE -pie]) - if test "x$can_add_to_ldflags" = "xyes" - then - # We can use PIE - PIE_CFLAGS="-fPIE" - PIE_LDFLAGS="-pie" - fi -fi -WS_CFLAGS="$WS_CFLAGS_saved" -WS_LDFLAGS="$WS_LDFLAGS_saved" -AC_SUBST(PIE_CFLAGS) -AC_SUBST(PIE_LDFLAGS) - -WS_CFLAGS_saved="$WS_CFLAGS" -AC_WIRESHARK_COMPILER_FLAGS_CHECK(-msse4.2, C) -if test "x$can_add_to_cflags" = "xyes" -then - # - # The compiler supports -msse4.2; use that to enable SSE 4.2. - # - # We only want to apply -msse4.2 to - # wsutil/ws_mempbrk_sse42.c, as the SSE4.2 code there - # is run only if the hardware supports it, but other - # code would do no such checks. - # - ac_sse4_2_flag=-msse4.2 -else - # - # Try -xarch=sse4_2; that's the flag for Sun's compiler. - # - AC_WIRESHARK_COMPILER_FLAGS_CHECK(-xarch=sse4_2, C) - if test "x$can_add_to_cflags" = "xyes" - then - # - # The compiler supports -xarch=sse4_2; use that to - # enable SSE 4.2. - ac_sse4_2_flag=-xarch=sse4_2 - fi -fi -WS_CFLAGS="$WS_CFLAGS_saved" - -if test "x$ac_sse4_2_flag" != x; then - # - # OK, we have a compiler flag to enable SSE 4.2. - # - # Make sure we have the necessary headers for the SSE4.2 intrinsics - # and that we can use them. - # - # First, check whether we have emmintrin.h and can use it - # *without* the SSE 4.2 flag. - # - AC_MSG_CHECKING([whether there is emmintrin.h header and we can use it]) - AC_TRY_COMPILE( - [#include ], - [return 0;], - [ - emmintrin_h_works=yes - AC_MSG_RESULT([yes]) - ], - [ - emmintrin_h_works=no - AC_MSG_RESULT([no]) - ] - ) - - # - # OK, if that works, see whether we have nmmintrin.h and - # can use it *with* the SSE 4.2 flag. - # - if test "x$emmintrin_h_works" = "xyes"; then - # - # Add the SSE4.2 flags to the beginning of CFLAGS, - # in case the user explicitly specified -mno-sse4.2 - # (or in case Gentoo's build tools did so); if they - # did so, we only want this to work if we can use - # the #pragma to override that for ws_mempbrk_sse42.c, - # and putting it at the beginning means that the - # CFLAGS setting in the environment will come later - # and override it. - # - AC_MSG_CHECKING([whether there is nmmintrin.h header and we can use it]) - saved_CFLAGS="$CFLAGS" - CFLAGS="$ac_sse4_2_flag $WS_CFLAGS $CFLAGS" - AC_TRY_COMPILE( - [#include ], - [return 0;], - [ - have_sse42=yes - AC_DEFINE(HAVE_SSE4_2, 1, [Support SSSE4.2 (Streaming SIMD Extensions 4.2) instructions]) - CFLAGS_SSE42="$ac_sse4_2_flag" - AC_MSG_RESULT([yes]) - ], - [ - have_sse42=no - AC_MSG_RESULT([no]) - ] - ) - CFLAGS="$saved_CFLAGS" - else - have_sse42=no - fi -else - have_sse42=no -fi -dnl build libwsutil_sse42 only if there is SSE4.2 -AM_CONDITIONAL(SSE42_SUPPORTED, test "x$have_sse42" = "xyes") -AC_SUBST(CFLAGS_SSE42) - -# If we're running GCC or CLang, use FORTIFY_SOURCE=2 -# (only if the GCC 'optimization level' > 0). -# -# See: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html -# See: http://sourceware.org/bugzilla/show_bug.cgi?id=13979 -# -# Note: FORTIFY_SOURCE is only effective for gcc optimization level > 0 (-O1, etc) -AC_WIRESHARK_GCC_FORTIFY_SOURCE_CHECK - -# -# If the compiler supports GCC-style flags, enable a barrier "stop on -# warning". -# This barrier is set for a very large part of the code. However, it is -# typically not set for "generated" code (flex, ans2wrs, idl2wrs, ...) -# -warnings_as_errors_default="yes" -AC_MSG_CHECKING(whether we should treat compiler warnings as errors) -AC_ARG_ENABLE(warnings-as-errors, - AC_HELP_STRING( [--enable-warnings-as-errors], - [treat warnings as errors (only for GCC or clang) @<:@default=yes, unless extra compiler warnings are enabled@:>@]), -[ - if test "x$ac_supports_gcc_flags" = "xyes" -a "x$enableval" = "xyes"; then - with_warnings_as_errors="yes" - AC_MSG_RESULT(yes) - else - with_warnings_as_errors="no" - AC_MSG_RESULT(no) - fi -], -[ - if test "x$ac_supports_gcc_flags" = "xyes" -a "x$wireshark_extra_flags" = "x" -a "x$warnings_as_errors_default" = "xyes"; then - with_warnings_as_errors="yes" - AC_MSG_RESULT(yes) - else - with_warnings_as_errors="no" - AC_MSG_RESULT(no) - fi -]) - -AS_IF([test "x$with_warnings_as_errors" = "xyes"], [WERROR="-Werror"], [WERROR=""]) -AC_SUBST(WERROR) -AM_CONDITIONAL(HAVE_WARNINGS_AS_ERRORS, [test "x$with_warnings_as_errors" = "xyes"]) - -# -# Add any platform-specific compiler flags needed. -# -AC_MSG_CHECKING(for platform-specific compiler flags) -if test "x$GCC" = "xyes" ; then - # - # GCC - do any platform-specific tweaking necessary. - # - case "$host_os" in - solaris*) - # the X11 headers don't automatically include prototype info - # and a lot don't include the return type - WS_CPPFLAGS="$WS_CPPFLAGS -DFUNCPROTO=15" - WS_CFLAGS="$WS_CFLAGS -Wno-return-type" - WS_CXXFLAGS="$WS_CXXFLAGS -Wno-return-type" - AC_MSG_RESULT(GCC on Solaris - added -Wno-return-type -DFUNCPROTO=15) - ;; - *) - AC_MSG_RESULT(none needed) - ;; - esac -else - # - # Not GCC - assume it's the vendor's compiler. - # - case "$host_os" in - hpux*) - # - # AC_PROG_CC_STDC should already have added whatever - # flags are necessary for ISO C - C99 if available, - # otherwise C89 - with extensions. - # - # Add +O2, for optimization, as suggested by Jost Martin. - # XXX - works with "-g"? - # - # +O2 is supported both by the C and C++ compiler. - # - # Add -Wp,-H200000 to handle some large #defines we - # have; that flag is not necessary for the C++ - # compiler unless the "legacy" C++ preprocessor is - # being used (+legacy_cpp). We don't want the - # legacy preprocessor if it's not the default, - # so we just add -Wp,-H200000 to the C flags. - # (If there are older versions of aC++ that only - # support the legacy preprocessor, and require - # that we boost the table size, we'd have to check - # whether -Wp,-H200000 is supported by the C++ - # compiler and add it only if it is.) - # - WS_CFLAGS="+O2 -Wp,-H200000 $WS_CFLAGS" - if test "$CC" = "$CC_FOR_BUILD"; then - # - # We're building the build tools with the same - # compiler as the one with which we're building - # Wireshark, so add the flags to the flags for - # that compiler as well. - # - CFLAGS_FOR_BUILD="-Ae +O2 -Wp,-H200000 $CFLAGS" - fi - WS_CXXFLAGS="+O2 $WS_CXXFLAGS" - AC_MSG_RESULT(HP C/C++ compiler - added +O2 -Wp,-H200000) - ;; - solaris*) - # - # Crank up the warning level. - # - WS_CFLAGS="$WS_CFLAGS -v" - WS_CXXFLAGS="$WS_CXXFLAGS +w2" - ;; - *) - AC_MSG_RESULT(none needed) - ;; - esac -fi - -# -# Add any platform-specific linker flags needed. -# -AC_MSG_CHECKING(for platform-specific linker flags) -case "$host_os" in -aix*) - # - # If this is GCC or Clang, Add -Wl,-bbigtoc for big libraries. - # XXX - what if we're using xlc? Is that necessary? The - # xlc 7.0 manual says "Specifying -qpic=large has the same - # effect as passing -bbigtoc to ld"; do we need to tell xlc, - # when it's compiling, to generate different code for a large - # TOC, or is that just a linker flag? For that matter, do we - # have to tell GCC or Clang to generate different code for a - # large TOC? - # - if test "x$GCC" = "xyes" -o "x$CC" = "xclang" ; then - LDFLAGS_BIGSHAREDLIB="-Wl,-bbigtoc" - AC_MSG_RESULT([AIX linker with GCC or Clang - added -Wl,-bbigtoc to large shared library linker flags and -Wl,-headerpad_max_install_names -Wl,-search_paths_first and -Wl,-headerpad_max_install_names to all linker flags]) - fi - ;; -darwin*) - # - # Add -Wl,-single_module to the LDFLAGS used with shared - # libraries, to fix some error that show up in some cases; - # some Apple documentation recommends it for most shared - # libraries. - # - LDFLAGS_SHAREDLIB="-Wl,-single_module" - # - # Add -Wl,-headerpad_max_install_names to the LDFLAGS, as - # code-signing issues is running out of padding space. - # - # Add -Wl,-search_paths_first to make sure that if we search - # directories A and B, in that order, for a given library, a - # non-shared version in directory A, rather than a shared - # version in directory B, is chosen (so we can use - # --with-pcap=/usr/local to force all programs to be linked - # with a static version installed in /usr/local/lib rather than - # the system version in /usr/lib). - # - WS_LDFLAGS="-Wl,-headerpad_max_install_names -Wl,-search_paths_first $WS_LDFLAGS" - AC_MSG_RESULT([Apple linker - added -Wl,-single_module to shared library linker flags and -Wl,-headerpad_max_install_names -Wl,-search_paths_first and -Wl,-headerpad_max_install_names to all linker flags]) - ;; -cygwin*) - # - # Shared libraries in cygwin/Win32 must never contain - # undefined symbols. - # - WS_LDFLAGS="$WS_LDFLAGS -no-undefined" - AC_MSG_RESULT(Cygwin GNU ld - added -no-undefined) - ;; -*) - AC_MSG_RESULT(none needed) - ;; -esac -AC_SUBST(LDFLAGS_BIGSHAREDLIB) -AC_SUBST(LDFLAGS_SHAREDLIB) - -# -# If we're running Solaris, and LD_LIBRARY_PATH is defined, add it as a -# link directory. -# -case "$host_os" in - solaris*) - AC_MSG_CHECKING(for LD_LIBRARY_PATH, since you appear to be running Solaris) - if test x$LD_LIBRARY_PATH != x ; then - LIBS="$LIBS -R$LD_LIBRARY_PATH" - AC_MSG_RESULT(yes -- added LD_LIBRARY_PATH to run-time linker path) - else - AC_MSG_RESULT(no -- this may be a problem in a few seconds) - fi - ;; -esac - -# Enable/disable wireshark -AC_ARG_ENABLE(wireshark, - AC_HELP_STRING( [--enable-wireshark], - [build the Wireshark GUI using Qt5 @<:@default=yes@:>@]), - enable_wireshark=$enableval,enable_wireshark=yes) -AM_CONDITIONAL(BUILDING_WIRESHARK, test x$enable_wireshark = xyes) - -GLIB_MIN_VERSION=2.32.0 -AC_SUBST(GLIB_MIN_VERSION) -# GLib checks; we require GLib $GLIB_MIN_VERSION or later, and require gmodule -# support, as we need that for dynamically loading plugins. -# -# Release dates for GLib versions: -# 2.14.0: 03 Aug 2007 -# 2.16.0: 10 Mar 2008 -# 2.18.0: 02 Sep 2008 -# 2.20.0: 13 Mar 2009 -# 2.22.0: 22 Sep 2009 -# 2.24.0: 28 Mar 2010 -# 2.26.0: 27 Sep 2010 -# 2.28.0: 08 Feb 2011 -# 2.30.0: 27 Sep 2011 -# 2.32.0: 24 Mar 2012 -# 2.34.0: 24 Sep 2012 -# 2.36.0: 25 Mar 2013 -# 2.38.0: 23 Sep 2013 -# 2.40.0: 24 Mar 2014 -# 2.42.0: 22 Sep 2014 -# 2.44.0: 23 Mar 2014 -# 2.46.0: 25 Sep 2015 - -PKG_WIRESHARK_CHECK_SYSTEM_MODULES([GLIB], - [glib-2.0 >= $GLIB_MIN_VERSION gthread-2.0 >= $GLIB_MIN_VERSION gmodule-2.0 >= $GLIB_MIN_VERSION], - [GLIB_VERSION=`$PKG_CONFIG --modversion glib-2.0`], - [AC_MSG_ERROR([GLib $GLIB_MIN_VERSION or later not found.])]) - -# Error out if a glib header other than a "top level" header -# (glib.h, glib-object.h, gio.h) or certain other headers( e.g.,gmodule.h) -# is used. -AX_APPEND_FLAG([-DG_DISABLE_SINGLE_INCLUDES], [GLIB_CONFIG]) - -# Error out on the usage of deprecated glib functions -AX_APPEND_FLAG([-DG_DISABLE_DEPRECATED], [GLIB_CONFIG]) - -GLIB_CFLAGS="$GLIB_CONFIG $GLIB_CFLAGS" -AC_SUBST(GLIB_CFLAGS) -AC_SUBST(GLIB_LIBS) - -QT_MIN_VERSION=5.2.0 -AC_SUBST(QT_MIN_VERSION) -# Qt checks. We require Qt $QT_MIN_VERSION or later. -# -# We only do those if we're going to be building Wireshark; -# otherwise, we don't have any GUI to build, so we don't use -# Qt. -# -# We don't add $Qt_LIBS to LIBS, because we don't want to -# force all programs to be built with Qt. -# -# For a list of library versions and their support across different platforms, -# see https://wiki.wireshark.org/Development/Support_library_version_tracking - -have_qt=no -if test "x$enable_wireshark" = "xyes"; then - if test "x$with_qt" != "xno"; then - # - # Qt was specified; make sure we have a C++ compiler. - # - if test -z "$CXX"; then - AC_MSG_ERROR(Need a working C++ compiler to build Wireshark with Qt) - fi - - # - # Now make sure we have Qt and, if so, add the flags - # for it to CFLAGS and CXXFLAGS. - # - AC_WIRESHARK_QT_CHECK($QT_MIN_VERSION, "$with_qt", - [ - AC_SUBST(Qt_CFLAGS) - AC_SUBST(Qt_LIBS) - have_qt=yes - GUI_CONFIGURE_FLAGS="$GUI_CONFIGURE_FLAGS --with-qt" - - # - # We're building with Qt, so we need the Qt build - # tools in order to build the Wireshark GUI. - # We've found a particular major version of Qt, - # and we want that version's build tools; for - # example, the Qt 4 version of uic produces files - # that include Qt headers with paths that work - # with Qt 4 but not Qt 5, so we can't use the - # Qt 4 version of uic if we're building with Qt 5. - AC_WIRESHARK_QT_TOOL_CHECK(UIC, uic, "$qt_version") - AC_SUBST(UIC) - AC_WIRESHARK_QT_TOOL_CHECK(MOC, moc, "$qt_version") - AC_SUBST(MOC) - AC_WIRESHARK_QT_TOOL_CHECK(RCC, rcc, "$qt_version") - AC_SUBST(RCC) - AC_WIRESHARK_QT_TOOL_CHECK_LRELEASE("$qt_version") - AC_SUBST(LRELEASE) - - # - # On Darwin, make sure we're using Qt5 or later. - # If so, find where the Qt frameworks are located - # and add that to the rpath, just in case this is - # Qt 5.5 or later and the frameworks have an - # install name that begins with @rpath and aren't - # installed in a frameworks directory that's - # searched by default. - # - case "$host_os" in - darwin*) - Qt_LDFLAGS="-Wl,-rpath,"`$PKG_CONFIG --libs Qt${qt_version}Core | sed -e 's/-F//' -e 's/ -framework.*//'` - ;; - esac - AC_SUBST(Qt_LDFLAGS) - - if test -z "${MOC_OPTIONS+1}" - then - # Squelch moc verbose "nothing to do" output - MOC_OPTIONS="-nn" - fi - AC_SUBST(MOC_OPTIONS) - ], - [ - case "$with_qt" in - - unspecified) - # - # They didn't explicitly ask for Qt, - # so just don't build with it. - # - ;; - - yes) - case "$host_os" in - darwin*) - # - # This is probably macOS, and the - # problem could be that this is a - # later version of Qt that doesn't - # install .pc files on macOS, so - # pkg-config can't find it. - # - AC_MSG_ERROR([Qt is not installed or may not work with the configure script; try using CMake, instead]) - ;; - - *) - # - # Qt might be installed, but only - # for use by applications, not - # for development. - # - AC_MSG_ERROR([Qt is not installed for development]) - ;; - esac - ;; - - 4) - case "$host_os" in - darwin*) - # - # See above. - # - AC_MSG_ERROR([Qt 4 is not installed or may not work with the configure script; try using CMake, instead]) - ;; - - *) - # - # See above. - # - AC_MSG_ERROR([Qt 4 is not installed for development]) - ;; - esac - ;; - - 5) - case "$host_os" in - darwin*) - # - # See above. - # - AC_MSG_ERROR([Qt 5 is not installed or may not work with the configure script; try using CMake, instead]) - ;; - - *) - # - # See above. - # - AC_MSG_ERROR([Qt 5 is not installed for development]) - ;; - esac - ;; - esac - ]) - fi -fi - -AC_SUBST(GUI_CONFIGURE_FLAGS) - -if test "$have_qt" = "yes" ; then - # We have Qt. - - wireshark_bin="wireshark\$(EXEEXT)" - wireshark_man="wireshark.1" - wireshark_SUBDIRS="ui/qt" -else - # We do not have Qt. - # - # If they didn't explicitly say "--disable-wireshark", - # fail (so that, unless they explicitly indicated that - # they don't want Wireshark, we stop so they know they - # won't be getting Wireshark unless they fix the Qt - # problem). - # - if test "x$enable_wireshark" = "xyes"; then - if test "$with_qt" != "no" ; then - case "$host_os" in - darwin*) - # - # This is probably macOS, and the - # problem could be that this is a - # later version of Qt that doesn't - # install .pc files on macOS, so - # pkg-config can't find it. - # - AC_MSG_ERROR([Qt was not installed for development, or Qt is installed but doesn't work with the configure script, so Wireshark can't be compiled; try using CMake, instead]) - ;; - - *) - # - # Qt might be installed, but only - # for use by applications, not - # for development. - # - AC_MSG_ERROR([Qt was not installed for development, so Wireshark can't be compiled]) - ;; - esac - else - AC_MSG_ERROR([Qt was not requested so Wireshark can't be compiled]) - fi - fi - wireshark_bin="" - wireshark_man="" - wireshark_SUBDIRS="" -fi - -# -# If we have , check whether we have dladdr. -# -if test "$ac_cv_header_dlfcn_h" = "yes" -then - # - # Use GLib compiler flags and linker flags; GLib's gmodule - # stuff uses the dl APIs if available, so it might know - # what flags are needed. - # - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$WS_CFLAGS $GLIB_CFLAGS $CFLAGS" - LIBS="$LIBS $GLIB_LIBS" - AC_CHECK_FUNCS(dladdr) - if test x$ac_cv_func_dladdr = xno - then - # - # OK, try it with -ldl, in case you need that to get - # dladdr(). For some reason, on Linux, that's not - # part of the GLib flags; perhaps GLib itself is - # linked with libdl, so that you can link with - # Glib and it'll pull libdl in itself. - # - LIBS="$LIBS -ldl" - AC_CHECK_FUNCS(dladdr) - fi - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" -fi - -AC_SUBST(wireshark_bin) -AC_SUBST(wireshark_man) -AC_SUBST(wireshark_SUBDIRS) -AM_CONDITIONAL(HAVE_Qt, test "$have_qt" = "yes") - -# Enable/disable tshark -AC_ARG_ENABLE(tshark, - AC_HELP_STRING( [--enable-tshark], - [build tshark @<:@default=yes@:>@]), - tshark=$enableval,enable_tshark=yes) - -if test "x$enable_tshark" = "xyes" ; then - tshark_bin="tshark\$(EXEEXT)" - tshark_man="tshark.1" - wiresharkfilter_man="wireshark-filter.4" -else - tshark_bin="" - tshark_man="" -fi -AC_SUBST(tshark_bin) -AC_SUBST(tshark_man) - -# Enable/disable editcap - -AC_ARG_ENABLE(editcap, - AC_HELP_STRING( [--enable-editcap], - [build editcap @<:@default=yes@:>@]), - enable_editcap=$enableval,enable_editcap=yes) - -if test "x$enable_editcap" = "xyes" ; then - editcap_bin="editcap\$(EXEEXT)" - editcap_man="editcap.1" -else - editcap_bin="" - editcap_man="" -fi -AC_SUBST(editcap_bin) -AC_SUBST(editcap_man) - - -# Enabling/disabling of dumpcap is done later (after we know if we have PCAP -# or not) - -# Enable/disable capinfos - -AC_ARG_ENABLE(capinfos, - AC_HELP_STRING( [--enable-capinfos], - [build capinfos @<:@default=yes@:>@]), - enable_capinfos=$enableval,enable_capinfos=yes) - -if test "x$enable_capinfos" = "xyes" ; then - capinfos_bin="capinfos\$(EXEEXT)" - capinfos_man="capinfos.1" -else - capinfos_bin="" - capinfos_man="" -fi -AC_SUBST(capinfos_bin) -AC_SUBST(capinfos_man) - -# Enable/disable captype - -AC_ARG_ENABLE(captype, - AC_HELP_STRING( [--enable-captype], - [build captype @<:@default=yes@:>@]), - enable_captype=$enableval,enable_captype=yes) - -if test "x$enable_captype" = "xyes" ; then - captype_bin="captype\$(EXEEXT)" - captype_man="captype.1" -else - captype_bin="" - captype_man="" -fi -AC_SUBST(captype_bin) -AC_SUBST(captype_man) - -# Enable/disable mergecap - -AC_ARG_ENABLE(mergecap, - AC_HELP_STRING( [--enable-mergecap], - [build mergecap @<:@default=yes@:>@]), - enable_mergecap=$enableval,enable_mergecap=yes) - -if test "x$enable_mergecap" = "xyes" ; then - mergecap_bin="mergecap\$(EXEEXT)" - mergecap_man="mergecap.1" -else - mergecap_bin="" - mergecap_man="" -fi -AC_SUBST(mergecap_bin) -AC_SUBST(mergecap_man) - -# Enable/disable reordercap - -AC_ARG_ENABLE(reordercap, - AC_HELP_STRING( [--enable-reordercap], - [build reordercap @<:@default=yes@:>@]), - enable_reordercap=$enableval,enable_reordercap=yes) - -if test "x$enable_reordercap" = "xyes" ; then - reordercap_bin="reordercap\$(EXEEXT)" - reordercap_man="reordercap.1" -else - reordercap_bin="" - reordercap_man="" -fi -AC_SUBST(reordercap_bin) -AC_SUBST(reordercap_man) - -# Enable/disable text2pcap - -AC_ARG_ENABLE(text2pcap, - AC_HELP_STRING( [--enable-text2pcap], - [build text2pcap @<:@default=yes@:>@]), - text2pcap=$enableval,enable_text2pcap=yes) - -if test "x$enable_text2pcap" = "xyes" ; then - text2pcap_bin="text2pcap\$(EXEEXT)" - text2pcap_man="text2pcap.1" -else - text2pcap_bin="" - text2pcap_man="" -fi -AC_SUBST(text2pcap_bin) -AC_SUBST(text2pcap_man) - -# Enable/disable dftest - -AC_ARG_ENABLE(dftest, - AC_HELP_STRING( [--enable-dftest], - [build dftest @<:@default=yes@:>@]), - enable_dftest=$enableval,enable_dftest=yes) - -if test "x$enable_dftest" = "xyes" ; then - dftest_bin="dftest\$(EXEEXT)" - dftest_man="dftest.1" -else - dftest_bin="" - dftest_man="" -fi -AC_SUBST(dftest_bin) -AC_SUBST(dftest_man) - -# Enable/disable randpkt - -AC_ARG_ENABLE(randpkt, - AC_HELP_STRING( [--enable-randpkt], - [build randpkt @<:@default=yes@:>@]), - enable_randpkt=$enableval,enable_randpkt=yes) - -if test "x$enable_randpkt" = "xyes" ; then - randpkt_bin="randpkt\$(EXEEXT)" - randpkt_man="randpkt.1" -else - randpkt_bin="" - randpkt_man="" -fi -AC_SUBST(randpkt_bin) -AC_SUBST(randpkt_man) - -AC_SUBST(wiresharkfilter_man) - -dnl pcap check -AC_MSG_CHECKING(whether to use libpcap for packet capture) - -AC_ARG_WITH(pcap, - AC_HELP_STRING( [--with-pcap@<:@=DIR@:>@], - [use libpcap for packet capturing @<:@default=yes@:>@]), -[ - if test $withval = no - then - want_pcap=no - elif test $withval = yes - then - want_pcap=yes - else - want_pcap=yes - pcap_dir=$withval - fi -],[ - want_pcap=yes - pcap_dir= -]) -if test "x$want_pcap" = "xno" ; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_PCAP_CHECK -fi - -dnl dumpcap check -AC_MSG_CHECKING(whether to build dumpcap) - -AC_ARG_ENABLE(dumpcap, - AC_HELP_STRING( [--enable-dumpcap], - [build dumpcap @<:@default=yes@:>@]), - enable_dumpcap=$enableval,enable_dumpcap=yes) - -if test "x$enable_dumpcap" = "xyes" ; then - if test "x$want_pcap" = "xno" ; then - enable_dumpcap=no - AC_MSG_RESULT(pcap not installed for development - disabling dumpcap) - else - AC_MSG_RESULT(yes) - fi -else - AC_MSG_RESULT(no) -fi - -if test "x$enable_dumpcap" = "xyes" ; then - dumpcap_bin="dumpcap\$(EXEEXT)" - dumpcap_man="dumpcap.1" -else - dumpcap_bin="" - dumpcap_man="" -fi -AC_SUBST(dumpcap_bin) -AC_SUBST(dumpcap_man) - -# Enable/disable rawshark - -dnl rawshark check -AC_MSG_CHECKING(whether to build rawshark) - -AC_ARG_ENABLE(rawshark, - AC_HELP_STRING( [--enable-rawshark], - [build rawshark @<:@default=yes@:>@]), - rawshark=$enableval,enable_rawshark=yes) - -if test "x$enable_rawshark" = "xyes" ; then - if test "x$want_pcap" = "xno" ; then - enable_rawshark=no - AC_MSG_RESULT(pcap not installed for development - disabling rawshark) - else - AC_MSG_RESULT(yes) - fi -else - AC_MSG_RESULT(no) -fi - -if test "x$enable_rawshark" = "xyes" ; then - rawshark_bin="rawshark\$(EXEEXT)" - rawshark_man="rawshark.1" -else - rawshark_bin="" - rawshark_man="" -fi -AC_SUBST(rawshark_bin) -AC_SUBST(rawshark_man) - -# Enable/disable sharkd -AC_ARG_ENABLE(sharkd, - AC_HELP_STRING( [--enable-sharkd], - [build sharkd @<:@default=yes@:>@]), - sharkd=$enableval,enable_sharkd=yes) - -if test "x$enable_sharkd" = "xyes" ; then - sharkd_bin="sharkd\$(EXEEXT)" -else - sharkd_bin="" -fi -AC_SUBST(sharkd_bin) - -# Enable/disable tfshark -AC_ARG_ENABLE(tfshark, - AC_HELP_STRING( [--enable-tfshark], - [build tfshark (Experimental) @<:@default=no@:>@]), - tfshark=$enableval,enable_tfshark=no) - -if test "x$enable_tfshark" = "xyes" ; then - tfshark_bin="tfshark\$(EXEEXT)" - tfshark_man="tfshark.1" - wiresharkfilter_man="wireshark-filter.4" -else - tfshark_bin="" - tfshark_man="" -fi -AC_SUBST(tfshark_bin) -AC_SUBST(tfshark_man) - -# Enable/disable fuzzshark -AC_ARG_ENABLE(fuzzshark, - AC_HELP_STRING( [--enable-fuzzshark], - [build fuzzshark @<:@default=yes@:>@]), - fuzzshark=$enableval,enable_fuzzshark=yes) - -if test "x$enable_fuzzshark" = "xyes" ; then - fuzzshark_bin="fuzzshark\$(EXEEXT)" -else - fuzzshark_bin="" -fi -AC_SUBST(fuzzshark_bin) - - -dnl Use pcapng by default -AC_ARG_ENABLE(pcap-ng-default, - AC_HELP_STRING( [--enable-pcap-ng-default], - [use the pcapng file format by default instead of pcap @<:@default=yes@:>@]), - enable_pcap_ng_default=$enableval,enable_pcap_ng_default=yes) -if test x$enable_pcap_ng_default = xyes; then - AC_DEFINE(PCAP_NG_DEFAULT, 1, [Support for pcapng]) -fi - -dnl zlib check -AC_MSG_CHECKING(whether to use zlib for gzip compression and decompression) - -AC_ARG_WITH(zlib, - AC_HELP_STRING([--with-zlib@<:@=DIR@:>@], - [use zlib (located in directory DIR, if supplied) for gzip compression and decompression @<:@default=yes, if available@:>@]), -[ - if test "x$withval" = "xno" - then - want_zlib=no - elif test "x$withval" = "xyes" - then - want_zlib=yes - else - want_zlib=yes - zlib_dir="$withval" - fi -],[ - # - # Use zlib if it's present, otherwise don't. - # - want_zlib=ifavailable - zlib_dir= -]) -if test "x$want_zlib" = "xno" ; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_ZLIB_CHECK - if test "x$want_zlib" = "xno" ; then - AC_MSG_RESULT(zlib not found - disabling gzip compression and decompression) - else - if test "x$ac_cv_func_inflatePrime" = "xno" ; then - AC_MSG_RESULT(inflatePrime not found in zlib - disabling gzipped capture file support) - fi - fi -fi - -dnl lz4 check -LZ4_LIBS='' -AC_MSG_CHECKING(whether to use lz4 compression and decompression) - -AC_ARG_WITH(lz4, - AC_HELP_STRING([--with-lz4@<:@=DIR@:>@], - [use lz4 (located in directory DIR, if supplied) for lz4 compression and decompression @<:@default=yes, if available@:>@]), -[ - if test "x$withval" = "xno" - then - want_lz4=no - elif test "x$withval" = "xyes" - then - want_lz4=yes - else - want_lz4=yes - lz4_dir="$withval" - fi -],[ - # - # Use lz4 if it's present, otherwise don't. - # - want_lz4=ifavailable - lz4_dir= -]) -have_lz4=no -if test "x$want_lz4" = "xno" ; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_LZ4_CHECK - if test "x$want_lz4" = "xno" ; then - AC_MSG_RESULT(lz4 not found - disabling lz4 compression and decompression) - else - if test "x$ac_cv_func_LZ4_decompress_safe" = "xno" ; then - AC_MSG_RESULT(LZ4_decompress_safe not found in lz4 - disabling cql lz4 decompression) - else - have_lz4=yes - fi - fi -fi -AC_SUBST(LZ4_LIBS) - -dnl snappy check -SNAPPY_LIBS='' -AC_MSG_CHECKING(whether to use snappy compression and decompression) - -AC_ARG_WITH(snappy, - AC_HELP_STRING([--with-snappy@<:@=DIR@:>@], - [use snappy (located in directory DIR, if supplied) for snappy compression and decompression @<:@default=yes, if available@:>@]), -[ - if test "x$withval" = "xno" - then - want_snappy=no - elif test "x$withval" = "xyes" - then - want_snappy=yes - else - want_snappy=yes - snappy_dir="$withval" - fi -],[ - # - # Use snappy if it's present, otherwise don't. - # - want_snappy=ifavailable - snappy_dir= -]) -have_snappy=no -if test "x$want_snappy" = "xno" ; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_SNAPPY_CHECK - if test "x$want_snappy" = "xno" ; then - AC_MSG_RESULT(snappy not found - disabling snappy compression and decompression) - else - if test "x$ac_cv_func_snappy_uncompress" = "xno" ; then - AC_MSG_RESULT(snappy_uncompress not found in snappy - disabling cql snappy decompression) - else - have_snappy=yes - fi - fi -fi -AC_SUBST(SNAPPY_LIBS) - -dnl Lua check -AC_ARG_WITH(lua, - AC_HELP_STRING( [--with-lua@<:@=DIR@:>@], - [use liblua (located in directory DIR, if supplied) for the Lua scripting plugin @<:@default=yes, if available@:>@]), -[ - if test $withval = no - then - want_lua=no - elif test $withval = yes - then - want_lua=yes - else - want_lua=yes - want_lua_dir=$withval - fi -],[ - # By default use Lua if we can find it - want_lua=ifavailable - lua_dir= -]) -if test "x$want_lua" != "xno" ; then - AC_WIRESHARK_LIBLUA_CHECK - - if test "x$want_lua" = "xyes" -a "x$have_lua" = "xno" - then - AC_MSG_ERROR([Lua support was requested, but is not installed for development]) - fi -fi -if test "x$have_lua" = "xyes" -then - AC_DEFINE(HAVE_LUA, 1, [Define to use Lua]) -fi -AM_CONDITIONAL(HAVE_LIBLUA, test x$have_lua = xyes) -AC_SUBST(LUA_LIBS) -AC_SUBST(LUA_CFLAGS) - -dnl Check if dumpcap should be installed with filesystem capabilities -AC_PATH_PROG(SETCAP, setcap) -AC_ARG_ENABLE(setcap-install, - AC_HELP_STRING( [--enable-setcap-install], - [install dumpcap with cap_net_admin and cap_net_raw @<:@default=no@:>@]), - enable_setcap_install=$enableval,enable_setcap_install=no) - -AC_MSG_CHECKING(whether to install dumpcap with cap_net_admin and cap_net_raw capabilities) -if test "x$enable_setcap_install" = "xno" ; then - AC_MSG_RESULT(no) -else - if test "x$SETCAP" = "x" ; then - AC_MSG_RESULT(setcap not found) - AC_MSG_ERROR([Setcap install was requested, but setcap was not found]) - elif test "x$enable_dumpcap" = "xno" ; then - AC_MSG_RESULT(dumpcap disabled) - AC_MSG_ERROR([Setcap install works only with dumpcap, but dumpcap is disabled]) - else - AC_MSG_RESULT(yes) - fi -fi - -AM_CONDITIONAL(SETCAP_INSTALL, test x$enable_setcap_install = xyes) - -dnl Check if dumpcap should be installed setuid -AC_ARG_ENABLE(setuid-install, - AC_HELP_STRING( [--enable-setuid-install], - [install dumpcap as setuid @<:@default=no@:>@]), - enable_setuid_install=$enableval,enable_setuid_install=no) - -AC_MSG_CHECKING(whether to install dumpcap setuid) -if test "x$enable_setuid_install" = "xno" ; then - AC_MSG_RESULT(no) -else - if test "x$enable_setcap_install" = "xyes" ; then - enable_setuid_install=no - AC_MSG_RESULT(setcap and setuid both selected) - AC_MSG_ERROR(You must choose one of setcap install and setuid install) - elif test "x$enable_dumpcap" = "xno" ; then - AC_MSG_RESULT(dumpcap disabled) - AC_MSG_ERROR([Setuid install works only with dumpcap, but dumpcap is disabled]) - else - AC_MSG_RESULT(yes) - fi -fi - -AM_CONDITIONAL(SETUID_INSTALL, test x$enable_setuid_install = xyes) -AC_CHECK_FUNCS(setresuid setresgid) - -dnl ...but our Network Operations group is named "no"! -DUMPCAP_GROUP='' -AC_ARG_WITH(dumpcap-group, - AC_HELP_STRING( [--with-dumpcap-group=GROUP], - [restrict dumpcap to GROUP]), -[ - if test "x$withval" = "xyes"; then - AC_MSG_ERROR([No dumpcap group specified.]) - elif test "x$withval" != "xno"; then - if test "x$enable_dumpcap" = "xno" ; then - AC_MSG_ERROR(dumpcap group install works only with dumpcap but dumpcap is disabled) - fi - AC_MSG_RESULT($withval) - DUMPCAP_GROUP="$withval" - fi -]) -AC_SUBST(DUMPCAP_GROUP) -AM_CONDITIONAL(HAVE_DUMPCAP_GROUP, test x$DUMPCAP_GROUP != x) - -dnl libcap (not libpcap) check -LIBCAP_LIBS='' -AC_MSG_CHECKING(whether to use the libcap capabilities library) - -AC_ARG_WITH(libcap, - AC_HELP_STRING( [--with-libcap@<:@=DIR@:>@], - [use libcap (located in directory DIR, if supplied) for POSIX.1e capabilities management @<:@default=yes, if present@:>@]), -[ -if test "x$withval" = "xno"; then - want_libcap=no -elif test "x$withval" = "xyes"; then - want_libcap=yes -elif test -d "$withval"; then - want_libcap=yes - AC_WIRESHARK_ADD_DASH_L(WS_LDFLAGS, ${withval}/lib) -fi -]) -if test "x$with_libcap" = "xno" ; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_LIBCAP_CHECK -fi -AC_SUBST(LIBCAP_LIBS) - -dnl Checks for header files. -dnl Some of these may not be needed: http://hacks.owlfolio.org/header-survey/ -dnl Note, however, that, whilst this script is generally run only on UN*Xes: -dnl -dnl 1) we also support building on and for Windows and not all of those -dnl headers are present on Windows, so the code has to check a -dnl #define *anyway* to determine whether to include the header -dnl file -dnl -dnl and -dnl -dnl 2) this might also be run on Windows with a sufficiently UNIXy -dnl environment such as Cygwin (although Wireshark should be built -dnl natively rather than using Cygwin). -dnl -AC_CHECK_HEADERS(fcntl.h getopt.h grp.h inttypes.h netdb.h pwd.h unistd.h) -AC_CHECK_HEADERS(sys/ioctl.h sys/param.h sys/select.h sys/socket.h sys/sockio.h sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h) -AC_CHECK_HEADERS(netinet/in.h) -AC_CHECK_HEADERS(arpa/inet.h) -AC_CHECK_HEADERS(ifaddrs.h) - -# -# On Linux, check for some additional headers, which we need as a -# workaround for a bonding driver bug and for libpcap's current lack -# of its own workaround for that bug. -# -case "$host_os" in -linux*) - AC_CHECK_HEADERS(linux/sockios.h linux/if_bonding.h,,,[#include ]) - ;; -esac - -dnl kerberos check -AC_MSG_CHECKING(whether to use Kerberos library) - -AC_ARG_WITH(krb5, - AC_HELP_STRING( [--with-krb5@<:@=DIR@:>@], - [use Kerberos library (located in directory DIR, if supplied) to use in Kerberos dissection @<:@default=yes@:>@]), -[ - if test $withval = no - then - want_krb5=no - elif test $withval = yes - then - want_krb5=yes - else - want_krb5=yes - krb5_dir=$withval - fi -],[ - # - # Use Kerberos library if available, otherwise don't. - # - want_krb5=ifavailable - krb5_dir= -]) -if test "x$want_krb5" = "xno" ; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_KRB5_CHECK -fi - -dnl -dnl We use GnuTLS for SSL decryption but some builds of Kerberos require -dnl linking with OpenSSL. We don't want to build with it by default due to -dnl annoying license incompatibilities between the OpenSSL license and the GPL, -dnl so we require an explicit option to configure. -dnl -AC_ARG_WITH(krb5-crypto-openssl, - AC_HELP_STRING( [--with-krb5-crypto-openssl], - [Allow linking with OpenSSL for Kerberos crypto backend @<:@default=no@:>@])) - -dnl c-ares Check -C_ARES_LIBS='' -AC_MSG_CHECKING(whether to use the c-ares library if available) - -AC_ARG_WITH(c-ares, - AC_HELP_STRING( [--with-c-ares@<:@=DIR@:>@], - [use c-ares (located in directory DIR, if supplied) @<:@default=yes, if present@:>@]), -[ -if test "x$withval" = "xno"; then - want_c_ares=no -elif test "x$withval" = "xyes"; then - want_c_ares=yes -elif test -d "$withval"; then - want_c_ares=yes - AC_WIRESHARK_ADD_DASH_L(WS_LDFLAGS, ${withval}/lib) -fi -]) -if test "x$want_c_ares" = "xno" ; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_C_ARES_CHECK -fi -AC_SUBST(C_ARES_LIBS) - -dnl MaxMind DB Check -MAXMINDDB_LIBS='' -AC_MSG_CHECKING(whether to use the MaxMind DB IP address mapping library if available) - -AC_ARG_WITH(maxminddb, - AC_HELP_STRING( [--with-maxminddb@<:@=DIR@:>@], - [use MaxMind DB (located in directory DIR, if supplied) @<:@default=yes, if present@:>@]), -[ -if test "x$withval" = "xno"; then - want_maxminddb=no -elif test "x$withval" = "xyes"; then - want_maxminddb=yes -elif test -d "$withval"; then - want_maxminddb=yes - AC_WIRESHARK_ADD_DASH_L(WS_LDFLAGS, ${withval}/lib) -fi -]) -if test "x$want_maxminddb" = "xno"; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_MAXMINDDB_CHECK -fi -AC_SUBST(MAXMINDDB_LIBS) - -if test "x$have_good_maxminddb" = "xyes" ; then - mmdbresolve_bin="mmdbresolve\$(EXEEXT)" - mmdbresolve_man="mmdbresolve.1" -else - mmdbresolve_bin="" - mmdbresolve_man="" -fi -AC_SUBST(mmdbresolve_bin) -AC_SUBST(mmdbresolve_man) - -dnl LIBSSH Check -LIBSSH='' -AC_MSG_CHECKING(whether to use the libssh library if available) - -AC_ARG_WITH(libssh, - AC_HELP_STRING( [--with-libssh@<:@=DIR@:>@], - [use libssh (located in directory DIR, if supplied) @<:@default=yes, if present@:>@]), -[ -if test "x$withval" = "xno"; then - want_libssh=no -elif test "x$withval" = "xyes"; then - want_libssh=yes -elif test -d "$withval"; then - want_libssh=yes - AC_WIRESHARK_ADD_DASH_L(WS_LDFLAGS, ${withval}/lib) -fi -]) -if test "x$want_libssh" = "xno"; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_LIBSSH_CHECK -fi -AC_SUBST(LIBSSH_LIBS) - -dnl nghttp2 Check -NGHTTP2_LIBS='' -AC_MSG_CHECKING(whether to use the nghttp2 HPACK library if available) - -AC_ARG_WITH(nghttp2, - AC_HELP_STRING( [--with-nghttp2@<:@=DIR@:>@], - [use nghttp2 (located in directory DIR, if supplied) @<:@default=yes, if present@:>@]), -[ -if test "x$withval" = "xno"; then - want_nghttp2=no -elif test "x$withval" = "xyes"; then - want_nghttp2=yes -elif test -d "$withval"; then - want_nghttp2=yes - AC_WIRESHARK_ADD_DASH_L(WS_LDFLAGS, ${withval}/lib) -fi -]) -if test "x$want_nghttp2" = "xno"; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_NGHTTP2_CHECK -fi -AC_SUBST(NGHTTP2_LIBS) - -dnl Checks for typedefs, structures, and compiler characteristics. -# AC_C_CONST - -# Check how we can get the time zone abbreviation -AC_STRUCT_TIMEZONE - -# We need to know whether "struct stat" has an "st_flags" member -# for file_user_immutable(). - -AC_CHECK_MEMBERS([struct stat.st_flags]) - -# We need to know whether "struct stat" has an "st_birthtime" member -# or an "__st_birthtime" member for the file set dialog. - -AC_CHECK_MEMBERS([struct stat.st_birthtime]) -AC_CHECK_MEMBERS([struct stat.__st_birthtime]) - -# We need to know whether "struct sockaddr" has an "sa_len" member -# for get_interface_list(). - -AC_CHECK_MEMBERS([struct sockaddr.sa_len],,, - [#ifdef HAVE_SYS_TYPES_H - #include - #endif - #ifdef HAVE_SYS_SOCKET_H - #include - #endif]) - -AC_REPLACE_FUNCS(getopt_long) -if test "x$ac_cv_func_getopt_long" = xyes; then - # - # The OS has getopt_long(), so it might have optreset. Do we have it? - # - AC_CACHE_CHECK([whether optreset is defined], ac_cv_have_optreset, - AC_LINK_IFELSE([AC_LANG_SOURCE([[extern int optreset;return optreset;]])], - ac_cv_have_optreset=yes, ac_cv_have_optreset=no)) - if test "$ac_cv_have_optreset" = yes ; then - AC_DEFINE(HAVE_OPTRESET, 1, [Define to 1 if you have the optreset variable]) - fi -else - # - # The OS doesn't have getopt_long(), so we're using the GNU libc - # version that we have in wsutil. It doesn't have optreset, so we - # don't need to check for it. - # - # However, it uses alloca(), so we may need to include alloca.h; - # check for it. - # - AC_CHECK_HEADERS(alloca.h) -fi - -AC_REPLACE_FUNCS(strptime) - -AC_CHECK_FUNCS(mkstemps) -AC_CHECK_FUNCS(issetugid) -AC_CHECK_FUNCS(sysconf) -AC_CHECK_FUNCS(getifaddrs) -AC_CHECK_FUNC(getexecname) - -# -# Check for SpeexDSP (http://www.speex.org) -# -AS_IF([test "x$have_qt_multimedia_lib" = xyes], - [PKG_CHECK_MODULES(SPEEXDSP, speexdsp, [have_speexdsp=yes], [have_speexdsp=no])]) -AS_IF([test "x$have_speexdsp" = xyes], - [AC_DEFINE(HAVE_SPEEXDSP, 1, [Define to 1 if you have SpeexDSP])]) -AM_CONDITIONAL(HAVE_SPEEXDSP, [test "x$have_speexdsp" = "xyes"]) - -# Check Bluetooth SBC codec for RTP Player -# git://git.kernel.org/pub/scm/bluetooth/sbc.git -AC_ARG_WITH([sbc], - AC_HELP_STRING( [--with-sbc=@<:@yes/no@:>@], - [use SBC codec to play Bluetooth A2DP stream @<:@default=yes, if available@:>@]), - with_sbc="$withval"; want_sbc="yes", with_sbc="yes") - -PKG_CHECK_MODULES(SBC, sbc >= 1.0, [have_sbc=yes], [have_sbc=no]) -if test "x$with_sbc" != "xno"; then - if (test "${have_sbc}" = "yes"); then - AC_DEFINE(HAVE_SBC, 1, [Define to support playing SBC by standalone BlueZ SBC library]) - elif test "x$want_sbc" = "xyes"; then - # Error out if the user explicitly requested the sbc library - AC_MSG_ERROR([SBC codec library was requested, but is not installed for development]) - fi -else - have_sbc=no -fi -AM_CONDITIONAL(HAVE_SBC, test "x$have_sbc" = "xyes") - -#` -# Check SpanDSP library for RTP Player -# http://www.soft-switch.org/ -AC_ARG_WITH([spandsp], - AC_HELP_STRING( [--with-spandsp=@<:@yes/no@:>@], - [use SpanDSP to play G.722/G.726 codecs @<:@default=yes, if available@:>@]), - with_spandsp="$withval"; want_spandsp="yes", with_spandsp="yes") - -PKG_CHECK_MODULES(SPANDSP, spandsp, [have_spandsp=yes], [have_spandsp=no]) -if test "x$with_spandsp" != "xno"; then - if (test "${have_spandsp}" = "yes"); then - AC_DEFINE(HAVE_SPANDSP, 1, [Define if you have the SpanDSP library]) - elif test "x$want_spandsp" = "xyes"; then - # Error out if the user explicitly requested the SpanDSP library - AC_MSG_ERROR([SpanDSP library was requested, but is not installed for development]) - fi -else - have_spandsp=no -fi -AM_CONDITIONAL(HAVE_SPANDSP, test "x$have_spandsp" = "xyes") - -#` -# Check bcg729 library for RTP Player -# https://www.linphone.org/technical-corner/bcg729/overview -dnl bcg729 Check -BCG729_LIBS='' -AC_MSG_CHECKING(whether to use the bcg729 library if available) - -AC_ARG_WITH([bcg729], - AC_HELP_STRING( [--with-bcg729=@<:@=DIR@:>@], - [use bcg729 to play G.729 codec(located in directory DIR, if supplied) @<:@default=yes, if present@:>@]), -[ -if test "x$withval" = "xno"; then - want_bcg729=no -elif test "x$withval" = "xyes"; then - want_bcg729=yes -elif test -d "$withval"; then - want_bcg729=yes - AC_WIRESHARK_ADD_DASH_L(WS_LDFLAGS, ${withval}/lib) -fi -]) -if test "x$want_bcg729" = "xno"; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_WIRESHARK_BCG729_CHECK -fi -AC_SUBST(BCG729_LIBS) -AM_CONDITIONAL(HAVE_BCG729, test "x$have_good_bcg729" = "xyes") - -#` -# Libxml2 check -AC_ARG_WITH(libxml2, - AC_HELP_STRING([--with-libxml2=@<:@yes/no@:>@], - [Libxml2 is a XML C parser, which can be used for handling XML configuration in dissectors @<:@default=yes, if available@:>@]), - with_libxml2="$withval"; want_libxml2="yes", with_libxml2="yes") - -PKG_CHECK_MODULES(LIBXML2, libxml-2.0, [have_libxml2=yes], [have_libxml2=no]) -if test "x$with_libxml2" != "xno"; then - if (test "${have_libxml2}" = "yes"); then - AC_DEFINE(HAVE_LIBXML2, 1, [Define if you have libxml2]) - elif test "x$want_libxml2" = "xyes"; then - # Error out if the user explicitly requested libxml2 - AC_MSG_ERROR([Libxml2 was requested, but is not installed for development]) - fi -else - have_libxml2=no -fi -AM_CONDITIONAL(HAVE_LIBXML2, test "x$have_libxml2" = "xyes") - -# -# Libsmi check -# -AC_ARG_WITH(libsmi, - AC_HELP_STRING([--with-libsmi=@<:@yes/no@:>@], - [use libsmi MIB/PIB library @<:@default=yes, if available@:>@]), - [], [with_libsmi="if_available"]) - -have_libsmi=no -if test "x$with_libsmi" != "xno"; then - PKG_CHECK_MODULES(LIBSMI, libsmi, - [have_libsmi=yes - AC_DEFINE(HAVE_LIBSMI, 1, [Define if you have libsmi]) - ], - [if test "x$with_libsmi" = "xyes"; then - # Error out if the user explicitly requested libsmi - AC_MSG_ERROR([Libsmi was requested, but is not installed for development]) - fi - ] - ) -fi - -dnl -dnl check whether plugins should be enabled -dnl -AC_ARG_ENABLE(plugins, - AC_HELP_STRING( [--enable-plugins], - [support plugins (if available on your platform) @<:@default=yes@:>@]), - [have_plugins=$enableval], [have_plugins=yes]) - -AM_CONDITIONAL(HAVE_PLUGINS, test "x$have_plugins" = "xyes") -if test x$have_plugins = xyes -then - AC_DEFINE(HAVE_PLUGINS, 1, [Define if plugins are enabled]) -fi -dnl we don't wish to expand ${libdir} yet -plugindir="\${libdir}/wireshark/plugins/$VERSION_RELEASE" -AC_SUBST(plugindir) - -# -# The plugin dissectors reside in ./plugins/PROTO/ -# -PLUGIN_LIBS="" -AC_SUBST(PLUGIN_LIBS) - -dnl -dnl check whether extcap programs should be enabled and, if they should be, -dnl check for extcap directory - stolen from Amanda's configure.ac -dnl -dnl we don't wish to expand ${libdir} yet -extcapdir="\${libdir}/wireshark/extcap" -extcap_man="extcap.4" - -AC_SUBST(extcap_man) -AC_SUBST(extcapdir) - -dnl androiddump check -AC_MSG_CHECKING(whether to build androiddump) - -AC_ARG_ENABLE(androiddump, - AC_HELP_STRING( [--enable-androiddump], - [build androiddump @<:@default=yes@:>@]), - androiddump=$enableval,enable_androiddump=yes) - -if test "x$enable_androiddump" = "xyes" ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - -AC_ARG_ENABLE(androiddump_use_libpcap, - AC_HELP_STRING( [--enable-androiddump-use-libpcap], - [build androiddump using libpcap @<:@default=no@:>@]), - androiddump_use_libpcap=$enableval,enable_androiddump_use_libpcap=no) - -if test "x$enable_androiddump" = "xyes" -a "x$enable_androiddump_use_libpcap" = "xyes" ; then - AC_DEFINE(ANDROIDDUMP_USE_LIBPCAP, 1, [Androiddump will use Libpcap]) -fi - -if test "x$enable_androiddump" = "xyes" ; then - androiddump_bin="androiddump\$(EXEEXT)" - androiddump_man="androiddump.1" -else - androiddump_bin="" - androiddump_man="" -fi -AC_SUBST(androiddump_bin) -AC_SUBST(androiddump_man) - -dnl sshdump check -AC_MSG_CHECKING(whether to build sshdump) - -AC_ARG_ENABLE(sshdump, - AC_HELP_STRING( [--enable-sshdump], - [build sshdump @<:@default=yes@:>@]), - [],[enable_sshdump=yes]) - -if test "x$have_libssh_pointsix" != xyes; then - AC_MSG_RESULT([no, libssh >= 0.6.0 not installed for development]) - enable_sshdump=no -elif test "x$enable_sshdump" = "xyes" ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - -if test "x$enable_sshdump" = "xyes" ; then - sshdump_bin="sshdump\$(EXEEXT)" - sshdump_man="sshdump.1" -else - sshdump_bin="" - sshdump_man="" -fi -AC_SUBST(sshdump_bin) -AC_SUBST(sshdump_man) - -dnl ciscodump check -AC_MSG_CHECKING(whether to build ciscodump) - -AC_ARG_ENABLE(ciscodump, - AC_HELP_STRING( [--enable-ciscodump], - [build ciscodump @<:@default=yes@:>@]), - [],[enable_ciscodump=yes]) - -if test "x$have_libssh_pointsix" != xyes; then - AC_MSG_RESULT([no, libssh >= 0.6.0 not installed for development]) - enable_ciscodump=no -elif test "x$enable_ciscodump" = "xyes" ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - -if test "x$enable_ciscodump" = "xyes" ; then - ciscodump_bin="ciscodump\$(EXEEXT)" - ciscodump_man="ciscodump.1" -else - ciscodump_bin="" - ciscodump_man="" -fi -AC_SUBST(ciscodump_bin) -AC_SUBST(ciscodump_man) - -dnl randpktdump check -AC_MSG_CHECKING(whether to build randpktdump) - -AC_ARG_ENABLE(randpktdump, - AC_HELP_STRING( [--enable-randpktdump], - [build randpktdump @<:@default=yes@:>@]), - randpktdump=$enableval,enable_randpktdump=yes) - -if test "x$enable_randpktdump" = "xyes" ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - -if test "x$enable_randpktdump" = "xyes" ; then - randpktdump_bin="randpktdump\$(EXEEXT)" - randpktdump_man="randpktdump.1" -else - randpktdump_bin="" - randpktdump_man="" -fi -AC_SUBST(randpktdump_bin) -AC_SUBST(randpktdump_man) - -dnl udpdump check -AC_MSG_CHECKING(whether to build udpdump) - -AC_ARG_ENABLE(udpdump, - AC_HELP_STRING( [--enable-udpdump], - [build udpdump @<:@default=yes@:>@]), - [],[enable_udpdump=yes]) - -if test "x$enable_udpdump" = "xyes" ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - -if test "x$enable_udpdump" = "xyes" ; then - udpdump_bin="udpdump\$(EXEEXT)" - udpdump_man="udpdump.1" -else - udpdump_bin="" - udpdump_man="" -fi -AC_SUBST(udpdump_bin) -AC_SUBST(udpdump_man) - -AM_CONDITIONAL(ENABLE_STATIC, test x$enable_static = xyes) -if test x$enable_static = xyes -then - AC_DEFINE(ENABLE_STATIC, 1, [Link Wireshark libraries statically]) -fi - -# Gather which GUI we're building for rpmbuild -if test "x$have_qt" = "xyes" ; then - RPMBUILD_WITH_ARGS="$RPMBUILD_WITH_ARGS --with qt5" -else - RPMBUILD_WITH_ARGS="$RPMBUILD_WITH_ARGS --without qt --without qt5" -fi -if test "x$have_lua" = "xyes" ; then - RPMBUILD_WITH_ARGS="$RPMBUILD_WITH_ARGS --with lua" -else - RPMBUILD_WITH_ARGS="$RPMBUILD_WITH_ARGS --without lua" -fi -AC_SUBST(RPMBUILD_WITH_ARGS) -AC_SUBST(RPM_VERSION, version_major.version_minor.version_micro) - -AC_SUBST(WS_CPPFLAGS) -AC_SUBST(WS_CFLAGS) -AC_SUBST(WS_CXXFLAGS) -AC_SUBST(WS_LDFLAGS) - -AC_SUBST(WS_CFLAGS_FOR_BUILD) - -AH_BOTTOM([#include ]) - -dnl Save the cacheable configure results to config.cache before recursing -AC_CACHE_SAVE - -m4_sinclude(plugins/Custom.m4) dnl -m4_ifndef(_CUSTOM_PLUGIN_CONFIG_FILES_, m4_define(_CUSTOM_PLUGIN_CONFIG_FILES_)) dnl - -sinclude(epan/dissectors/asn1/Custom.m4) dnl -ifdef(_CUSTOM_ASN1_AC_OUTPUT_,, define(_CUSTOM_ASN1_AC_OUTPUT_, )) dnl - -AC_CONFIG_HEADERS([config.h]) - -AC_CONFIG_FILES( - Makefile - doxygen.cfg - epan/dissectors/asn1/Makefile - wireshark.pc - _CUSTOM_ASN1_AC_OUTPUT_ - epan/dissectors/asn1/acp133/Makefile - epan/dissectors/asn1/acse/Makefile - epan/dissectors/asn1/ansi_map/Makefile - epan/dissectors/asn1/ansi_tcap/Makefile - epan/dissectors/asn1/atn-cm/Makefile - epan/dissectors/asn1/atn-cpdlc/Makefile - epan/dissectors/asn1/atn-ulcs/Makefile - epan/dissectors/asn1/c1222/Makefile - epan/dissectors/asn1/camel/Makefile - epan/dissectors/asn1/cdt/Makefile - epan/dissectors/asn1/charging_ase/Makefile - epan/dissectors/asn1/cmip/Makefile - epan/dissectors/asn1/cmp/Makefile - epan/dissectors/asn1/crmf/Makefile - epan/dissectors/asn1/cms/Makefile - epan/dissectors/asn1/credssp/Makefile - epan/dissectors/asn1/dap/Makefile - epan/dissectors/asn1/disp/Makefile - epan/dissectors/asn1/dop/Makefile - epan/dissectors/asn1/dsp/Makefile - epan/dissectors/asn1/ess/Makefile - epan/dissectors/asn1/f1ap/Makefile - epan/dissectors/asn1/ftam/Makefile - epan/dissectors/asn1/goose/Makefile - epan/dissectors/asn1/gprscdr/Makefile - epan/dissectors/asn1/gsm_map/Makefile - epan/dissectors/asn1/h225/Makefile - epan/dissectors/asn1/h235/Makefile - epan/dissectors/asn1/h245/Makefile - epan/dissectors/asn1/h248/Makefile - epan/dissectors/asn1/h282/Makefile - epan/dissectors/asn1/h283/Makefile - epan/dissectors/asn1/h323/Makefile - epan/dissectors/asn1/h450/Makefile - epan/dissectors/asn1/h450-ros/Makefile - epan/dissectors/asn1/h460/Makefile - epan/dissectors/asn1/h501/Makefile - epan/dissectors/asn1/HI2Operations/Makefile - epan/dissectors/asn1/hnbap/Makefile - epan/dissectors/asn1/idmp/Makefile - epan/dissectors/asn1/ilp/Makefile - epan/dissectors/asn1/inap/Makefile - epan/dissectors/asn1/isdn-sup/Makefile - epan/dissectors/asn1/kerberos/Makefile - epan/dissectors/asn1/lcsap/Makefile - epan/dissectors/asn1/ldap/Makefile - epan/dissectors/asn1/logotypecertextn/Makefile - epan/dissectors/asn1/lpp/Makefile - epan/dissectors/asn1/lppa/Makefile - epan/dissectors/asn1/lppe/Makefile - epan/dissectors/asn1/lte-rrc/Makefile - epan/dissectors/asn1/m2ap/Makefile - epan/dissectors/asn1/m3ap/Makefile - epan/dissectors/asn1/mms/Makefile - epan/dissectors/asn1/mpeg-audio/Makefile - epan/dissectors/asn1/mpeg-pes/Makefile - epan/dissectors/asn1/mudurl/Makefile - epan/dissectors/asn1/nbap/Makefile - epan/dissectors/asn1/nr-rrc/Makefile - epan/dissectors/asn1/ns_cert_exts/Makefile - epan/dissectors/asn1/novell_pkis/Makefile - epan/dissectors/asn1/ocsp/Makefile - epan/dissectors/asn1/p1/Makefile - epan/dissectors/asn1/p22/Makefile - epan/dissectors/asn1/p7/Makefile - epan/dissectors/asn1/p772/Makefile - epan/dissectors/asn1/pcap/Makefile - epan/dissectors/asn1/pkcs1/Makefile - epan/dissectors/asn1/pkcs12/Makefile - epan/dissectors/asn1/pkinit/Makefile - epan/dissectors/asn1/pkixac/Makefile - epan/dissectors/asn1/pkix1explicit/Makefile - epan/dissectors/asn1/pkix1implicit/Makefile - epan/dissectors/asn1/pkixproxy/Makefile - epan/dissectors/asn1/pkixqualified/Makefile - epan/dissectors/asn1/pkixtsp/Makefile - epan/dissectors/asn1/pres/Makefile - epan/dissectors/asn1/q932/Makefile - epan/dissectors/asn1/q932-ros/Makefile - epan/dissectors/asn1/qsig/Makefile - epan/dissectors/asn1/ranap/Makefile - epan/dissectors/asn1/rnsap/Makefile - epan/dissectors/asn1/ros/Makefile - epan/dissectors/asn1/rrc/Makefile - epan/dissectors/asn1/rrlp/Makefile - epan/dissectors/asn1/rtse/Makefile - epan/dissectors/asn1/rua/Makefile - epan/dissectors/asn1/s1ap/Makefile - epan/dissectors/asn1/sabp/Makefile - epan/dissectors/asn1/sbc-ap/Makefile - epan/dissectors/asn1/smrse/Makefile - epan/dissectors/asn1/snmp/Makefile - epan/dissectors/asn1/spnego/Makefile - epan/dissectors/asn1/sv/Makefile - epan/dissectors/asn1/t124/Makefile - epan/dissectors/asn1/t125/Makefile - epan/dissectors/asn1/t38/Makefile - epan/dissectors/asn1/tcap/Makefile - epan/dissectors/asn1/tetra/Makefile - epan/dissectors/asn1/ulp/Makefile - epan/dissectors/asn1/wlancertextn/Makefile - epan/dissectors/asn1/x2ap/Makefile - epan/dissectors/asn1/x509af/Makefile - epan/dissectors/asn1/x509ce/Makefile - epan/dissectors/asn1/x509if/Makefile - epan/dissectors/asn1/x509sat/Makefile - capchild/Makefile - caputils/Makefile - doc/Makefile - docbook/Makefile - epan/Makefile - epan/crypt/Makefile - epan/dfilter/Makefile - epan/dissectors/Makefile - epan/dissectors/dcerpc/Makefile - epan/ftypes/Makefile - epan/wmem/Makefile - epan/wslua/Makefile - extcap/Makefile - codecs/Makefile - ui/Makefile - ui/cli/Makefile - ui/qt/Makefile - help/Makefile - packaging/Makefile - packaging/macosx/Info.plist - packaging/macosx/Makefile - packaging/macosx/Wireshark_package.pmdoc/index.xml - packaging/nsis/Makefile - packaging/rpm/Makefile - packaging/rpm/SPECS/Makefile - packaging/rpm/SPECS/wireshark.spec - packaging/wix/Makefile - plugins/Makefile - plugins/epan/ethercat/Makefile - plugins/epan/gryphon/Makefile - plugins/epan/irda/Makefile - plugins/epan/mate/Makefile - plugins/epan/opcua/Makefile - plugins/epan/profinet/Makefile - plugins/epan/stats_tree/Makefile - plugins/epan/transum/Makefile - plugins/epan/unistim/Makefile - plugins/epan/wimax/Makefile - plugins/epan/wimaxasncp/Makefile - plugins/epan/wimaxmacphy/Makefile - plugins/wiretap/usbdump/Makefile - plugins/codecs/l16_mono/Makefile - _CUSTOM_PLUGIN_CONFIG_FILES_ - randpkt_core/Makefile - tools/Makefile - tools/lemon/Makefile - wiretap/Makefile - writecap/Makefile - wsutil/Makefile -) - -AC_OUTPUT - - -# Pretty messages - -if test "x$have_qt" = "xyes" ; then - enable_wireshark_qt="yes" - qt_lib_message=" (with Qt$qt_version v$QT_VERSION)" -else - enable_wireshark_qt="no" -fi - -if test "x$enable_setcap_install" = "xyes" ; then - setcap_message="yes" -else - setcap_message="no" -fi - -if test "x$enable_setuid_install" = "xyes" ; then - setuid_message="yes" -else - setuid_message="no" -fi - -if test "x$DUMPCAP_GROUP" = "x" ; then - dumpcap_group_message="(none)" -else - dumpcap_group_message="$DUMPCAP_GROUP" -fi - -if test "x$want_zlib" = "xno" ; then - zlib_message="no" -else - zlib_message="yes" -fi - -if test "x$have_lua" = "xyes" ; then - lua_message="yes" -else - lua_message="no" -fi - -if test "x$have_qt_multimedia_lib" = "xyes" ; then - qt_multimedia_message="yes" -else - qt_multimedia_message="no" -fi - -if test "x$want_krb5" = "xno" ; then - krb5_message="no" -else - krb5_message="yes ($ac_krb5_version)" -fi - -if test "x$have_good_c_ares" = "xyes" ; then - c_ares_message="yes" -else - c_ares_message="no (name resolution will be disabled)" -fi - -if test "x$have_good_libcap" = "xyes" ; then - libcap_message="yes" -else - libcap_message="no" -fi - -if test "x$have_good_maxminddb" = "xyes" ; then - maxminddb_message="yes" -else - maxminddb_message="no" -fi - -if test "x$have_good_libssh" = "xyes" ; then - libssh_message="yes" - if test "x$have_ssh_userauth_agent" = "xno" ; then - ssh_userauth_agent_message=" (without ssh_userauth_agent)" - fi -else - libssh_message="no" -fi - -if test "x$have_good_nghttp2" = "xyes" ; then - nghttp2_message="yes" -else - nghttp2_message="no" -fi - -if test "x$have_good_bcg729" = "xyes" ; then - bcg729_message="yes" -else - bcg729_message="no" -fi - -if test "x$have_wsug" = xyes -a "x$want_wsug" != xno; then - wsug_message="yes" -else - wsug_message="no" -fi - -echo "" -echo " CPPFLAGS: $WS_CPPFLAGS $CPPFLAGS" -echo "" -echo " CFLAGS: $WS_CFLAGS $CFLAGS" -echo "" -echo " CXXFLAGS: $WS_CXXFLAGS $CXXFLAGS" -echo "" -echo " LDFLAGS: $WS_LDFLAGS $LDFLAGS" -echo "" -echo " LIBS: $LIBS" - -echo "" -echo "The Wireshark package has been configured with the following options:" -echo " GLib version : v$GLIB_VERSION" -echo " Build wireshark : $enable_wireshark_qt$qt_lib_message" -echo " Build tshark : $enable_tshark" -echo " Build tfshark : $enable_tfshark" -echo " Build capinfos : $enable_capinfos" -echo " Build captype : $enable_captype" -echo " Build editcap : $enable_editcap" -echo " Build dumpcap : $enable_dumpcap" -echo " Build mergecap : $enable_mergecap" -echo " Build reordercap : $enable_reordercap" -echo " Build text2pcap : $enable_text2pcap" -echo " Build randpkt : $enable_randpkt" -echo " Build dftest : $enable_dftest" -echo " Build rawshark : $enable_rawshark" -echo " Build sharkd : $enable_sharkd" -echo " Build fuzzshark : $enable_fuzzshark" -echo " Build androiddump : $enable_androiddump" -echo " Build sshdump : $enable_sshdump" -echo " Build ciscodump : $enable_ciscodump" -echo " Build randpktdump : $enable_randpktdump" -echo " Build udpdump : $enable_udpdump" -echo " Build MaxMind DB resolver : $maxminddb_message" -echo " Build User's Guide : $wsug_message" -echo "" -echo " Save files as pcapng by default : $enable_pcap_ng_default" -echo " Install dumpcap with capabilities : $setcap_message" -echo " Install dumpcap setuid : $setuid_message" -echo " Use dumpcap group : $dumpcap_group_message" -echo " Use plugins : $have_plugins" -echo " Use Lua library : $lua_message" -echo " Build Qt RTP player : $qt_multimedia_message" -echo " Use pcap library : $want_pcap" -echo " Use zlib library : $zlib_message" -echo " Use kerberos library : $krb5_message" -echo " Use c-ares library : $c_ares_message" -echo " Use SMI MIB library : $have_libsmi" -echo " Use GNU gcrypt library : yes" -echo " Use GnuTLS library : $tls_message" -echo " Use POSIX capabilities library : $libcap_message" -echo " Use libssh library : ${libssh_message}${ssh_userauth_agent_message}" -echo " Use nl library : $libnl_message" -echo " Use SBC codec library : $have_sbc" -echo " Use SpanDSP library : $have_spandsp" -echo " Use bcg729 library : $bcg729_message" -echo " Use libxml2 library : $have_libxml2" -echo " Use nghttp2 library : $nghttp2_message" -echo " Use LZ4 library : $have_lz4" -echo " Use Snappy library : $have_snappy" -#echo " Use GDK-Pixbuf with GResource: $have_gresource_pixbuf" - -# We're slowly migrating to CMake. The following still use or refer -# to Autotools: -# - .travis.yml -# - INSTALL and INSTALL.configure -# - README.bsd -# - README.md -# - doc/README.packaging -# - doc/README.idl2wrs -# - doc/README.plugins -# - docbook/wsdg_src/WSDG_chapter_dissection.asciidoc -# - docbook/wsdg_src/WSDG_chapter_sources.asciidoc -# - docbook/wsug_src/WSUG_chapter_build_install.asciidoc -# - tools/git-compare-abis.sh -echo "" -AC_MSG_NOTICE([Builds using Autotools might be removed in the future.]) diff --git a/debian/control b/debian/control index c1c0cdc457..ca71ecc7de 100644 --- a/debian/control +++ b/debian/control @@ -85,8 +85,8 @@ Package: wireshark-dev Architecture: any Section: devel Depends: ${misc:Depends}, omniidl (>= 4.0.1-2), libpcap0.8-dev, libtool, - libglib2.0-dev, ${python:Depends}, python-ply, snacc, autotools-dev, debhelper, - cdbs, automake, autoconf, libwireshark-dev, libwiretap-dev + libglib2.0-dev, ${python:Depends}, python-ply, snacc, debhelper, + cdbs, libwireshark-dev, libwiretap-dev Replaces: ethereal-dev (<< 1.0.0-3) Conflicts: ethereal-dev (<< 1.0.0-3) Description: network traffic analyzer - development tools diff --git a/debian/patches/05_note-README-when-running-as-root.patch b/debian/patches/05_note-README-when-running-as-root.patch deleted file mode 100644 index c6baf4af4c..0000000000 --- a/debian/patches/05_note-README-when-running-as-root.patch +++ /dev/null @@ -1,15 +0,0 @@ -Description: Note about README.Debian when running wireshark as root. -Forwarded: not-needed -Author: Balint Reczey - ---- a/ui/gtk/main.c -+++ b/ui/gtk/main.c -@@ -1949,7 +1949,7 @@ - "This could be dangerous.\n\n" - "If you're running Wireshark this way in order to perform live capture, " - "you may want to be aware that there is a better way documented at\n" -- "https://wiki.wireshark.org/CaptureSetup/CapturePrivileges", cur_user, cur_group); -+ "/usr/share/doc/wireshark-common/README.Debian", cur_user, cur_group); - g_free(cur_user); - g_free(cur_group); - simple_dialog_check_set(priv_warning_dialog, "Don't show this message again."); diff --git a/debian/patches/06_release-version.patch b/debian/patches/06_release-version.patch deleted file mode 100644 index bc806ce222..0000000000 --- a/debian/patches/06_release-version.patch +++ /dev/null @@ -1,15 +0,0 @@ -Description: Don't regenerate svnversion.h -Forwarded: not-needed -Author: Balint Reczey - ---- a/Makefile.am -+++ b/Makefile.am -@@ -776,7 +776,7 @@ - # FORCE is the portable version of .PHONY - FORCE: - --version.h: FORCE -+version.h: - $(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir) - - # diff --git a/debian/patches/series b/debian/patches/series index b89567a9c1..0cf27e2a5e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1,3 @@ 04_asn2wrs_ply.patch -05_note-README-when-running-as-root.patch -06_release-version.patch 09_idl2wrs.patch 16_licence_about_location.patch diff --git a/diameter/dictionary.xml b/diameter/dictionary.xml index 7d22c2eedf..318469a5bc 100644 --- a/diameter/dictionary.xml +++ b/diameter/dictionary.xml @@ -4,8 +4,7 @@ + diff --git a/doc/Makefile.am b/doc/Makefile.am deleted file mode 100644 index c88ebc7bc4..0000000000 --- a/doc/Makefile.am +++ /dev/null @@ -1,355 +0,0 @@ -# Makefile.am -# Automake file for Wireshark documentation -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -# We include dependencies on ../config.h in order to -# capture when $(VERSION) changes. - -# -# This is a hideous hack. -# -# Automake needs to know into which sections to install various man -# pages; if the names in "man_MANS" have suffixes, it can infer the -# sections from the name (e.g., "hello.1" goes in section 1), but if -# they don't have suffixes, it can't tell what sections to put them, and -# it just gives up and doesn't create any rules to install them (and it -# gives up silently, so you have no clue what's wrong). -# -# Therefore, we can't just set "man_MANS" to a list of variables to be -# filled in by the configure script, as those variables don't have man -# page section numbers. -# -# It turns out (although this is not documented anywhere I could find -# in the automake Info file) that if you define, instead, variables with -# names like "man{section}_MANS", automake will infer that the names in -# those variables are the names of man pages to be installed in section -# "{section}". -# -# So we define "man1_MANS" to contain all the section 1 man pages and -# man4_MANS for the (one) section 4 man page. -# -# *However*, if "man_MANS" isn't defined at all, automake concludes that -# there are no man pages, the fact that, say, "man1_MANS" is defined -# nonwithstanding! (I suspect this is the result of a mistaken attempt -# to get people to fix their automake files not to use "MANS"; if "MANS" -# is defined, it prints a warning and sets the exit status, but doesn't -# exit, and then it just gives up if "man_MANS" isn't defined, -# presumably on the theory that the only reason it wouldn't be defined -# is because the automake file uses the obsolete "MANS" variable instead -# of the shiny new "man_MANS" variable.) -# -# So we also define "man_MANS", but don't define it as anything; -# automake will arrange that the Makefile define it as the union of all -# the "man{section}_MANS" variables. -# -man1_MANS = \ - @wireshark_man@ \ - @tshark_man@ \ - @text2pcap_man@ \ - @mergecap_man@ \ - @reordercap_man@ \ - @capinfos_man@ \ - @captype_man@ \ - @editcap_man@ \ - @dumpcap_man@ \ - @rawshark_man@ \ - @dftest_man@ \ - @randpkt_man@ \ - @androiddump_man@ \ - @ciscodump_man@ \ - @sshdump_man@ \ - @randpktdump_man@ \ - @udpdump_man@ \ - @mmdbresolve_man@ - -man4_MANS = \ - @extcap_man@ \ - @wiresharkfilter_man@ -man_MANS = - -# Build these in case a developer wants to read them and for the Debian -# development package. -# (The former arguably should be in noinst_MANS but it didn't work for me.) -noinst_DATA = asn2deb.1 asn2deb.html idl2deb.1 idl2deb.html idl2wrs.1 idl2wrs.html - -pkgdata_DATA = AUTHORS-SHORT $(top_srcdir)/docbook/ws.css wireshark.html \ - tshark.html wireshark-filter.html capinfos.html captype.html ciscodump.html \ - editcap.html mergecap.html reordercap.html text2pcap.html dumpcap.html \ - androiddump.html sshdump.html randpktdump.html rawshark.html dftest.html \ - randpkt.html extcap.html udpdump.html mmdbresolve.html - -# -# Build the short version of the authors file for the about dialog -# Put a copy in the top-level directory so Help->About, when run from the -# build directory, can find it. -# -AUTHORS-SHORT: $(top_srcdir)/AUTHORS $(srcdir)/make-authors-short.pl - $(AM_V_GEN)$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-short.pl \ - < $(top_srcdir)/AUTHORS > AUTHORS-SHORT && \ - cp $@ $(top_builddir) - -# -# Build the short version of the authors file with formatting codes for the -# man page -# -AUTHORS-SHORT-FORMAT: AUTHORS-SHORT $(srcdir)/make-authors-format.pl - $(AM_V_GEN)$(PERL) $(srcdir)/perlnoutf.pl $(srcdir)/make-authors-format.pl \ - < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT - -wireshark.pod: $(srcdir)/wireshark.pod.template AUTHORS-SHORT-FORMAT - $(AM_V_GEN)cat $(srcdir)/wireshark.pod.template AUTHORS-SHORT-FORMAT > wireshark.pod - -AM_V_POD2MAN = $(am__v_POD2MAN_@AM_V@) -am__v_POD2MAN_ = $(am__v_POD2MAN_@AM_DEFAULT_V@) -am__v_POD2MAN_0 = @echo " POD2MAN " $@; - -AM_V_POD2HTML = $(am__v_POD2HTML_@AM_V@) -am__v_POD2HTML_ = $(am__v_POD2HTML_@AM_DEFAULT_V@) -am__v_POD2HTML_0 = @echo " POD2HTML" $@; - -POD_CSS_URL ?= $(top_srcdir)/docbook/ws.css - -.pod.1: ../config.h - $(AM_V_POD2MAN)$(POD2MAN) \ - --center="The Wireshark Network Analyzer" \ - --release=$(VERSION) \ - $< > $@ - -.pod.html: ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $< > $@ - -# These rules need to stay separate because of the --section option. -wireshark-filter.4: wireshark-filter.pod ../config.h - $(AM_V_POD2MAN)$(POD2MAN) \ - --section=4 \ - --center="The Wireshark Network Analyzer" \ - --release=$(VERSION) \ - $(srcdir)/wireshark-filter.pod > wireshark-filter.4 - -extcap.4: extcap.pod ../config.h - $(AM_V_POD2MAN)$(POD2MAN) \ - --section=4 \ - --center="The Wireshark Network Analyzer" \ - --release=$(VERSION) \ - $(srcdir)/extcap.pod > extcap.4 - -# These rules need to stay separate because each man page has a separate -# title. Using GNU make's pattern rules would allow these to be removed -# but at the cost of portability. -tshark.html: tshark.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="tshark - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/tshark.pod > tshark.html - -wireshark-filter.html: wireshark-filter.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/wireshark-filter.pod > wireshark-filter.html - -extcap.html: extcap.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="extcap - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/extcap.pod > extcap.html - -capinfos.html: capinfos.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/capinfos.pod > capinfos.html - -captype.html: captype.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="captype - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/captype.pod > captype.html - -editcap.html: editcap.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="editcap - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/editcap.pod > editcap.html - -idl2wrs.html: idl2wrs.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/idl2wrs.pod > idl2wrs.html - -mergecap.html: mergecap.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/mergecap.pod > mergecap.html - -reordercap.html: reordercap.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="reordercap - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/reordercap.pod > reordercap.html - -text2pcap.html: text2pcap.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/text2pcap.pod > text2pcap.html - -dumpcap.html: dumpcap.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/dumpcap.pod > dumpcap.html - -androiddump.html: androiddump.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="androiddump - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/androiddump.pod > androiddump.html - -sshdump.html: sshdump.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="sshdump - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/sshdump.pod > sshdump.html - -ciscodump.html: ciscodump.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="ciscodump - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/ciscodump.pod > ciscodump.html - -randpktdump.html: randpktdump.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="randpktdump - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/randpktdump.pod > randpktdump.html - -rawshark.html: rawshark.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="rawshark - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/rawshark.pod > rawshark.html - -dftest.html: dftest.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="dftest - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/dftest.pod > dftest.html - -randpkt.html: randpkt.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="randpkt - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/randpkt.pod > randpkt.html - -udpdump.html: udpdump.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="udpdump - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/udpdump.pod > udpdump.html - -mmdbresolve.html: mmdbresolve.pod ../config.h $(top_srcdir)/docbook/ws.css - $(AM_V_POD2HTML)$(POD2HTML) \ - --title="mmdbresolve - The Wireshark Network Analyzer $(VERSION)" \ - --css=$(POD_CSS_URL) \ - --noindex \ - $(srcdir)/mmdbresolve.pod > mmdbresolve.html - -CLEANFILES = \ - wireshark.pod \ - *.1 \ - *.4 \ - *.html - -DISTCLEANFILES = \ - pod2htmi.tmp \ - pod2htmd.tmp \ - AUTHORS-SHORT \ - ../AUTHORS-SHORT \ - AUTHORS-SHORT-FORMAT \ - *~ - -EXTRA_DIST = \ - README.capture \ - README.design \ - README.developer \ - README.display_filter \ - README.dissector \ - README.extcap \ - README.heuristic \ - README.idl2wrs \ - README.packaging \ - README.plugins \ - README.regression \ - README.request_response_tracking\ - README.stats_tree \ - README.tapping \ - README.wmem \ - README.wslua \ - README.xml-output \ - androiddump.pod \ - asn2deb.pod \ - capinfos.pod \ - captype.pod \ - ciscodump.pod \ - dftest.pod \ - dumpcap.pod \ - editcap.pod \ - extcap.pod \ - idl2deb.pod \ - idl2wrs.pod \ - make-authors-format.pl \ - make-authors-short.pl \ - mergecap.pod \ - packet-PROTOABBREV.c \ - perlnoutf.pl \ - plugins.example/configure.ac \ - plugins.example/hello.c \ - plugins.example/Makefile.am \ - plugins.example/README \ - randpkt.pod \ - randpkt.txt \ - randpktdump.pod \ - rawshark.pod \ - reordercap.pod \ - sgml.doc.template \ - sshdump.pod \ - text2pcap.pod \ - tshark.pod \ - udpdump.pod \ - mmdbresolve.pod \ - wireshark-filter.pod \ - wireshark.pod.template \ - CMakeLists.txt - diff --git a/doc/README.dissector b/doc/README.dissector index 70a6875d1b..1096588297 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -67,8 +67,7 @@ Usually, you will put your newly created dissector file into the directory epan/dissectors/, just like all the other packet-*.c files already in there. Also, please add your dissector file to the corresponding makefiles, -described in section "1.8 Editing Makefile.am and CMakeLists.txt -to add your dissector" below. +described in section "1.8 Editing CMakeLists.txt to add your dissector" below. Dissectors that use the dissector registration API to register with a lower level protocol (this is the vast majority) don't need to define a prototype in @@ -654,8 +653,7 @@ generated automatically; to arrange that a protocol's register routine be called at startup: the file containing a dissector's "register" routine must be - added to "DISSECTOR_SRC" in "epan/dissectors/Makefile.am" - (and in "epan/dissectors/CMakeLists.txt"); + added to "DISSECTOR_SRC" in "epan/dissectors/CMakeLists.txt"; the "register" routine must have a name of the form "proto_register_XXX"; @@ -2406,23 +2404,11 @@ This allows dissection of a packet to be expanded outside of dissector without having to modify the dissector directly. -1.8 Editing Makefile.am and CMakeLists.txt to add your dissector. +1.8 Editing CMakeLists.txt to add your dissector. To arrange that your dissector will be built as part of Wireshark, you -must add the name of the source file for your dissector to the -'DISSECTOR_SRC' macro in the 'Makefile.am' file in the 'epan/dissectors' -directory. (Note that this is for modern versions of UNIX, so there -is no 14-character limitation on file names, and for modern versions of -Windows, so there is no 8.3-character limitation on file names.) - -If your dissector also has its own header file or files, you must add -them to the 'DISSECTOR_INCLUDES' macro in the 'Makefile.am' file in -the 'epan/dissectors' directory, so that it's included when release source -tarballs are built (otherwise, the source in the release tarballs won't -compile). - -In addition to the above, you should add your dissector source file name -to the DISSECTOR_SRC section of epan/dissectors/CMakeLists.txt +must add the name of the source file for your dissector to the DISSECTOR_SRC +section of epan/dissectors/CMakeLists.txt 1.9 Using the git source code tree. diff --git a/doc/README.idl2wrs b/doc/README.idl2wrs index 02907e82a3..9d3e612c2f 100644 --- a/doc/README.idl2wrs +++ b/doc/README.idl2wrs @@ -96,7 +96,6 @@ steps 3 or 4 instead. following files to include the packet-test-idl.c cp packet-test-idl.c /dir/where/wireshark/lives/epan/dissectors/ - edit epan/dissectors/Makefile.am edit epan/dissectors/CMakeLists.txt 6. Run configure diff --git a/doc/README.plugins b/doc/README.plugins index b8f716a3d2..d39d244461 100644 --- a/doc/README.plugins +++ b/doc/README.plugins @@ -29,7 +29,6 @@ The plugin should be placed in a new plugins/epan/foo directory which should contain at least the following files: CMakeLists.txt -Makefile.am README The README can be brief but it should provide essential information relevant @@ -46,20 +45,7 @@ For your plugins/epan/foo/CMakeLists.txt file, see the corresponding file in plugins/epan/gryphon. Replace all occurrences of "gryphon" in those files with "foo" and add your source files to the DISSECTOR_SRC variable. -2.2 Makefile.am - -For your plugins/epan/foo/Makefile.am file, see the corresponding file in -plugins/epan/gryphon. Replace all occurrences of "gryphon" in those files -with "foo". - -Your plugins/epan/foo/Makefile.am also needs to list the main source file -which exports plugin_register() for your dissector in the -DISSECTOR_SRC variable. All other supporting source files should be -listed in the DISSECTOR_SUPPORT_SRC variable. -The header files for your dissector, if any, must be listed in the -DISSECTOR_INCLUDES variable. - -2.4 plugin.rc.in +2.2 plugin.rc.in Your plugins/epan/foo/plugin.rc.in is the Windows resource template file used to add the plugin specific information as resources to the DLL. @@ -106,10 +92,7 @@ In order to be able to permanently add a plugin take the following steps. You will need to change the following files: configure.ac CMakeLists.txt - epan/Makefile.am - Makefile.am packaging/nsis/wireshark.nsi - plugins/Makefile.am You might also want to search your Wireshark development directory for occurrences of an existing plugin name, in case this document is out of @@ -119,49 +102,7 @@ date with the current directory structure. For example, could be used from a shell prompt. -3.2.1 Changes to plugins/Makefile.am - -The plugins directory contains a Makefile.am. You need to add to SUBDIRS -(in alphabetical order) the name of your plugin: - -SUBDIRS = $(_CUSTOM_SUBDIRS_) \ - ... - epan/ethercat \ - epan/foo \ - epan/gryphon \ - epan/irda \ - - -3.2.2 Changes to the top level configure.ac - -You need to add your plugins Makefile (in alphabetical order) to the -AC_OUTPUT rule in the configure.ac - -AC_OUTPUT( - ... - plugins/epan/ethercat/Makefile - plugins/epan/foo/Makefile - plugins/epan/gryphon/Makefile - plugins/epan/irda/Makefile - ... - ,) - -3.2.3 Changes to epan/Makefile.am - -Add the relative path of all your plugin source files (in alphbetical -order) to plugin_src: - -plugin_src = \ - ... - ../plugins/epan/ethercat/packet-ioraw.c \ - ../plugins/epan/ethercat/packet-nv.c \ - ../plugins/epan/foo/packet-foo.c \ - ../plugins/epan/gryphon/packet-gryphon.c \ - ../plugins/epan/irda/packet-ircomm.c \ - ../plugins/epan/irda/packet-irda.c \ - ... - -3.2.4 Changes to CMakeLists.txt +3.2.1 Changes to CMakeLists.txt Add your plugin (in alphabetical order) to the PLUGIN_SRC_DIRS: @@ -175,12 +116,12 @@ if(ENABLE_PLUGINS) plugins/epan/irda ... -3.2.5 Changes to the installers +3.2.2 Changes to the installers If you want to include your plugin in an installer you have to add lines in the NSIS installer wireshark.nsi file. -3.2.5.1 Changes to packaging/nsis/wireshark.nsi +3.2.2.1 Changes to packaging/nsis/wireshark.nsi Add the relative path of your plugin DLL (in alphbetical order) to the list of "File" statements in the "Dissector Plugins" section: @@ -190,7 +131,7 @@ File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\epan\foo.dll" File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\epan\gryphon.dll" File "${STAGING_DIR}\plugins\${VERSION_MAJOR}.${VERSION_MINOR}\epan\irda.dll" -3.2.5.2 Other installers +3.2.2.2 Other installers The PortableApps installer copies plugins from the build directory and should not require configuration. @@ -303,8 +244,6 @@ is encouraged to update their plugins as outlined below: o Remove the init function. - o Change the Makefile.am file to match the one of the DOCSIS plugin. - 6 How to plugin related interface options To demonstrate the functionality of the plugin interface options, a diff --git a/doc/README.wslua b/doc/README.wslua index 738535c615..1bc10aead8 100644 --- a/doc/README.wslua +++ b/doc/README.wslua @@ -44,10 +44,9 @@ Lua tables. (you can do so, but it's not advisable) Both of the perl scripts above are given the C-source files to search through by the make process, generated from the lists in epan/wslua/CMakeLists.txt. Naturally if you add new source files, you need to add them to the list in -epan/wslua/CMakeLists.txt and epan/wslua/Makefile.am. You also have to add -the module name into docbook/user-guide.xml and docbook/wsluarm.xml, and the -source files into docbook/CMakeLists.txt and docbook/Makefile.am, to get -it to be generated in the user guide. +epan/wslua/CMakeLists.txt. You also have to add the module name into +docbook/user-guide.xml and docbook/wsluarm.xml, and the source files into +docbook/CMakeLists.txt, to get it to be generated in the user guide. Another Perl script is used as well, called 'make-init-lua.pl', which generates the init.lua script. A large part of it deals with exposing #define @@ -309,7 +308,7 @@ WSLUA_CONTINUE_MODULE - like WSLUA_MODULE, except used at the top of a .c file to continue defining classes/functions/etc. within a previously declared module in a previous file (i.e., one that used WSLUA_MODULE). The module name must match the original one, and the .c file must be listed after the original one in the -CMakeLists.txt/Makefile.am lists in the docbook directory. +CMakeLists.txt lists in the docbook directory. WSLUA_ATTRIBUTE - this is another documentation-only "macro", only used within diff --git a/doc/plugins.example/Makefile.am b/doc/plugins.example/Makefile.am deleted file mode 100644 index 10abf565e8..0000000000 --- a/doc/plugins.example/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -WARNFLAGS = -Wall -Wextra - -plugindir := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --define-variable=libdir=$(libdir) --variable plugindir wireshark) - -epan_plugindir = $(plugindir)/epan - -VERSION_RELEASE := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --variable VERSION_RELEASE wireshark) - -epan_plugin_LTLIBRARIES = hello.la - -hello_la_SOURCES = hello.c - -hello_la_CPPFLAGS = -DVERSION_RELEASE=\"$(VERSION_RELEASE)\" - -hello_la_CFLAGS = $(WIRESHARK_CFLAGS) -fvisibility=hidden $(WARNFLAGS) - -hello_la_LDFLAGS = -module -avoid-version -shared - -hello_la_LIBADD = $(WIRESHARK_LIBS) - -homedir = $${HOME}/.local/lib/wireshark/plugins/$(VERSION_RELEASE)/epan - -install-home: - $(MKDIR_P) $(homedir) || exit 1; \ - $(INSTALL) $(builddir)/.libs/hello.so $(homedir) diff --git a/docbook/Makefile.am b/docbook/Makefile.am deleted file mode 100644 index c190d59817..0000000000 --- a/docbook/Makefile.am +++ /dev/null @@ -1,503 +0,0 @@ -# -# Make the "Wireshark User Guide" and "Wireshark Developer Guide" -# in several formats. -# See the README.adoc file for instructions. -# - -############### YOU SHOULDN'T HAVE TO EDIT ANYTHING BELOW THIS LINE! ################ - -WSUG_FILES = \ - wsug_src/WSUG_app_files.asciidoc \ - wsug_src/WSUG_app_howitworks.asciidoc \ - wsug_src/WSUG_app_messages.asciidoc \ - wsug_src/WSUG_app_protocols.asciidoc \ - wsug_src/WSUG_app_tools.asciidoc \ - wsug_src/WSUG_chapter_advanced.asciidoc \ - wsug_src/WSUG_chapter_build_install.asciidoc \ - wsug_src/WSUG_chapter_capture.asciidoc \ - wsug_src/WSUG_chapter_customize.asciidoc \ - wsug_src/WSUG_chapter_introduction.asciidoc \ - wsug_src/WSUG_chapter_io.asciidoc \ - wsug_src/WSUG_chapter_statistics.asciidoc \ - wsug_src/WSUG_chapter_telephony.asciidoc \ - wsug_src/WSUG_chapter_troubleshoot.asciidoc \ - wsug_src/WSUG_chapter_use.asciidoc \ - wsug_src/WSUG_chapter_work.asciidoc \ - wsug_src/WSUG_preface.asciidoc \ - ws.css - -WSUG_TOOLS_HELP_FILES = \ - wsug_src/capinfos-h.txt \ - wsug_src/dumpcap-h.txt \ - wsug_src/editcap-F.txt \ - wsug_src/editcap-T.txt \ - wsug_src/editcap-h.txt \ - wsug_src/mergecap-h.txt \ - wsug_src/rawshark-h.txt \ - wsug_src/reordercap-h.txt \ - wsug_src/text2pcap-h.txt \ - wsug_src/tshark-h.txt - -WSUG_GENERATED_SOURCE = \ - user-guide.xml - -WSUG_GRAPHICS = \ - wsug_graphics/captureOptions.png \ - wsug_graphics/related-ack.png \ - wsug_graphics/related-dup-ack.png \ - wsug_graphics/related-last.png \ - wsug_graphics/related-request.png \ - wsug_graphics/related-segment.png \ - wsug_graphics/related-current.png \ - wsug_graphics/related-first.png \ - wsug_graphics/related-other.png \ - wsug_graphics/related-response.png \ - wsug_graphics/ws-analyze-menu.png \ - wsug_graphics/ws-bytes-pane-tabs.png \ - wsug_graphics/ws-bytes-pane.png \ - wsug_graphics/ws-capture-info.png \ - wsug_graphics/ws-capture-interfaces.png \ - wsug_graphics/ws-capture-interface-details.png \ - wsug_graphics/ws-capture-interfaces-win32.png \ - wsug_graphics/ws-capture-menu.png \ - wsug_graphics/ws-capture-options.png \ - wsug_graphics/ws-capture-options-compile-selected-bpfs.png \ - wsug_graphics/ws-capture-options-output.png \ - wsug_graphics/ws-capture-options-manage-interfaces-local.png \ - wsug_graphics/ws-capture-options-manage-interfaces-pipes.png \ - wsug_graphics/ws-capture-options-manage-interfaces-remote-plus.png \ - wsug_graphics/ws-capture-options-manage-interfaces-remote.png \ - wsug_graphics/ws-capture-options-manage-interfaces.png \ - wsug_graphics/ws-capture-options-remote-capture.png \ - wsug_graphics/ws-capture-options-remote-interface.png \ - wsug_graphics/ws-capture-options-remote-settings.png \ - wsug_graphics/ws-capture-options-settings.png \ - wsug_graphics/ws-capture-preferences.png \ - wsug_graphics/ws-choose-color-rule.png \ - wsug_graphics/ws-coloring-fields.png \ - wsug_graphics/ws-coloring-rules-dialog.png \ - wsug_graphics/ws-column-header-popup-menu.png \ - wsug_graphics/ws-decode-as-show.png \ - wsug_graphics/ws-decode-as.png \ - wsug_graphics/ws-details-pane-popup-menu.png \ - wsug_graphics/ws-details-pane.png \ - wsug_graphics/ws-display-filter-tcp.png \ - wsug_graphics/ws-edit-menu.png \ - wsug_graphics/ws-enabled-protocols.png \ - wsug_graphics/ws-expert-colored-tree.png \ - wsug_graphics/ws-expert-column.png \ - wsug_graphics/ws-expert-infos.png \ - wsug_graphics/ws-export-objects.png \ - wsug_graphics/ws-export-pdml.png \ - wsug_graphics/ws-export-plain.png \ - wsug_graphics/ws-export-ps.png \ - wsug_graphics/ws-export-psml.png \ - wsug_graphics/ws-export-selected.png \ - wsug_graphics/ws-file-import.png \ - wsug_graphics/ws-file-menu.png \ - wsug_graphics/ws-file-set-dialog.png \ - wsug_graphics/ws-filter-add-expression.png \ - wsug_graphics/ws-filter-toolbar.png \ - wsug_graphics/ws-filters.png \ - wsug_graphics/ws-find-packet.png \ - wsug_graphics/ws-follow-stream.png \ - wsug_graphics/ws-go-menu.png \ - wsug_graphics/ws-goto-packet.png \ - wsug_graphics/ws-gui-colors-preferences.png \ - wsug_graphics/ws-gui-columns-preferences.png \ - wsug_graphics/ws-gui-config-profiles.png \ - wsug_graphics/ws-gui-font-preferences.png \ - wsug_graphics/ws-gui-interface-options.png \ - wsug_graphics/ws-gui-layout-preferences.png \ - wsug_graphics/ws-gui-preferences.png \ - wsug_graphics/ws-help-menu.png \ - wsug_graphics/ws-internals-menu.png \ - wsug_graphics/ws-list-pane.png \ - wsug_graphics/ws-logo.png \ - wsug_graphics/ws-main-toolbar.png \ - wsug_graphics/ws-main.png \ - wsug_graphics/ws-menu.png \ - wsug_graphics/ws-merge-gtk24.png \ - wsug_graphics/ws-merge-win32.png \ - wsug_graphics/ws-nameresolution-preferences.png \ - wsug_graphics/ws-open-gtk24.png \ - wsug_graphics/ws-open-win32.png \ - wsug_graphics/ws-packet-format.png \ - wsug_graphics/ws-packet-pane-popup-menu.png \ - wsug_graphics/ws-packet-range.png \ - wsug_graphics/ws-packet-selected.png \ - wsug_graphics/ws-packet-sep-win.png \ - wsug_graphics/ws-print.png \ - wsug_graphics/ws-printing-preferences.png \ - wsug_graphics/ws-save-as-gtk24.png \ - wsug_graphics/ws-save-as-win32.png \ - wsug_graphics/ws-statistics-menu.png \ - wsug_graphics/ws-stats-compare.png \ - wsug_graphics/ws-stats-conversations.png \ - wsug_graphics/ws-stats-endpoints.png \ - wsug_graphics/ws-stats-hierarchy.png \ - wsug_graphics/ws-stats-iographs.png \ - wsug_graphics/ws-stats-srt-dcerpc-filter.png \ - wsug_graphics/ws-stats-srt-dcerpc.png \ - wsug_graphics/ws-stats-summary.png \ - wsug_graphics/ws-stats-lte-mac-traffic.png \ - wsug_graphics/ws-stats-lte-rlc-traffic.png \ - wsug_graphics/ws-stats-wlan-traffic.png \ - wsug_graphics/ws-statusbar-empty.png \ - wsug_graphics/ws-statusbar-filter.png \ - wsug_graphics/ws-statusbar-loaded.png \ - wsug_graphics/ws-statusbar-profile.png \ - wsug_graphics/ws-statusbar-selected.png \ - wsug_graphics/ws-tel-rtpstream-analysis.png \ - wsug_graphics/ws-telephony-menu.png \ - wsug_graphics/ws-tools-menu.png \ - wsug_graphics/ws-time-reference.png \ - wsug_graphics/ws-view-menu.png \ - wsug_graphics/toolbar/autoscroll_24.png \ - wsug_graphics/toolbar/capture_filter_24.png \ - wsug_graphics/toolbar/capture_interfaces_24.png \ - wsug_graphics/toolbar/capture_options_24.png \ - wsug_graphics/toolbar/capture_restart_24.png \ - wsug_graphics/toolbar/capture_start_24.png \ - wsug_graphics/toolbar/capture_stop_24.png \ - wsug_graphics/toolbar/colorize_24.png \ - wsug_graphics/toolbar/display_filter_24.png \ - wsug_graphics/toolbar/resize_columns_24.png \ - wsug_graphics/toolbar/stock_add_24.png \ - wsug_graphics/toolbar/stock_apply_20.png \ - wsug_graphics/toolbar/stock_bottom_24.png \ - wsug_graphics/toolbar/stock_clear_24.png \ - wsug_graphics/toolbar/stock_close_24.png \ - wsug_graphics/toolbar/stock_colorselector_24.png \ - wsug_graphics/toolbar/stock_help_24.png \ - wsug_graphics/toolbar/stock_jump_to_24.png \ - wsug_graphics/toolbar/stock_left_arrow_24.png \ - wsug_graphics/toolbar/stock_open_24.png \ - wsug_graphics/toolbar/stock_preferences_24.png \ - wsug_graphics/toolbar/stock_print_24.png \ - wsug_graphics/toolbar/stock_properties_24.png \ - wsug_graphics/toolbar/stock_refresh_24.png \ - wsug_graphics/toolbar/stock_right_arrow_24.png \ - wsug_graphics/toolbar/stock_save_24.png \ - wsug_graphics/toolbar/stock_save_as_24.png \ - wsug_graphics/toolbar/stock_search_24.png \ - wsug_graphics/toolbar/stock_stop_24.png \ - wsug_graphics/toolbar/stock_top_24.png \ - wsug_graphics/toolbar/stock_zoom_1_24.png \ - wsug_graphics/toolbar/stock_zoom_in_24.png \ - wsug_graphics/toolbar/stock_zoom_out_24.png - -WSDG_FILES = \ - wsdg_src/WSDG_chapter_build_intro.asciidoc \ - wsdg_src/WSDG_chapter_capture.asciidoc \ - wsdg_src/WSDG_chapter_dissection.asciidoc \ - wsdg_src/WSDG_chapter_env_intro.asciidoc \ - wsdg_src/WSDG_chapter_libraries.asciidoc \ - wsdg_src/WSDG_chapter_quick_setup.asciidoc \ - wsdg_src/WSDG_chapter_sources.asciidoc \ - wsdg_src/WSDG_chapter_tools.asciidoc \ - wsdg_src/WSDG_chapter_userinterface.asciidoc \ - wsdg_src/WSDG_chapter_works.asciidoc \ - wsdg_src/WSDG_preface.asciidoc \ - wsluarm.asciidoc \ - ws.css - -WSDG_GENERATED_SOURCE = \ - developer-guide.xml - -WSDG_GRAPHICS = \ - wsdg_graphics/ws-capture-sync.dia \ - wsdg_graphics/ws-capture-sync.png \ - wsdg_graphics/ws-capture_internals.dia \ - wsdg_graphics/ws-capture_internals.png \ - wsdg_graphics/ws-function-blocks.dia \ - wsdg_graphics/ws-function-blocks.png \ - wsdg_graphics/ws-logo.png \ - wsdg_graphics/toolbar/dummy.dummy - -COMMON_FILES = \ - common_src/GPL_appendix.asciidoc \ - common_src/typographic_conventions.asciidoc - -COMMON_GRAPHICS = \ - common_graphics/note.svg \ - common_graphics/tip.svg \ - common_graphics/warning.svg - -# user-guide.xml must be first in the list (to match $<) -WSUG_DIST = \ - user-guide.asciidoc \ - attributes.asciidoc \ - custom_layer_chm.xsl \ - custom_layer_single_html.xsl \ - $(WSUG_FILES) \ - $(WSUG_TOOLS_HELP_FILES) \ - $(WSUG_GRAPHICS) \ - $(COMMON_FILES) \ - $(COMMON_GRAPHICS) - -WSUG_SOURCE = $(WSUG_GENERATED_SOURCE) $(WSUG_DIST) - -# developer-guide.asciidoc must be first in the list (to match $<) -WSDG_DIST = \ - developer-guide.asciidoc \ - attributes.asciidoc \ - custom_layer_chm.xsl \ - custom_layer_single_html.xsl \ - $(WSDG_FILES) \ - $(WSDG_GRAPHICS) \ - $(COMMON_FILES) \ - $(COMMON_GRAPHICS) - -WSDG_SOURCE = $(WSDG_GENERATED_SOURCE) $(WSDG_DIST) - -RELEASE_NOTES_SOURCE = \ - release-notes.asciidoc - -CLEANFILES = \ - *.chm \ - *.fo \ - *.hhc \ - *.hhp \ - *.pdf \ - $(WSDG_GENERATED_SOURCE) \ - $(WSUG_GENERATED_SOURCE) \ - wsdg_chm \ - wsdg_html.zip \ - wsdg_html_chunked.zip \ - wsug_chm \ - wsug_html.zip \ - wsug_html_chunked.zip \ - htmlhelp.* \ - release_notes_chm \ - release-notes.html \ - release-notes.txt \ - user-guide.zip \ - wsluarm - -CLEANDIRS = \ - wsdg_html \ - wsdg_html_chunked \ - wsug_html \ - wsug_html_chunked \ - wsluarm_src - -# Note: file order here MATTERS! -# new WSLUA_MODULE files must come right before any WSLUA_CONTINUE_MODULE -# files for the same module -WSLUA_MODULES = \ - $(top_srcdir)/epan/wslua/wslua_dumper.c \ - $(top_srcdir)/epan/wslua/wslua_field.c \ - $(top_srcdir)/epan/wslua/wslua_gui.c \ - $(top_srcdir)/epan/wslua/wslua_listener.c \ - $(top_srcdir)/epan/wslua/wslua_pinfo.c \ - $(top_srcdir)/epan/wslua/wslua_address.c \ - $(top_srcdir)/epan/wslua/wslua_column.c \ - $(top_srcdir)/epan/wslua/wslua_nstime.c \ - $(top_srcdir)/epan/wslua/wslua_proto.c \ - $(top_srcdir)/epan/wslua/wslua_dissector.c \ - $(top_srcdir)/epan/wslua/wslua_pref.c \ - $(top_srcdir)/epan/wslua/wslua_proto_expert.c \ - $(top_srcdir)/epan/wslua/wslua_proto_field.c \ - $(top_srcdir)/epan/wslua/wslua_int64.c \ - $(top_srcdir)/epan/wslua/wslua_struct.c \ - $(top_srcdir)/epan/wslua/wslua_tree.c \ - $(top_srcdir)/epan/wslua/wslua_tvb.c \ - $(top_srcdir)/epan/wslua/wslua_byte_array.c \ - $(top_srcdir)/epan/wslua/wslua_file.c \ - $(top_srcdir)/epan/wslua/wslua_file_handler.c \ - $(top_srcdir)/epan/wslua/wslua_frame_info.c \ - $(top_srcdir)/epan/wslua/wslua_capture_info.c \ - $(top_srcdir)/epan/wslua/wslua_dir.c \ - $(top_srcdir)/epan/wslua/wslua_util.c - -COMMON_XSLTPROC_ARGS = \ - --stringparam use.id.as.filename 1 \ - --stringparam admon.graphics 1 \ - --stringparam admon.graphics.extension .svg \ - --stringparam section.autolabel 1 \ - --stringparam section.label.includes.component.label 1 \ - --stringparam html.stylesheet ws.css - -WSUG_XSLTPROC_ARGS = \ - --stringparam admon.graphics.path wsug_graphics/ - -WSDG_XSLTPROC_ARGS = \ - --stringparam admon.graphics.path wsdg_graphics/ - -SINGLE_XSLTPROC_ARGS = \ - --nonet custom_layer_single_html.xsl - -CHUNKED_XSLTPROC_ARGS = \ - --stringparam chunker.output.encoding UTF-8 \ - --nonet http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl - -HTMLHELP_XSLTPROC_ARGS = \ - --nonet custom_layer_chm.xsl -# --nonet http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl - -ASCIIDOCTOR_COMMON_ARGS = \ - --require $(srcdir)/asciidoctor-macros/commaize-block.rb \ - --require $(srcdir)/asciidoctor-macros/cve_idlink-inline-macro.rb \ - --require $(srcdir)/asciidoctor-macros/ws_buglink-inline-macro.rb \ - --require $(srcdir)/asciidoctor-macros/ws_salink-inline-macro.rb - -ASCIIDOCTOR_COMMON_COMMAND = TZ=UTC ASCIIDOCTORJ_OPTS="-Xmx800m ${ASCIIDOCTORJ_OPTS}" \ - $(ASCIIDOCTOR) \ - $(ASCIIDOCTOR_COMMON_ARGS) - -.asciidoc.pdf: - $(ASCIIDOCTOR_COMMON_COMMAND) --backend pdf --out-file $@ $< - -.asciidoc.xml: - $(ASCIIDOCTOR_COMMON_COMMAND) --backend docbook --out-file $@ $< - -docbook_all_local_targets = -if BUILD_USER_GUIDE -docbook_all_local_targets += wsug_html_chunked - -all-local: $(docbook_all_local_targets) - -all-html: wsug wsdg release_notes - -all-pdf: wsug_pdf wsdg_pdf - -# Wireshark User Guide -wsug: wsug_html_chunked wsug_html - -wsug_pdf: wsug user-guide.pdf - -user-guide.xml: user-guide.asciidoc $(WSUG_FILES) - -user-guide.pdf: user-guide.asciidoc $(WSUG_FILES) -endif - -# create html single page file -if BUILD_USER_GUIDE -wsug_html: wsug_html/index.html -endif - -wsug_html/index.html: user-guide.xml - @ echo --- WSUG - HTML SINGLE PAGE --- - mkdir -p wsug_html/wsug_graphics/toolbar - cp $(srcdir)/wsug_graphics/*.* wsug_html/wsug_graphics - cp $(srcdir)/common_graphics/*.* wsug_html/wsug_graphics - cp $(srcdir)/wsug_graphics/toolbar/* wsug_html/wsug_graphics/toolbar - cp $(srcdir)/ws.css wsug_html - $(XSLTPROC) --stringparam base.dir wsug_html/ $(COMMON_XSLTPROC_ARGS) \ - $(WSUG_XSLTPROC_ARGS) $(SINGLE_XSLTPROC_ARGS) $< > $@ - -chmod -R og+rX wsug_html - -# create html chunked page files -if BUILD_USER_GUIDE -wsug_html_chunked: wsug_html_chunked/index.html -endif - -wsug_html_chunked/index.html: user-guide.xml - @ echo --- WSUG - HTML CHUNKED --- - mkdir -p wsug_html_chunked/wsug_graphics/toolbar - cp $(srcdir)/wsug_graphics/*.* wsug_html_chunked/wsug_graphics - cp $(srcdir)/common_graphics/*.* wsug_html_chunked/wsug_graphics - cp $(srcdir)/wsug_graphics/toolbar/* wsug_html_chunked/wsug_graphics/toolbar - cp $(srcdir)/ws.css wsug_html_chunked - $(XSLTPROC) --stringparam base.dir wsug_html_chunked/ $(COMMON_XSLTPROC_ARGS) \ - $(WSUG_XSLTPROC_ARGS) $(CHUNKED_XSLTPROC_ARGS) $< - -chmod -R og+rX wsug_html_chunked - -wsluarm: make-wsluarm.pl $(WSLUA_MODULES) - mkdir -p wsluarm_src - $(PERL) $(srcdir)/make-wsluarm.pl $(WSLUA_MODULES) - touch wsluarm - - -# Wireshark Developer Guide -wsdg: wsdg_html_chunked wsdg_html - -if BUILD_USER_GUIDE -wsdg_pdf: developer-guide.pdf -endif - -developer-guide.xml: developer-guide.asciidoc $(WSDG_FILES) wsluarm - -developer-guide.pdf: developer-guide.asciidoc $(WSDG_FILES) wsluarm - -# create html single page file -if BUILD_USER_GUIDE -wsdg_html: wsdg_html/index.html -endif - -wsdg_html/index.html: developer-guide.xml - @ echo --- WSDG - HTML SINGLE PAGE --- - mkdir -p wsdg_html/wsdg_graphics/toolbar - cp $(srcdir)/wsdg_graphics/*.* wsdg_html/wsdg_graphics - cp $(srcdir)/common_graphics/*.* wsdg_html/wsdg_graphics - cp $(srcdir)/wsdg_graphics/toolbar/* wsdg_html/wsdg_graphics/toolbar/ - cp $(srcdir)/ws.css wsdg_html - $(XSLTPROC) --stringparam base.dir wsdg_html/ $(COMMON_XSLTPROC_ARGS) \ - --path .:wsluarm_src \ - $(WSDG_XSLTPROC_ARGS) $(SINGLE_XSLTPROC_ARGS) $< > $@ - -chmod -R og+rX wsdg_html - -# create html chunked page files -if BUILD_USER_GUIDE -wsdg_html_chunked: developer-guide.xml wsdg_html_chunked/index.html -endif - -wsdg_html_chunked/index.html: developer-guide.xml - @ echo --- WSDG - HTML CHUNKED --- - mkdir -p wsdg_html_chunked/wsdg_graphics/toolbar - cp $(srcdir)/wsdg_graphics/*.* wsdg_html_chunked/wsdg_graphics - cp $(srcdir)/common_graphics/*.* wsdg_html_chunked/wsdg_graphics - cp $(srcdir)/wsdg_graphics/toolbar/* wsdg_html_chunked/wsdg_graphics/toolbar/ - cp $(srcdir)/ws.css wsdg_html_chunked - $(XSLTPROC) --stringparam base.dir wsdg_html_chunked/ $(COMMON_XSLTPROC_ARGS) \ - --path .:wsluarm_src \ - $(WSDG_XSLTPROC_ARGS) $(CHUNKED_XSLTPROC_ARGS) $< - -chmod -R og+rX wsdg_html_chunked - -# Release notes -if HAVE_ASCIIDOCTOR -release_note_deps = release-notes.html -release_note_deps += release-notes.txt -endif -release_notes: $(release_note_deps) - -# create html single page file -release-notes.html: $(RELEASE_NOTES_SOURCE) - @ echo --- RELEASE NOTES - HTML --- - $(ASCIIDOCTOR_COMMON_COMMAND) \ - --backend html \ - --out-file $(builddir)/release-notes.html \ - $(srcdir)/release-notes.asciidoc - -# create txt single page file (through HTML) -release-notes.txt: release-notes.html - @ echo --- RELEASE NOTES - TXT --- - $(PYTHON) $(srcdir)/tools/html2text.py \ - $(builddir)/release-notes.html \ - > $(builddir)/release-notes.txt - -news: release-notes.txt - cp release-notes.txt ../NEWS - -cp release-notes.txt $(top_srcdir)/NEWS - -install-data-local: -if BUILD_USER_GUIDE - $(MKDIR_P) $(DESTDIR)$(docdir)/guides - cp -rf $(builddir)/wsug_html_chunked $(DESTDIR)$(docdir)/guides -endif - -uninstall-local: - rm -rf $(DESTDIR)$(docdir) - -clean-local: - -rm -rf $(CLEANDIRS) - -EXTRA_DIST = \ - $(WSUG_DIST) \ - $(WSDG_DIST) \ - asciidoctor-macros \ - $(RELEASE_NOTES_SOURCE) \ - make-wsluarm.pl \ - README.adoc \ - CMakeLists.txt diff --git a/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc b/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc index a7b9905c44..8391e19176 100644 --- a/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc +++ b/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc @@ -168,8 +168,6 @@ It doesn't do much at present, other than identify the protocol and label it. In order to compile this dissector and create a plugin a couple of support files are required, besides the dissector source in _packet-foo.c_: -* _Makefile.am_ - The UNIX/Linux makefile template. - * _CMakeLists.txt_ - Contains the CMake file and version info for this plugin. * _packet-foo.c_ - Your dissector source. @@ -177,9 +175,8 @@ are required, besides the dissector source in _packet-foo.c_: * _plugin.rc.in_ - Contains the DLL resource template for Windows. (optional) You can find a good example for these files in the gryphon plugin directory. -_Makefile.am_ has to be modified to reflect the relevant files and dissector -name. _CMakeLists.txt_ has to be modified with the correct -plugin name and version info, along with the relevant files to compile. +_CMakeLists.txt_ has to be modified with the correct plugin name and version +info, along with the relevant files to compile. In the main top-level source directory, copy CMakeListsCustom.txt.example to CMakeListsCustom.txt and add the path of your plugin to the list in CUSTOM_PLUGIN_SRC_DIR. @@ -1250,39 +1247,47 @@ Wireshark source directory. $ cp packet-test-idl.c /dir/where/wireshark/lives/epan/dissectors/ ---- -The new dissector has to be added to Makefile.am in the same directory. Look -for the declaration CLEAN_DISSECTOR_SRC and add the new dissector there. For +The new dissector has to be added to CMakeLists.txt in the same directory. Look +for the declaration DISSECTOR_SRC and add the new dissector there. For example, ---- -CLEAN_DISSECTOR_SRC = \ - packet-2dparityfec.c \ - packet-3com-njack.c \ +DISSECTOR_SRC = \ + ${CMAKE_CURRENT_SOURCE_DIR}/packet-2dparityfec.c + ${CMAKE_CURRENT_SOURCE_DIR}/packet-3com-njack.c ... ---- becomes ---- -CLEAN_DISSECTOR_SRC = \ - packet-test-idl.c \ - packet-2dparityfec.c \ - packet-3com-njack.c \ +DISSECTOR_SRC = \ + ${CMAKE_CURRENT_SOURCE_DIR}/packet-test-idl.c \ + ${CMAKE_CURRENT_SOURCE_DIR}/packet-2dparityfec.c \ + ${CMAKE_CURRENT_SOURCE_DIR}/packet-3com-njack.c \ ... ---- -- For the next steps, go up to the top of your Wireshark source directory. -* Run configure +* Create a build dir ++ +-- +---- +$ mkdir build && cd build +---- +-- + +* Run cmake + -- ---- -$ ./configure (or ./autogen.sh) +$ cmake .. ---- -- -* Compile the code +* Build the code + -- ---- diff --git a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc index 5422fcdd30..bc8d9cbb46 100644 --- a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc +++ b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc @@ -975,12 +975,12 @@ directory, you’d run `patch` in _that_ directory and run it with `-p0`. If you run it without `-pat` all, the patch tool flattens path names, so that if you -have a patch file with patches to _Makefile.am_ and -_wiretap/Makefile.am_, +have a patch file with patches to _CMakeLists.txt_ and +_wiretap/CMakeLists.txt_, it'll try to apply the first patch to the top-level -_Makefile.am_ and then apply the -_wiretap/Makefile.am_ patch to the top-level -_Makefile.am_ as well. +_CMakeLists.txt_ and then apply the +_wiretap/CMakeLists.txt_ patch to the top-level +_CMakeLists.txt_ as well. At which position in the filesystem should the patch tool be called? @@ -993,7 +993,7 @@ if somebody did a patch to _packet-ip.c_ and ran `diff` or `git diff` in the _epan/dissectors_ directory -- you’d run it in that subdirectory. It is preferred that people *not* submit patches like that, especially if they're only patching files that exist in multiple -directories such as _Makefile.am_. +directories such as _CMakeLists.txt_. [[ChSrcBinary]] diff --git a/docbook/wsdg_src/WSDG_chapter_userinterface.asciidoc b/docbook/wsdg_src/WSDG_chapter_userinterface.asciidoc index 363393ffd8..9abc369d91 100644 --- a/docbook/wsdg_src/WSDG_chapter_userinterface.asciidoc +++ b/docbook/wsdg_src/WSDG_chapter_userinterface.asciidoc @@ -206,7 +206,7 @@ In most cases you should handle the changeEvent in order to catch Qt makes translating the Wireshark UI into different languages easy. To add a new translation, do the following: -- Add your translation (_ui/qt/wireshark_XX.ts_) to _ui/qt/Makefile.am_ and _ui/qt/CMakeLists.txt_ +- Add your translation (_ui/qt/wireshark_XX.ts_) to _ui/qt/CMakeLists.txt_ - (Recommended) Add a flag image for your language in _images/languages/XX.svg_. Update _image/languages/languages.qrc_ accordingly. - Run `lupdate ui/qt -ts ui/qt/wireshark_XX.ts` to generate/update your translation file. - Translate with Qt Linguist: `linguist ui/qt/wireshark_XX.ts`. diff --git a/epan/Makefile.am b/epan/Makefile.am deleted file mode 100644 index c85fcd2d52..0000000000 --- a/epan/Makefile.am +++ /dev/null @@ -1,435 +0,0 @@ -# Makefile.am -# Automake file for the libwireshark library -# (EPAN is a historical name; it stands for Ethereal Protocol ANalyzer -# Library) -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -if HAVE_LIBLUA -wslua_dir = wslua -endif - -SUBDIRS = crypt ftypes dfilter dissectors wmem $(wslua_dir) - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) \ - $(GLIB_CFLAGS) $(PCAP_CFLAGS) $(LUA_CFLAGS) $(LIBGNUTLS_CFLAGS) \ - $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(LZ4_CFLAGS) $(KRB5_CFLAGS) \ - $(SNAPPY_CFLAGS) $(LIBXML2_CFLAGS) - -lib_LTLIBRARIES = libwireshark.la - -LIBWIRESHARK_NONGENERATED_SRC = \ - addr_and_mask.c \ - addr_resolv.c \ - address_types.c \ - afn.c \ - aftypes.c \ - app_mem_usage.c \ - asn1.c \ - capture_dissectors.c \ - charsets.c \ - color_filters.c \ - column.c \ - column-utils.c \ - conversation.c \ - conversation_table.c \ - crc10-tvb.c \ - crc16-tvb.c \ - crc32-tvb.c \ - crc6-tvb.c \ - crc8-tvb.c \ - decode_as.c \ - disabled_protos.c \ - dissector_filters.c \ - dvb_chartbl.c \ - epan.c \ - ex-opt.c \ - except.c \ - expert.c \ - export_object.c \ - exported_pdu.c \ - filter_expressions.c \ - follow.c \ - frame_data.c \ - frame_data_sequence.c \ - funnel.c \ - golay.c \ - guid-utils.c \ - iana_charsets.c \ - in_cksum.c \ - ipproto.c \ - maxmind_db.c \ - media_params.c \ - next_tvb.c \ - oids.c \ - osi-utils.c \ - packet.c \ - plugin_if.c \ - prefs.c \ - print.c \ - print_stream.c \ - proto.c \ - proto_data.c \ - range.c \ - reassemble.c \ - reedsolomon.c \ - req_resp_hdrs.c \ - register.c \ - rtd_table.c \ - sequence_analysis.c \ - show_exception.c \ - srt_table.c \ - stat_tap_ui.c \ - stats_tree.c \ - strutil.c \ - stream.c \ - t35.c \ - tap.c \ - timestamp.c \ - timestats.c \ - tfs.c \ - to_str.c \ - tvbparse.c \ - tvbuff_base64.c \ - tvbuff_composite.c \ - tvbuff_real.c \ - tvbuff_subset.c \ - tvbuff_zlib.c \ - tvbuff.c \ - uat.c \ - unit_strings.c \ - value_string.c \ - xdlc.c - -# -# We distribute Lemon and rdps.py with Wireshark, so we don't distribute the -# files they produce. -# -NODIST_LIBWIRESHARK_GENERATED_C_FILES = \ - dtd_grammar.c \ - ps.c - -NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES = \ - dtd_grammar.h - -# -# These don't get removed on "make distclean", as the tools we use to -# generate them aren't part of the Wireshark distribution, and aren't -# tools assumed to be present for any system capable of compiling -# from a tarball (e.g., make and a C compiler are assumed to be present, -# but Flex isn't). -# -LIBWIRESHARK_GENERATED_C_FILES = \ - diam_dict.c \ - dtd_parse.c \ - dtd_preparse.c \ - radius_dict.c \ - uat_load.c - -LIBWIRESHARK_GENERATED_HEADER_FILES = \ - diam_dict_lex.h \ - dtd_parse_lex.h \ - dtd_preparse_lex.h \ - radius_dict_lex.h \ - uat_load_lex.h - -LIBWIRESHARK_GENERATED_SRC = \ - $(LIBWIRESHARK_GENERATED_C_FILES) \ - $(NODIST_LIBWIRESHARK_GENERATED_C_FILES) - -LIBWIRESHARK_SRC = \ - $(LIBWIRESHARK_NONGENERATED_SRC) \ - $(LIBWIRESHARK_GENERATED_SRC) - -LIBWIRESHARK_INCLUDES_PUBLIC = \ - addr_and_mask.h \ - addr_resolv.h \ - address.h \ - address_types.h \ - afn.h \ - aftypes.h \ - app_mem_usage.h \ - arcnet_pids.h \ - arptypes.h \ - asn1.h \ - ax25_pids.h \ - bridged_pids.h \ - capture_dissectors.h \ - charsets.h \ - chdlctypes.h \ - color_filters.h \ - column.h \ - column-info.h \ - column-utils.h \ - conversation.h \ - conversation_debug.h \ - conversation_table.h \ - conv_id.h \ - crc10-tvb.h \ - crc16-tvb.h \ - crc32-tvb.h \ - crc6-tvb.h \ - crc8-tvb.h \ - decode_as.h \ - diam_dict.h \ - disabled_protos.h \ - dissector_filters.h \ - dtd.h \ - dtd_parse.h \ - dvb_chartbl.h \ - eap.h \ - eapol_keydes_types.h \ - epan.h \ - epan_dissect.h \ - etypes.h \ - ex-opt.h \ - except.h \ - exceptions.h \ - expert.h \ - export_object.h \ - exported_pdu.h \ - filter_expressions.h \ - follow.h \ - frame_data.h \ - frame_data_sequence.h \ - funnel.h \ - garrayfix.h \ - golay.h \ - guid-utils.h \ - iana_charsets.h \ - iax2_codec_type.h \ - in_cksum.h \ - ip_opts.h \ - ipproto.h \ - ipv4.h \ - ipv6.h \ - lapd_sapi.h \ - llcsaps.h \ - maxmind_db.h \ - media_params.h \ - next_tvb.h \ - nlpid.h \ - oids.h \ - osi-utils.h \ - oui.h \ - packet.h \ - packet_info.h \ - params.h \ - plugin_if.h \ - ppptypes.h \ - print.h \ - print_stream.h \ - prefs.h \ - prefs-int.h \ - proto.h \ - proto_data.h \ - ps.h \ - ptvcursor.h \ - range.h \ - reassemble.h \ - reedsolomon.h \ - register.h \ - req_resp_hdrs.h \ - rtd_table.h \ - rtp_pt.h \ - sctpppids.h \ - sequence_analysis.h \ - show_exception.h \ - slow_protocol_subtypes.h \ - sminmpec.h \ - srt_table.h \ - stat_tap_ui.h \ - stat_groups.h \ - stats_tree.h \ - stats_tree_priv.h \ - stream.h \ - strutil.h \ - t35.h \ - tap.h \ - tap-voip.h \ - timestamp.h \ - timestats.h \ - tfs.h \ - time_fmt.h \ - to_str.h \ - tvbparse.h \ - tvbuff.h \ - tvbuff-int.h \ - uat.h \ - uat-int.h \ - unit_strings.h \ - value_string.h \ - x264_prt_id.h \ - xdlc.h - -LIBWIRESHARK_INCLUDES_PRIVATE = \ - to_str-int.h - -subpkgincludedir = $(pkgincludedir)/epan - -subpkginclude_HEADERS = $(LIBWIRESHARK_INCLUDES_PUBLIC) - -libwireshark_la_SOURCES = \ - $(LIBWIRESHARK_NONGENERATED_SRC) \ - $(LIBWIRESHARK_GENERATED_C_FILES) \ - $(LIBWIRESHARK_INCLUDES_PRIVATE) \ - version_info.c - -nodist_libwireshark_la_SOURCES = \ - $(NODIST_LIBWIRESHARK_GENERATED_C_FILES) \ - $(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES) - -libwireshark_la_CPPFLAGS = $(AM_CPPFLAGS) -DWS_BUILD_DLL - -# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html -libwireshark_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_BIGSHAREDLIB@ @LDFLAGS_SHAREDLIB@ - -if HAVE_LIBLUA -wslua_lib = wslua/libwslua.la -endif - -# -# Add the object files for missing routines, if any. -# -libwireshark_la_LIBADD = \ - crypt/libdot11decrypt.la \ - ftypes/libftypes.la \ - dfilter/libdfilter.la \ - dissectors/libdissectors.la \ - dissectors/libdirtydissectors.la \ - dissectors/libfiledissectors.la \ - wmem/libwmem.la \ - $(wslua_lib) \ - ${top_builddir}/wiretap/libwiretap.la \ - ${top_builddir}/wsutil/libwsutil.la \ - @C_ARES_LIBS@ \ - @KRB5_LIBS@ \ - @LIBGCRYPT_LIBS@ \ - @LIBGNUTLS_LIBS@ \ - @LIBSMI_LIBS@ \ - @LZ4_LIBS@ \ - @NGHTTP2_LIBS@ \ - @SNAPPY_LIBS@ \ - @LIBXML2_LIBS@ \ - @GLIB_LIBS@ - -libwireshark_la_DEPENDENCIES = \ - crypt/libdot11decrypt.la \ - ftypes/libftypes.la \ - dfilter/libdfilter.la \ - dissectors/libdissectors.la \ - dissectors/libdirtydissectors.la \ - wmem/libwmem.la \ - $(wslua_lib) \ - ${top_builddir}/wsutil/libwsutil.la \ - ${top_builddir}/wiretap/libwiretap.la - -EXTRA_DIST = \ - .editorconfig \ - diam_dict.l \ - dtd_grammar.lemon \ - dtd_parse.l \ - dtd_parse.h \ - dtd_preparse.l \ - radius_dict.l \ - uat_load.l \ - doxygen.cfg.in \ - CMakeLists.txt \ - print.ps - -CLEANFILES = \ - doxygen-epan.tag - -DISTCLEANFILES = \ - $(NODIST_LIBWIRESHARK_GENERATED_C_FILES) \ - $(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES) \ - dtd_grammar.out \ - version_info.c - -MAINTAINERCLEANFILES = \ - $(LIBWIRESHARK_GENERATED_C_FILES) \ - $(LIBWIRESHARK_GENERATED_HEADER_FILES) - -BUILT_SOURCES = \ - $(LIBWIRESHARK_GENERATED_HEADER_FILES) \ - $(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES) \ - version_info.c - -EXTRA_PROGRAMS = reassemble_test tvbtest oids_test exntest - -reassemble_test_LDADD = \ - libwireshark.la \ - $(GLIB_LIBS) \ - -lz - -tvbtest_LDADD = \ - libwireshark.la \ - $(GLIB_LIBS) \ - -lz - -oids_test_LDADD = \ - libwireshark.la \ - $(GLIB_LIBS) \ - -lz - -exntest_SOURCES = exntest.c except.c - -exntest_LDADD = $(GLIB_LIBS) - -test-programs: $(EXTRA_PROGRAMS) - $(MAKE) -C wmem $@ - -diam_dict_lex.h: diam_dict.c - -dtd_parse_lex.h: dtd_parse.c - -dtd_preparse_lex.h: dtd_preparse.c - -radius_dict_lex.h: radius_dict.c - -uat_load_lex.h: uat_load.c - -dtd_grammar.h: dtd_grammar.c -dtd_grammar.c : $(LEMON) $(lemon_srcdir)/lempar.c $(srcdir)/dtd_grammar.lemon - $(AM_V_LEMON)$(LEMON) T=$(lemon_srcdir)/lempar.c $(srcdir)/dtd_grammar.lemon - -version_info.c: $(top_srcdir)/version_info.c - $(AM_V_LN_S)$(LN_S) $< $(builddir) - -tvbtest.o exntest.o oids_test.o: exceptions.h - -ps.c: print.ps $(top_srcdir)/tools/rdps.py - $(AM_V_python)$(PYTHON) $(top_srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c - -doxygen: -if HAVE_DOXYGEN - $(AM_V_GEN)$(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -wsar_html: doxygen.cfg ../doxygen_global.cfg -if HAVE_DOXYGEN - (umask 022 ; $(DOXYGEN) doxygen.cfg) -endif - -checkapi: - $(AM_V_GEN)$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(LIBWIRESHARK_NONGENERATED_SRC) diff --git a/epan/crypt/Makefile.am b/epan/crypt/Makefile.am deleted file mode 100644 index c69572e08e..0000000000 --- a/epan/crypt/Makefile.am +++ /dev/null @@ -1,60 +0,0 @@ -# Makefile.am -# Automake file for 802.11 decryption for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(LIBGCRYPT_CFLAGS) - -noinst_LTLIBRARIES = libdot11decrypt.la - -include Custom.common - -CRYPT_SOURCES = \ - dot11decrypt.c \ - dot11decrypt_ccmp.c \ - dot11decrypt_rijndael.c \ - dot11decrypt_tkip.c - -CRYPT_INCLUDES = \ - dot11decrypt_debug.h \ - dot11decrypt_interop.h \ - dot11decrypt_int.h \ - dot11decrypt_rijndael.h \ - dot11decrypt_system.h \ - dot11decrypt_user.h \ - dot11decrypt_ws.h \ - kasumi.h \ - wep-wpadefs.h - -libdot11decrypt_la_SOURCES = \ - $(CRYPT_SOURCES) \ - $(CRYPT_INCLUDES) \ - $(CUSTOM_CRYPTO_SRC) - -EXTRA_DIST = \ - Custom.common \ - CMakeLists.txt \ - CMakeListsCustom.txt.example - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(CRYPT_SOURCES) diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am deleted file mode 100644 index 427ab95b24..0000000000 --- a/epan/dfilter/Makefile.am +++ /dev/null @@ -1,137 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 2001 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) -I$(top_srcdir)/epan -I$(lemon_srcdir) \ - $(WS_CPPFLAGS) $(GLIB_CFLAGS) - -noinst_LTLIBRARIES = libdfilter.la - -# C source files that are part of the display filter source; this includes only -# .c files, not YACC or Lex or... files (as Makefile.nmake maps this list -# into a list of object files by replacing ".c" with ".obj") or files -# generated from YACC or Lex files (as Automake doesn't want them in -# _SOURCES variables). -NONGENERATED_C_FILES = \ - dfilter.c \ - dfilter-macro.c \ - dfunctions.c \ - dfvm.c \ - drange.c \ - gencode.c \ - semcheck.c \ - sttype-function.c \ - sttype-integer.c \ - sttype-pointer.c \ - sttype-range.c \ - sttype-set.c \ - sttype-string.c \ - sttype-test.c \ - syntax-tree.c - -# Header files that are not generated from other files -NONGENERATED_HEADERS_PRIVATE = \ - dfilter-macro.h \ - dfilter-int.h \ - dfunctions.h \ - dfvm.h \ - gencode.h \ - semcheck.h \ - sttype-function.h \ - sttype-range.h \ - sttype-set.h \ - sttype-test.h \ - syntax-tree.h - -NONGENERATED_HEADERS_PUBLIC = \ - dfilter.h \ - drange.h - -# Files that generate compileable files -GENERATOR_FILES = \ - grammar.lemon \ - scanner.l - -# The C source files they generate and that we want in the distribution -GENERATED_C_FILES = \ - scanner.c - -# The C source files they generate and that we don't want in the distribution -NODIST_GENERATED_C_FILES = \ - grammar.c - -# The header files that they generate and that we want in the distribution -GENERATED_HEADER_FILES = \ - scanner_lex.h - -# The header files that they generate and that we don't want in the distribution -NODIST_GENERATED_HEADER_FILES = \ - grammar.h - -# All the generated files we want in the distribution. -GENERATED_FILES = \ - $(GENERATED_C_FILES) \ - $(GENERATED_HEADER_FILES) - -# All the generated files we don't want in the distribution. -NODIST_GENERATED_FILES = \ - $(NODIST_GENERATED_C_FILES) \ - $(NODIST_GENERATED_HEADER_FILES) - -subpkgincludedir = $(pkgincludedir)/epan/dfilter - -subpkginclude_HEADERS = $(NONGENERATED_HEADERS_PUBLIC) - -libdfilter_la_SOURCES = \ - $(NONGENERATED_C_FILES) \ - $(NONGENERATED_HEADERS_PRIVATE) \ - $(GENERATED_C_FILES) \ - $(GENERATED_HEADER_FILES) - -nodist_libdfilter_la_SOURCES = \ - $(NODIST_GENERATED_C_FILES) \ - $(NODIST_GENERATED_HEADER_FILES) - -EXTRA_DIST = \ - .editorconfig \ - $(GENERATOR_FILES) \ - CMakeLists.txt - -DISTCLEANFILES = \ - grammar.out \ - $(NODIST_GENERATED_FILES) - -MAINTAINERCLEANFILES = \ - $(GENERATED_FILES) - -BUILT_SOURCES = $(GENERATED_HEADER_FILES) $(NODIST_GENERATED_HEADER_FILES) - -scanner_lex.h : scanner.c - -grammar.h : grammar.c -grammar.c : $(LEMON) $(lemon_srcdir)/lempar.c $(srcdir)/grammar.lemon - $(AM_V_LEMON)$(LEMON) T=$(lemon_srcdir)/lempar.c $(srcdir)/grammar.lemon || \ - (rm -f grammar.c grammar.h ; false) - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) $(NONGENERATED_C_FILES) diff --git a/epan/dissectors/Makefile.am b/epan/dissectors/Makefile.am deleted file mode 100644 index 4ec4522b16..0000000000 --- a/epan/dissectors/Makefile.am +++ /dev/null @@ -1,1986 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 2004 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) -I$(top_srcdir)/epan $(WS_CPPFLAGS) \ - $(GLIB_CFLAGS) $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) \ - $(KRB5_CFLAGS) $(LIBXML2_CFLAGS) - -include Custom.common - -# "BUILT_SOURCES" are built before any "make all" or "make check" targets. -BUILT_SOURCES = \ - dissectors.c - -# Header files generated from source files. -NODIST_GENERATED_HEADER_FILES = - -# C source files generated from source files. -NODIST_GENERATED_C_FILES = \ - dissectors.c - -# All the generated files. -NODIST_GENERATED_FILES = \ - $(NODIST_GENERATED_HEADER_FILES) \ - $(NODIST_GENERATED_C_FILES) - -# -# PIDL-generated DCE RPC dissectors without warnings. -# -PIDL_DISSECTOR_SRC = \ - packet-dcerpc-atsvc.c \ - packet-dcerpc-budb.c \ - packet-dcerpc-butc.c \ - packet-dcerpc-clusapi.c \ - packet-dcerpc-dfs.c \ - packet-dcerpc-dnsserver.c \ - packet-dcerpc-drsuapi.c \ - packet-dcerpc-dssetup.c \ - packet-dcerpc-efs.c \ - packet-dcerpc-eventlog.c \ - packet-dcerpc-frstrans.c \ - packet-dcerpc-initshutdown.c \ - packet-dcerpc-lsa.c \ - packet-dcerpc-mapi.c \ - packet-dcerpc-mdssvc.c \ - packet-dcerpc-misc.c \ - packet-dcerpc-nspi.c \ - packet-dcerpc-rfr.c \ - packet-dcerpc-srvsvc.c \ - packet-dcerpc-winreg.c \ - packet-dcerpc-witness.c \ - packet-dcerpc-wkssvc.c \ - packet-dcerpc-wzcsvc.c - -# -# Headers for PIDL-generated dissectors. -# -PIDL_DISSECTOR_INCLUDES = \ - packet-dcerpc-atsvc.h \ - packet-dcerpc-clusapi.h \ - packet-dcerpc-dfs.h \ - packet-dcerpc-dssetup.h \ - packet-dcerpc-drsuapi.h \ - packet-dcerpc-efs.h \ - packet-dcerpc-eventlog.h \ - packet-dcerpc-initshutdown.h \ - packet-dcerpc-lsa.h \ - packet-dcerpc-mapi.h \ - packet-dcerpc-mdssvc.h \ - packet-dcerpc-misc.h \ - packet-dcerpc-nspi.h \ - packet-dcerpc-rfr.h \ - packet-dcerpc-srvsvc.h \ - packet-dcerpc-winreg.h \ - packet-dcerpc-witness.h \ - packet-dcerpc-wkssvc.h \ - packet-dcerpc-wzcsvc.h \ - packet-dcerpc-frstrans.h - -# -# asn2wrs-generated ASN.1 dissectors without warnings. -# -ASN1_DISSECTOR_SRC = \ - packet-ansi_map.c \ - packet-acp133.c \ - packet-acse.c \ - packet-ansi_tcap.c \ - packet-atn-ulcs.c \ - packet-atn-cm.c \ - packet-atn-cpdlc.c \ - packet-c1222.c \ - packet-camel.c \ - packet-cdt.c \ - packet-charging_ase.c \ - packet-cmip.c \ - packet-cmp.c \ - packet-cms.c \ - packet-credssp.c \ - packet-crmf.c \ - packet-dap.c \ - packet-disp.c \ - packet-dop.c \ - packet-dsp.c \ - packet-ecp.c \ - packet-ess.c \ - packet-f1ap.c \ - packet-ftam.c \ - packet-goose.c \ - packet-gsm_map.c \ - packet-HI2Operations.c \ - packet-h225.c \ - packet-h235.c \ - packet-h245.c \ - packet-h248.c \ - packet-h282.c \ - packet-h283.c \ - packet-h323.c \ - packet-h450.c \ - packet-h450-ros.c \ - packet-h460.c \ - packet-h501.c \ - packet-hnbap.c \ - packet-hl7.c \ - packet-idmp.c \ - packet-ilp.c \ - packet-inap.c \ - packet-isdn-sup.c \ - packet-kerberos.c \ - packet-lcsap.c \ - packet-ldap.c \ - packet-logotypecertextn.c \ - packet-lpp.c \ - packet-lppa.c \ - packet-lppe.c \ - packet-lte-rrc.c \ - packet-m2ap.c \ - packet-m3ap.c \ - packet-mms.c \ - packet-mpeg-audio.c \ - packet-mpeg-pes.c \ - packet-mudurl.c \ - packet-nbap.c \ - packet-nr-rrc.c \ - packet-novell_pkis.c \ - packet-ns_cert_exts.c \ - packet-ocsp.c \ - packet-p1.c \ - packet-p22.c \ - packet-p7.c \ - packet-p772.c \ - packet-pcap.c \ - packet-pkcs1.c \ - packet-pkcs12.c \ - packet-pkinit.c \ - packet-pkix1explicit.c \ - packet-pkix1implicit.c \ - packet-pkixac.c \ - packet-pkixproxy.c \ - packet-pkixqualified.c \ - packet-pkixtsp.c \ - packet-pres.c \ - packet-q932.c \ - packet-q932-ros.c \ - packet-qsig.c \ - packet-ranap.c \ - packet-rnsap.c \ - packet-ros.c \ - packet-rrc.c \ - packet-rrlp.c \ - packet-rtse.c \ - packet-rua.c \ - packet-s1ap.c \ - packet-sabp.c \ - packet-sbc-ap.c \ - packet-smrse.c \ - packet-snmp.c \ - packet-spnego.c \ - packet-sv.c \ - packet-t124.c \ - packet-t125.c \ - packet-t38.c \ - packet-tcap.c \ - packet-tetra.c \ - packet-ulp.c \ - packet-wlancertextn.c \ - packet-x2ap.c \ - packet-x509af.c \ - packet-x509ce.c \ - packet-x509if.c \ - packet-x509sat.c - -# -# idl2wrs-generated CORBA IDL dissectors without warnings. -# -CORBA_IDL_DISSECTOR_SRC = \ - packet-coseventcomm.c - -# -# asn2wrs-generated ASN.1 dissectors with warnings. -# -DIRTY_ASN1_DISSECTOR_SRC = \ - $(CUSTOM_DIRTY_ASN1_DISSECTOR_SRC) - -# -# idl2wrs-generated CORBA IDL dissectors with warnings. -# -DIRTY_CORBA_IDL_DISSECTOR_SRC = \ - packet-cosnaming.c \ - packet-gias.c \ - packet-parlay.c \ - packet-tango.c - -FILE_DISSECTOR_SRC = \ - file-btsnoop.c \ - file-elf.c \ - file-file.c \ - file-gif.c \ - file-jpeg.c \ - file-mp4.c \ - file-pcap.c \ - file-pcapng.c \ - file-png.c -# -# Dissectors without warnings. -# -DISSECTOR_SRC = \ - packet-2dparityfec.c \ - packet-3com-njack.c \ - packet-3com-xns.c \ - packet-3g-a11.c \ - packet-6lowpan.c \ - packet-9p.c \ - packet-a21.c \ - packet-aarp.c \ - packet-aastra-aasp.c \ - packet-acap.c \ - packet-acn.c \ - packet-acr122.c \ - packet-actrace.c \ - packet-adb.c \ - packet-adb_cs.c \ - packet-adb_service.c \ - packet-adwin-config.c \ - packet-adwin.c \ - packet-aeron.c \ - packet-afp.c \ - packet-afs.c \ - packet-agentx.c \ - packet-aim.c \ - packet-ajp13.c \ - packet-alcap.c \ - packet-alljoyn.c \ - packet-amqp.c \ - packet-amr.c \ - packet-amt.c \ - packet-ancp.c \ - packet-ans.c \ - packet-ansi_637.c \ - packet-ansi_683.c \ - packet-ansi_801.c \ - packet-ansi_a.c \ - packet-aodv.c \ - packet-aoe.c \ - packet-aol.c \ - packet-ap1394.c \ - packet-app-pkix-cert.c \ - packet-applemidi.c \ - packet-aprs.c \ - packet-arcnet.c \ - packet-armagetronad.c \ - packet-arp.c \ - packet-artemis.c \ - packet-artnet.c \ - packet-aruba-adp.c \ - packet-aruba-erm.c \ - packet-aruba-iap.c \ - packet-aruba-papi.c \ - packet-ar_drone.c \ - packet-asap.c \ - packet-ascend.c \ - packet-asf.c \ - packet-assa_r3.c \ - packet-asterix.c \ - packet-at.c \ - packet-atalk.c \ - packet-ath.c \ - packet-atm.c \ - packet-atmtcp.c \ - packet-auto_rp.c \ - packet-avsp.c \ - packet-ax25.c \ - packet-ax25-kiss.c \ - packet-ax25-nol3.c \ - packet-ax4000.c \ - packet-ayiya.c \ - packet-babel.c \ - packet-bacapp.c \ - packet-bacnet.c \ - packet-banana.c \ - packet-bat.c \ - packet-batadv.c \ - packet-bctp.c \ - packet-beep.c \ - packet-bencode.c \ - packet-ber.c \ - packet-bfcp.c \ - packet-bfd.c \ - packet-bgp.c \ - packet-bitcoin.c \ - packet-bittorrent.c \ - packet-bjnp.c \ - packet-bluecom.c \ - packet-bluetooth.c \ - packet-bmc.c \ - packet-bmp.c \ - packet-bofl.c \ - packet-bootp.c \ - packet-bootparams.c \ - packet-bpdu.c \ - packet-bpq.c \ - packet-brcm-tag.c \ - packet-brdwlk.c \ - packet-brp.c \ - packet-bssap.c \ - packet-bssgp.c \ - packet-bt-dht.c \ - packet-bt-utp.c \ - packet-bt3ds.c \ - packet-btamp.c \ - packet-btatt.c \ - packet-btbnep.c \ - packet-btbredr_rf.c \ - packet-btavctp.c \ - packet-btavdtp.c \ - packet-btavrcp.c \ - packet-bthci_acl.c \ - packet-bthci_cmd.c \ - packet-bthci_evt.c \ - packet-bthci_sco.c \ - packet-bthci_vendor.c \ - packet-bthcrp.c \ - packet-bthfp.c \ - packet-bthid.c \ - packet-bthsp.c \ - packet-btl2cap.c \ - packet-btle.c \ - packet-btle_rf.c \ - packet-btmcap.c \ - packet-btmesh.c \ - packet-btrfcomm.c \ - packet-btsap.c \ - packet-btsdp.c \ - packet-btsmp.c \ - packet-bvlc.c \ - packet-bzr.c \ - packet-c15ch.c \ - packet-calcappprotocol.c \ - packet-caneth.c \ - packet-canopen.c \ - packet-capwap.c \ - packet-carp.c \ - packet-cast.c \ - packet-catapult-dct2000.c \ - packet-cattp.c \ - packet-cbor.c \ - packet-ccsds.c \ - packet-cdp.c \ - packet-cell_broadcast.c \ - packet-ceph.c \ - packet-cfdp.c \ - packet-cfm.c \ - packet-cgmp.c \ - packet-chargen.c \ - packet-chdlc.c \ - packet-cigi.c \ - packet-cimd.c \ - packet-cimetrics.c \ - packet-cip.c \ - packet-cipmotion.c \ - packet-cipsafety.c \ - packet-cisco-erspan.c \ - packet-cisco-fp-mim.c \ - packet-cisco-marker.c \ - packet-cisco-metadata.c \ - packet-cisco-oui.c \ - packet-cisco-sm.c \ - packet-cisco-ttag.c \ - packet-cisco-wids.c \ - packet-classicstun.c \ - packet-clearcase.c \ - packet-clip.c \ - packet-clique-rm.c \ - packet-clnp.c \ - packet-cmpp.c \ - packet-cnip.c \ - packet-coap.c \ - packet-collectd.c \ - packet-componentstatus.c \ - packet-cops.c \ - packet-corosync-totemnet.c \ - packet-corosync-totemsrp.c \ - packet-cosine.c \ - packet-couchbase.c \ - packet-cp2179.c \ - packet-cpfi.c \ - packet-cpha.c \ - packet-cql.c \ - packet-csm-encaps.c \ - packet-csn1.c \ - packet-ctdb.c \ - packet-cups.c \ - packet-cvspserver.c \ - packet-daap.c \ - packet-data.c \ - packet-daytime.c \ - packet-db-lsp.c \ - packet-dbus.c \ - packet-dcc.c \ - packet-dccp.c \ - packet-dcerpc-bossvr.c \ - packet-dcerpc-browser.c \ - packet-dcerpc-cds_clerkserver.c \ - packet-dcerpc-cds_solicit.c \ - packet-dcerpc-conv.c \ - packet-dcerpc-cprpc_server.c \ - packet-dcerpc-dce122.c \ - packet-dcerpc-dtsprovider.c \ - packet-dcerpc-dtsstime_req.c \ - packet-dcerpc-epm.c \ - packet-dcerpc-fileexp.c \ - packet-dcerpc-fldb.c \ - packet-dcerpc-frsapi.c \ - packet-dcerpc-frsrpc.c \ - packet-dcerpc-ftserver.c \ - packet-dcerpc-icl_rpc.c \ - packet-dcerpc-krb5rpc.c \ - packet-dcerpc-llb.c \ - packet-dcerpc-messenger.c \ - packet-dcerpc-mgmt.c \ - packet-dcerpc-ndr.c \ - packet-dcerpc-netlogon.c \ - packet-dcerpc-pnp.c \ - packet-dcerpc-rdaclif.c \ - packet-dcerpc-rep_proc.c \ - packet-dcerpc-roverride.c \ - packet-dcerpc-rpriv.c \ - packet-dcerpc-rras.c \ - packet-dcerpc-rs_acct.c \ - packet-dcerpc-rs_attr.c \ - packet-dcerpc-rs_attr_schema.c \ - packet-dcerpc-rs_bind.c \ - packet-dcerpc-rs_misc.c \ - packet-dcerpc-rs_pgo.c \ - packet-dcerpc-rs_plcy.c \ - packet-dcerpc-rs_prop_acct.c \ - packet-dcerpc-rs_prop_acl.c \ - packet-dcerpc-rs_prop_attr.c \ - packet-dcerpc-rs_prop_pgo.c \ - packet-dcerpc-rs_prop_plcy.c \ - packet-dcerpc-rs_pwd_mgmt.c \ - packet-dcerpc-rs_repadm.c \ - packet-dcerpc-rs_replist.c \ - packet-dcerpc-rs_repmgr.c \ - packet-dcerpc-rs_unix.c \ - packet-dcerpc-rsec_login.c \ - packet-dcerpc-samr.c \ - packet-dcerpc-secidmap.c \ - packet-dcerpc-spoolss.c \ - packet-dcerpc-svcctl.c \ - packet-dcerpc-tapi.c \ - packet-dcerpc-tkn4int.c \ - packet-dcerpc-trksvr.c \ - packet-dcerpc-ubikdisk.c \ - packet-dcerpc-ubikvote.c \ - packet-dcerpc-update.c \ - packet-dcerpc.c \ - packet-dcm.c \ - packet-dcom-dispatch.c \ - packet-dcom-oxid.c \ - packet-dcom-remact.c \ - packet-dcom-remunkn.c \ - packet-dcom-sysact.c \ - packet-dcom.c \ - packet-dcp-etsi.c \ - packet-ddtp.c \ - packet-dec-bpdu.c \ - packet-dec-dnart.c \ - packet-dect.c \ - packet-devicenet.c \ - packet-dhcp-failover.c \ - packet-dhcpv6.c \ - packet-diameter.c \ - packet-diameter_3gpp.c \ - packet-diffserv-mpls-common.c \ - packet-dis.c \ - packet-distcc.c \ - packet-dji-uav.c \ - packet-dlm3.c \ - packet-dlsw.c \ - packet-dmp.c \ - packet-dmx.c \ - packet-dnp.c \ - packet-dns.c \ - packet-docsis.c \ - packet-docsis-macmgmt.c \ - packet-docsis-tlv.c \ - packet-docsis-vendor.c \ - packet-dof.c \ - packet-dplay.c \ - packet-dpnet.c \ - packet-dpnss-link.c \ - packet-dpnss.c \ - packet-drda.c \ - packet-dsi.c \ - packet-dsr.c \ - packet-dtcp-ip.c \ - packet-dtls.c \ - packet-dtn.c \ - packet-dtp.c \ - packet-dtpt.c \ - packet-dua.c \ - packet-dvb-ait.c \ - packet-dvb-bat.c \ - packet-dvb-data-mpe.c \ - packet-dvb-eit.c \ - packet-dvb-ipdc.c \ - packet-dvb-nit.c \ - packet-dvb-s2-bb.c \ - packet-dvb-sdt.c \ - packet-dvb-tdt.c \ - packet-dvb-tot.c \ - packet-dvbci.c \ - packet-dvmrp.c \ - packet-e100.c \ - packet-e164.c \ - packet-e212.c \ - packet-eap.c \ - packet-eapol.c \ - packet-echo.c \ - packet-ecmp.c \ - packet-ecp-oui.c \ - packet-edonkey.c \ - packet-egd.c \ - packet-ehdlc.c \ - packet-ehs.c \ - packet-eigrp.c \ - packet-eiss.c \ - packet-elasticsearch.c \ - packet-elcom.c \ - packet-elmi.c \ - packet-enc.c \ - packet-enip.c \ - packet-enrp.c \ - packet-enttec.c \ - packet-epl.c \ - packet-epl-profile-parser.c \ - packet-epl_v1.c \ - packet-epmd.c \ - packet-epon.c \ - packet-erf.c \ - packet-erldp.c \ - packet-esio.c \ - packet-esis.c \ - packet-etag.c \ - packet-etch.c \ - packet-eth.c \ - packet-etherip.c \ - packet-ethertype.c \ - packet-etsi_card_app_toolkit.c \ - packet-etv.c \ - packet-evrc.c \ - packet-exec.c \ - packet-exported_pdu.c \ - packet-extreme.c \ - packet-f5ethtrailer.c \ - packet-fc00.c \ - packet-fc.c \ - packet-fcct.c \ - packet-fcdns.c \ - packet-fcels.c \ - packet-fcfcs.c \ - packet-fcfzs.c \ - packet-fcgi.c \ - packet-fcip.c \ - packet-fclctl.c \ - packet-fcoe.c \ - packet-fcoib.c \ - packet-fcp.c \ - packet-fcsb3.c \ - packet-fcsp.c \ - packet-fcswils.c \ - packet-fbzero.c \ - packet-fddi.c \ - packet-fefd.c \ - packet-ff.c \ - packet-finger.c \ - packet-fip.c \ - packet-fix.c \ - packet-flexnet.c \ - packet-flexray.c \ - packet-flip.c \ - packet-fmp.c \ - packet-fmp_notify.c \ - packet-fmtp.c \ - packet-force10-oui.c \ - packet-forces.c \ - packet-foundry.c \ - packet-fp_hint.c \ - packet-fp_mux.c \ - packet-fpp.c \ - packet-fr.c \ - packet-fractalgeneratorprotocol.c \ - packet-frame.c \ - packet-ftp.c \ - packet-fw1.c \ - packet-g723.c \ - packet-gadu-gadu.c \ - packet-gdb.c \ - packet-gdsdb.c \ - packet-gearman.c \ - packet-ged125.c \ - packet-geneve.c \ - packet-gfp.c \ - packet-gift.c \ - packet-giop.c \ - packet-git.c \ - packet-glbp.c \ - packet-gluster_cli.c \ - packet-gluster_pmap.c \ - packet-glusterd.c \ - packet-glusterfs.c \ - packet-glusterfs_hndsk.c \ - packet-gmhdr.c \ - packet-gmr1_bcch.c \ - packet-gmr1_common.c \ - packet-gmr1_dtap.c \ - packet-gmr1_rach.c \ - packet-gmr1_rr.c \ - packet-gmrp.c \ - packet-gnutella.c \ - packet-gopher.c \ - packet-gpef.c \ - packet-gprs-llc.c \ - packet-gprscdr.c \ - packet-gre.c \ - packet-grpc.c \ - packet-gsm_a_bssmap.c \ - packet-gsm_a_common.c \ - packet-gsm_a_dtap.c \ - packet-gsm_a_gm.c \ - packet-gsm_a_rp.c \ - packet-gsm_a_rr.c \ - packet-gsm_abis_om2000.c \ - packet-gsm_abis_oml.c \ - packet-gsm_abis_tfp.c \ - packet-gsm_abis_pgsl.c \ - packet-gsm_bsslap.c \ - packet-gsm_bssmap_le.c \ - packet-gsm_cbch.c \ - packet-gsm_ipa.c \ - packet-gsm_osmux.c \ - packet-gsm_rlcmac.c \ - packet-gsm_sim.c \ - packet-gsm_sms.c \ - packet-gsm_sms_ud.c \ - packet-gsm_um.c \ - packet-gsmtap.c \ - packet-gsmtap_log.c \ - packet-gssapi.c \ - packet-gtp.c \ - packet-gtpv2.c \ - packet-gquic.c \ - packet-gvcp.c \ - packet-gvrp.c \ - packet-gvsp.c \ - packet-h1.c \ - packet-h221_nonstd.c \ - packet-h223.c \ - packet-h248_10.c \ - packet-h248_2.c \ - packet-h248_3gpp.c \ - packet-h248_7.c \ - packet-h248_annex_c.c \ - packet-h248_annex_e.c \ - packet-h248_q1950.c \ - packet-h261.c \ - packet-h263.c \ - packet-h263p.c \ - packet-h264.c \ - packet-hartip.c \ - packet-hazelcast.c \ - packet-hci_h1.c \ - packet-hci_h4.c \ - packet-hci_mon.c \ - packet-hci_usb.c \ - packet-hclnfsd.c \ - packet-hcrt.c \ - packet-hdcp.c \ - packet-hdcp2.c \ - packet-hdfs.c \ - packet-hdfsdata.c \ - packet-hdmi.c \ - packet-hip.c \ - packet-hiqnet.c \ - packet-hislip.c \ - packet-homeplug-av.c \ - packet-homeplug.c \ - packet-homepna.c \ - packet-hp-erm.c \ - packet-hpext.c \ - packet-hpfeeds.c \ - packet-hpsw.c \ - packet-hpteam.c \ - packet-hsms.c \ - packet-hsr-prp-supervision.c \ - packet-hsr.c \ - packet-hsrp.c \ - packet-http.c \ - packet-http2.c \ - packet-http-urlencoded.c \ - packet-hyperscsi.c \ - packet-i2c.c \ - packet-iana-oui.c \ - packet-iapp.c \ - packet-iax2.c \ - packet-icap.c \ - packet-icep.c \ - packet-icmp.c \ - packet-icmpv6.c \ - packet-icp.c \ - packet-icq.c \ - packet-idp.c \ - packet-idrp.c \ - packet-iec104.c \ - packet-ieee1722.c \ - packet-ieee17221.c \ - packet-ieee1905.c \ - packet-ieee80211-netmon.c \ - packet-ieee80211-prism.c \ - packet-ieee80211-radio.c \ - packet-ieee80211-radiotap-iter.c\ - packet-ieee80211-radiotap.c \ - packet-ieee80211-wlancap.c \ - packet-ieee80211.c \ - packet-ieee802154.c \ - packet-ieee8021ah.c \ - packet-ieee8023.c \ - packet-ieee802a.c \ - packet-ifcp.c \ - packet-igap.c \ - packet-igmp.c \ - packet-igrp.c \ - packet-imap.c \ - packet-imf.c \ - packet-indigocare-icall.c \ - packet-indigocare-netrix.c \ - packet-infiniband.c \ - packet-infiniband_sdp.c \ - packet-interlink.c \ - packet-ip.c \ - packet-ipars.c \ - packet-ipdc.c \ - packet-ipdr.c \ - packet-iperf.c \ - packet-ipfc.c \ - packet-ipmi.c \ - packet-ipmi-app.c \ - packet-ipmi-bridge.c \ - packet-ipmi-chassis.c \ - packet-ipmi-picmg.c \ - packet-ipmi-se.c \ - packet-ipmi-session.c \ - packet-ipmi-storage.c \ - packet-ipmi-trace.c \ - packet-ipmi-transport.c \ - packet-ipmi-pps.c \ - packet-ipmi-update.c \ - packet-ipmi-vita.c \ - packet-ipnet.c \ - packet-ipoib.c \ - packet-ipos.c \ - packet-ipp.c \ - packet-ipsec-tcp.c \ - packet-ipsec-udp.c \ - packet-ipsec.c \ - packet-ipsi-ctl.c \ - packet-ipv6.c \ - packet-ipvs-syncd.c \ - packet-ipx.c \ - packet-ipxwan.c \ - packet-irc.c \ - packet-isakmp.c \ - packet-iscsi.c \ - packet-isdn.c \ - packet-iser.c \ - packet-isi.c \ - packet-isis-clv.c \ - packet-isis-hello.c \ - packet-isis-lsp.c \ - packet-isis-snp.c \ - packet-isis.c \ - packet-isl.c \ - packet-ismacryp.c \ - packet-ismp.c \ - packet-isns.c \ - packet-iso14443.c \ - packet-iso15765.c \ - packet-iso7816.c \ - packet-iso8583.c \ - packet-isobus.c \ - packet-isobus-vt.c \ - packet-isup.c \ - packet-itdm.c \ - packet-iua.c \ - packet-iuup.c \ - packet-iwarp-ddp-rdmap.c\ - packet-iwarp-mpa.c \ - packet-ixiatrailer.c \ - packet-ixveriwave.c \ - packet-j1939.c \ - packet-jmirror.c \ - packet-jpeg.c \ - packet-json.c \ - packet-juniper.c \ - packet-jxta.c \ - packet-k12.c \ - packet-kadm5.c \ - packet-kafka.c \ - packet-kdp.c \ - packet-kdsp.c \ - packet-kerberos4.c \ - packet-kingfisher.c \ - packet-kink.c \ - packet-kismet.c \ - packet-klm.c \ - packet-knet.c \ - packet-knxnetip.c \ - packet-kpasswd.c \ - packet-kt.c \ - packet-l1-events.c \ - packet-l2tp.c \ - packet-lacp.c \ - packet-lanforge.c \ - packet-lapb.c \ - packet-lapbether.c \ - packet-lapd.c \ - packet-lapdm.c \ - packet-laplink.c \ - packet-lapsat.c \ - packet-lat.c \ - packet-lbm.c \ - packet-lbmc.c \ - packet-lbmpdm.c \ - packet-lbmpdmtcp.c \ - packet-lbmr.c \ - packet-lbtrm.c \ - packet-lbtru.c \ - packet-lbttcp.c \ - packet-ldp.c \ - packet-ldss.c \ - packet-lg8979.c \ - packet-lge_monitor.c \ - packet-link16.c \ - packet-linx.c \ - packet-lisp-data.c \ - packet-lisp-tcp.c \ - packet-lisp.c \ - packet-llc.c \ - packet-lldp.c \ - packet-llrp.c \ - packet-llt.c \ - packet-lltd.c \ - packet-lmi.c \ - packet-lmp.c \ - packet-lnet.c \ - packet-logcat.c \ - packet-logcat-text.c \ - packet-lon.c \ - packet-loop.c \ - packet-loratap.c \ - packet-lorawan.c \ - packet-lpd.c \ - packet-lsc.c \ - packet-lsd.c \ - packet-ltp.c \ - packet-lustre.c \ - packet-lwapp.c \ - packet-lwm.c \ - packet-lwm2mtlv.c \ - packet-lwres.c \ - packet-m2pa.c \ - packet-m2tp.c \ - packet-m2ua.c \ - packet-m3ua.c \ - packet-maap.c \ - packet-mac-lte-framed.c \ - packet-mac-lte.c \ - packet-mac-nr.c \ - packet-maccontrol.c \ - packet-macsec.c \ - packet-mactelnet.c \ - packet-manolito.c \ - packet-marker.c \ - packet-mausb.c \ - packet-mbim.c \ - packet-mbtcp.c \ - packet-mcpe.c \ - packet-mdshdr.c \ - packet-media.c \ - packet-megaco.c \ - packet-memcache.c \ - packet-mesh.c \ - packet-messageanalyzer.c \ - packet-meta.c \ - packet-metamako.c \ - packet-mgcp.c \ - packet-mih.c \ - packet-mikey.c \ - packet-mime-encap.c \ - packet-mint.c \ - packet-miop.c \ - packet-mip.c \ - packet-mip6.c \ - packet-mka.c \ - packet-mle.c \ - packet-mmse.c \ - packet-mndp.c \ - packet-mojito.c \ - packet-moldudp.c \ - packet-moldudp64.c \ - packet-mongo.c \ - packet-mount.c \ - packet-mp2t.c \ - packet-mp4ves.c \ - packet-mpeg-ca.c \ - packet-mpeg-descriptor.c \ - packet-mpeg-dsmcc.c \ - packet-mpeg-pat.c \ - packet-mpeg-pmt.c \ - packet-mpeg-sect.c \ - packet-mpeg1.c \ - packet-mpls-echo.c \ - packet-mpls-mac.c \ - packet-mpls-pm.c \ - packet-mpls-psc.c \ - packet-mplstp-oam.c \ - packet-mpls-y1711.c \ - packet-mpls.c \ - packet-mq-base.c \ - packet-mq-pcf.c \ - packet-mq.c \ - packet-mqtt.c \ - packet-mqtt-sn.c \ - packet-mrcpv2.c \ - packet-mrdisc.c \ - packet-mrp-mmrp.c \ - packet-mrp-msrp.c \ - packet-mrp-mvrp.c \ - packet-ms-mms.c \ - packet-msdp.c \ - packet-msn-messenger.c \ - packet-msnip.c \ - packet-msnlb.c \ - packet-msproxy.c \ - packet-msrp.c \ - packet-mstp.c \ - packet-mswsp.c \ - packet-mtp2.c \ - packet-mtp3.c \ - packet-mtp3mg.c \ - packet-multipart.c \ - packet-mux27010.c \ - packet-mysql.c \ - packet-nano.c \ - packet-nas_5gs.c \ - packet-nas_eps.c \ - packet-nasdaq-itch.c \ - packet-nasdaq-soup.c \ - packet-nat-pmp.c \ - packet-nb_rtpmux.c \ - packet-nbd.c \ - packet-nbifom.c \ - packet-nbipx.c \ - packet-nbt.c \ - packet-ncp-nmas.c \ - packet-ncp-sss.c \ - packet-ncp.c \ - packet-ncp2222.c \ - packet-ncs.c \ - packet-ndmp.c \ - packet-ndp.c \ - packet-ndps.c \ - packet-negoex.c \ - packet-netanalyzer.c \ - packet-netbios.c \ - packet-netdump.c \ - packet-netgear-ensemble.c \ - packet-netflow.c \ - packet-netlink-generic.c \ - packet-netlink-netfilter.c \ - packet-netlink-nl80211.c \ - packet-netlink-route.c \ - packet-netlink-sock_diag.c \ - packet-netlink.c \ - packet-netmon.c \ - packet-netperfmeter.c \ - packet-netrom.c \ - packet-netsync.c \ - packet-nettl.c \ - packet-newmail.c \ - packet-nflog.c \ - packet-nfs.c \ - packet-nfsacl.c \ - packet-nfsauth.c \ - packet-nhrp.c \ - packet-nisplus.c \ - packet-nlm.c \ - packet-nlsp.c \ - packet-nntp.c \ - packet-noe.c \ - packet-nordic_ble.c \ - packet-ns-ha.c \ - packet-ns-mep.c \ - packet-ns-rpc.c \ - packet-nsip.c \ - packet-nsh.c \ - packet-nsrp.c \ - packet-nstrace.c \ - packet-nt-oui.c \ - packet-nt-tpcp.c \ - packet-ntlmssp.c \ - packet-ntp.c \ - packet-null.c \ - packet-nvme.c \ - packet-nvme-rdma.c \ - packet-nwmtp.c \ - packet-nwp.c \ - packet-nxp_802154_sniffer.c \ - packet-nfapi.c \ - packet-oampdu.c \ - packet-obd-ii.c \ - packet-obex.c \ - packet-ocfs2.c \ - packet-oicq.c \ - packet-oipf.c \ - packet-olsr.c \ - packet-omapi.c \ - packet-omron-fins.c \ - packet-opa.c \ - packet-opa-fe.c \ - packet-opa-mad.c \ - packet-opa-snc.c \ - packet-openflow.c \ - packet-openflow_v1.c \ - packet-openflow_v4.c \ - packet-openflow_v5.c \ - packet-openflow_v6.c \ - packet-opensafety.c \ - packet-openthread.c \ - packet-openvpn.c \ - packet-openwire.c \ - packet-opsi.c \ - packet-optommp.c \ - packet-osc.c \ - packet-oscore.c \ - packet-osi-options.c \ - packet-osi.c \ - packet-ositp.c \ - packet-ospf.c \ - packet-ossp.c \ - packet-ouch.c \ - packet-p_mul.c \ - packet-pathport.c \ - packet-packetbb.c \ - packet-packetlogger.c \ - packet-pagp.c \ - packet-paltalk.c \ - packet-pana.c \ - packet-pcap_pktdata.c \ - packet-pcapng_block.c \ - packet-pcep.c \ - packet-pcli.c \ - packet-pcnfsd.c \ - packet-pcp.c \ - packet-pdc.c \ - packet-pdcp-lte.c \ - packet-pdcp-nr.c \ - packet-peekremote.c \ - packet-per.c \ - packet-pfcp.c \ - packet-pflog.c \ - packet-pgm.c \ - packet-pgsql.c \ - packet-pim.c \ - packet-pingpongprotocol.c \ - packet-pktap.c \ - packet-pktc.c \ - packet-pktgen.c \ - packet-pmproxy.c \ - packet-pnrp.c \ - packet-pop.c \ - packet-portmap.c \ - packet-ppcap.c \ - packet-ppi-antenna.c \ - packet-ppi-geolocation-common.c \ - packet-ppi-gps.c \ - packet-ppi-sensor.c \ - packet-ppi-vector.c \ - packet-ppi.c \ - packet-ppp.c \ - packet-pppoe.c \ - packet-pptp.c \ - packet-protobuf.c \ - packet-prp.c \ - packet-ptp.c \ - packet-ptpip.c \ - packet-pulse.c \ - packet-pvfs2.c \ - packet-pw-atm.c \ - packet-pw-cesopsn.c \ - packet-pw-common.c \ - packet-pw-eth.c \ - packet-pw-fr.c \ - packet-pw-hdlc.c \ - packet-pw-oam.c \ - packet-pw-satop.c \ - packet-q2931.c \ - packet-q708.c \ - packet-q931.c \ - packet-q933.c \ - packet-qllc.c \ - packet-qnet6.c \ - packet-quake.c \ - packet-quake2.c \ - packet-quake3.c \ - packet-quakeworld.c \ - packet-quic.c \ - packet-radius.c \ - packet-radius_packetcable.c \ - packet-raknet.c \ - packet-raw.c \ - packet-rdm.c \ - packet-rdp.c \ - packet-rdt.c \ - packet-redback.c \ - packet-redbackli.c \ - packet-reload-framing.c \ - packet-reload.c \ - packet-retix-bpdu.c \ - packet-rfc2190.c \ - packet-rfid-felica.c \ - packet-rfid-mifare.c \ - packet-rfid-pn532.c \ - packet-rfid-pn532-hci.c \ - packet-rftap.c \ - packet-rgmp.c \ - packet-riemann.c \ - packet-rip.c \ - packet-ripng.c \ - packet-rlc-lte.c \ - packet-rlc-nr.c \ - packet-rlm.c \ - packet-rlogin.c \ - packet-rmcp.c \ - packet-rmi.c \ - packet-rmp.c \ - packet-rmt-alc.c \ - packet-rmt-fec.c \ - packet-rmt-lct.c \ - packet-rmt-norm.c \ - packet-rohc.c \ - packet-roofnet.c \ - packet-rpc.c \ - packet-rpcap.c \ - packet-rpcrdma.c \ - packet-rpki-rtr.c \ - packet-rpl.c \ - packet-rquota.c \ - packet-rsh.c \ - packet-rsip.c \ - packet-rsl.c \ - packet-rstat.c \ - packet-rsvd.c \ - packet-rsvp.c \ - packet-rsync.c \ - packet-rtacser.c \ - packet-rtcdc.c \ - packet-rtcp.c \ - packet-rtitcp.c \ - packet-rtls.c \ - packet-rtmpt.c \ - packet-rtnet.c \ - packet-rtp-events.c \ - packet-rtp-midi.c \ - packet-rtp.c \ - packet-rtpproxy.c \ - packet-rtps.c \ - packet-rtsp.c \ - packet-rudp.c \ - packet-rwall.c \ - packet-rx.c \ - packet-s5066sis.c \ - packet-s5066dts.c \ - packet-s7comm.c \ - packet-s7comm_szl_ids.c \ - packet-sadmind.c \ - packet-sametime.c \ - packet-sap.c \ - packet-sasp.c \ - packet-sbus.c \ - packet-sbc.c \ - packet-sccp.c \ - packet-sccpmg.c \ - packet-scop.c \ - packet-scriptingservice.c \ - packet-scsi-mmc.c \ - packet-scsi-osd.c \ - packet-scsi-sbc.c \ - packet-scsi-smc.c \ - packet-scsi-ssc.c \ - packet-scsi.c \ - packet-scte35.c \ - packet-sctp.c \ - packet-sdh.c \ - packet-sdlc.c \ - packet-sdp.c \ - packet-sebek.c \ - packet-selfm.c \ - packet-sercosiii.c \ - packet-ses.c \ - packet-sflow.c \ - packet-sgsap.c \ - packet-shim6.c \ - packet-sigcomp.c \ - packet-simple.c \ - packet-simulcrypt.c \ - packet-sip.c \ - packet-sipfrag.c \ - packet-sita.c \ - packet-skinny.c \ - packet-skype.c \ - packet-slimp3.c \ - packet-sll.c \ - packet-slowprotocols.c \ - packet-slsk.c \ - packet-smb-browse.c \ - packet-smb-common.c \ - packet-smb-logon.c \ - packet-smb-mailslot.c \ - packet-smb-pipe.c \ - packet-smb-sidsnooping.c \ - packet-smb-direct.c \ - packet-smb.c \ - packet-smb2.c \ - packet-smcr.c \ - packet-sml.c \ - packet-smp.c \ - packet-smpp.c \ - packet-smtp.c \ - packet-sna.c \ - packet-snaeth.c \ - packet-sndcp-xid.c \ - packet-sndcp.c \ - packet-snort.c \ - packet-socketcan.c \ - packet-socks.c \ - packet-solaredge.c \ - packet-soupbintcp.c \ - packet-spdy.c \ - packet-spice.c \ - packet-spp.c \ - packet-spray.c \ - packet-sprt.c \ - packet-srp.c \ - packet-srvloc.c \ - packet-sscf-nni.c \ - packet-sscop.c \ - packet-ssh.c \ - packet-ssl-utils.c \ - packet-ssl.c \ - packet-sstp.c \ - packet-stanag4607.c \ - packet-starteam.c \ - packet-stat-notify.c \ - packet-stat.c \ - packet-steam-ihs-discovery.c \ - packet-stt.c \ - packet-stun.c \ - packet-sua.c \ - packet-swipe.c \ - packet-symantec.c \ - packet-sync.c \ - packet-synergy.c \ - packet-synphasor.c \ - packet-sysdig-event.c \ - packet-sysex.c \ - packet-syslog.c \ - packet-t30.c \ - packet-tacacs.c \ - packet-tali.c \ - packet-tapa.c \ - packet-tcp.c \ - packet-tcpros.c \ - packet-tdmoe.c \ - packet-tdmop.c \ - packet-tds.c \ - packet-teamspeak2.c \ - packet-teimanagement.c \ - packet-teklink.c \ - packet-telkonet.c \ - packet-telnet.c \ - packet-teredo.c \ - packet-text-media.c \ - packet-tfp.c \ - packet-tftp.c \ - packet-thread.c \ - packet-thrift.c \ - packet-tibia.c \ - packet-time.c \ - packet-tipc.c \ - packet-tivoconnect.c \ - packet-tn3270.c \ - packet-tn5250.c \ - packet-tnef.c \ - packet-tns.c \ - packet-tpkt.c \ - packet-tpncp.c \ - packet-tr.c \ - packet-trill.c \ - packet-trmac.c \ - packet-tsp.c \ - packet-tte-pcf.c \ - packet-tte.c \ - packet-turbocell.c \ - packet-turnchannel.c \ - packet-tuxedo.c \ - packet-twamp.c \ - packet-tzsp.c \ - packet-u3v.c \ - packet-ua.c \ - packet-ua3g.c \ - packet-uasip.c \ - packet-uaudp.c \ - packet-ubertooth.c \ - packet-ucp.c \ - packet-udld.c \ - packet-udp.c \ - packet-udp-nm.c \ - packet-uds.c \ - packet-udt.c \ - packet-uftp.c \ - packet-uftp4.c \ - packet-uhd.c \ - packet-uma.c \ - packet-umts_fp.c \ - packet-umts_mac.c \ - packet-umts_rlc.c \ - packet-usb-audio.c \ - packet-usb-ccid.c \ - packet-usb-com.c \ - packet-usb-dfu.c \ - packet-usb-hid.c \ - packet-usb-hub.c \ - packet-usb-i1d3.c \ - packet-usb-masstorage.c \ - packet-usb-video.c \ - packet-usb.c \ - packet-usbip.c \ - packet-user_encap.c \ - packet-userlog.c \ - packet-uts.c \ - packet-v120.c \ - packet-v150fw.c \ - packet-v52.c \ - packet-v5dl.c \ - packet-v5ef.c \ - packet-v5ua.c \ - packet-vcdu.c \ - packet-vicp.c \ - packet-vines.c \ - packet-vlan.c \ - packet-vmlab.c \ - packet-vnc.c \ - packet-vntag.c \ - packet-vp8.c \ - packet-vrrp.c \ - packet-vrt.c \ - packet-vsip.c \ - packet-vsock.c \ - packet-vssmonitoring.c \ - packet-vtp.c \ - packet-vuze-dht.c \ - packet-vxi11.c \ - packet-vxlan.c \ - packet-wai.c \ - packet-wap.c \ - packet-wassp.c \ - packet-waveagent.c \ - packet-wbxml.c \ - packet-wccp.c \ - packet-wcp.c \ - packet-websocket.c \ - packet-wfleet-hdlc.c \ - packet-who.c \ - packet-whois.c \ - packet-wifi-dpp.c \ - packet-wifi-display.c \ - packet-wifi-p2p.c \ - packet-windows-common.c \ - packet-winsrepl.c \ - packet-wisun.c \ - packet-wlccp.c \ - packet-wol.c \ - packet-wow.c \ - packet-wps.c \ - packet-wreth.c \ - packet-wsmp.c \ - packet-wsp.c \ - packet-wtls.c \ - packet-wtp.c \ - packet-x11.c \ - packet-x25.c \ - packet-x29.c \ - packet-xcsl.c \ - packet-xdmcp.c \ - packet-xip.c \ - packet-xip-serval.c \ - packet-xmcp.c \ - packet-xml.c \ - packet-xmpp-conference.c \ - packet-xmpp-core.c \ - packet-xmpp-gtalk.c \ - packet-xmpp-jingle.c \ - packet-xmpp-other.c \ - packet-xmpp-utils.c \ - packet-xmpp.c \ - packet-xot.c \ - packet-xra.c \ - packet-xtp.c \ - packet-xyplex.c \ - packet-yami.c \ - packet-yhoo.c \ - packet-ymsg.c \ - packet-ypbind.c \ - packet-yppasswd.c \ - packet-ypserv.c \ - packet-ypxfr.c \ - packet-zbee-aps.c \ - packet-zbee-nwk.c \ - packet-zbee-nwk-gp.c \ - packet-zbee-security.c \ - packet-zbee-zcl.c \ - packet-zbee-zcl-closures.c \ - packet-zbee-zcl-general.c \ - packet-zbee-zcl-ha.c \ - packet-zbee-zcl-hvac.c \ - packet-zbee-zcl-lighting.c \ - packet-zbee-zcl-meas-sensing.c \ - packet-zbee-zcl-misc.c \ - packet-zbee-zcl-sas.c \ - packet-zbee-zcl-se.c \ - packet-zbee-zdp.c \ - packet-zbee-zdp-binding.c \ - packet-zbee-zdp-discovery.c \ - packet-zbee-zdp-management.c \ - packet-zebra.c \ - packet-zep.c \ - packet-ziop.c \ - packet-zrtp.c \ - packet-zvt.c \ - $(CUSTOM_DISSECTOR_SRC) - -# -# Headers for file dissectors. -# -FILE_DISSECTOR_INCLUDES = \ - file-file.h - -# -# Headers for dissectors. -# -DISSECTOR_INCLUDES = \ - $(PIDL_DISSECTOR_INCLUDES) \ - dissectors.h \ - packet-6lowpan.h \ - packet-a21.h \ - packet-acp133.h \ - packet-acse.h \ - packet-actrace.h \ - packet-adb_service.h \ - packet-afp.h \ - packet-alcap.h \ - packet-ansi_a.h \ - packet-ansi_map.h \ - packet-ansi_tcap.h \ - packet-arp.h \ - packet-atalk.h \ - packet-atm.h \ - packet-atn-ulcs.h \ - packet-bacapp.h \ - packet-bacnet.h \ - packet-ber.h \ - packet-bfd.h \ - packet-bgp.h \ - packet-bluetooth.h \ - packet-bssap.h \ - packet-bssgp.h \ - packet-btatt.h \ - packet-btavctp.h \ - packet-btavdtp.h \ - packet-btavrcp.h \ - packet-bthci_acl.h \ - packet-bthci_cmd.h \ - packet-bthci_evt.h \ - packet-bthci_sco.h \ - packet-btl2cap.h \ - packet-btle.h \ - packet-btrfcomm.h \ - packet-btsdp.h \ - packet-c1222.h \ - packet-camel.h \ - packet-cdt.h \ - packet-cell_broadcast.h \ - packet-charging_ase.h \ - packet-chdlc.h \ - packet-cip.h \ - packet-cipsafety.h \ - packet-clearcase.h \ - packet-cmip.h \ - packet-cmp.h \ - packet-cms.h \ - packet-coap.h \ - packet-credssp.h \ - packet-crmf.h \ - packet-csn1.h \ - packet-dap.h \ - packet-dcc.h \ - packet-dccp.h \ - packet-dcerpc.h \ - packet-dcerpc-browser.h \ - packet-dcerpc-budb.h \ - packet-dcerpc-butc.h \ - packet-dcerpc-dce122.h \ - packet-dcerpc-dcom.h \ - packet-dcerpc-dnsserver.h \ - packet-dcerpc-frsapi.h \ - packet-dcerpc-frsrpc.h \ - packet-dcerpc-netlogon.h \ - packet-dcerpc-nt.h \ - packet-dcerpc-pnp.h \ - packet-dcerpc-rras.h \ - packet-dcerpc-samr.h \ - packet-dcerpc-spoolss.h \ - packet-dcerpc-svcctl.h \ - packet-dcerpc-tapi.h \ - packet-dcom.h \ - packet-dcom-dispatch.h \ - packet-diameter.h \ - packet-diameter_3gpp.h \ - packet-diffserv-mpls-common.h \ - packet-disp.h \ - packet-dns.h \ - packet-docsis-tlv.h \ - packet-dop.h \ - packet-dsp.h \ - packet-dtls.h \ - packet-dtn.h \ - packet-dvbci.h \ - packet-enip.h \ - packet-erf.h \ - packet-e164.h \ - packet-e212.h \ - packet-eapol.h \ - packet-edonkey.h \ - packet-eigrp.h \ - packet-epl.h \ - packet-epmd.h \ - packet-ess.h \ - packet-eth.h \ - packet-f5ethtrailer.h \ - packet-fc.h \ - packet-fcbls.h \ - packet-fcct.h \ - packet-fcels.h \ - packet-fcfcs.h \ - packet-fcfzs.h \ - packet-fclctl.h \ - packet-fcp.h \ - packet-fcsb3.h \ - packet-fcswils.h \ - packet-ff.h \ - packet-fix.h \ - packet-fmp.h \ - packet-frame.h \ - packet-ftam.h \ - packet-giop.h \ - packet-gluster.h \ - packet-gmr1_common.h \ - packet-gmr1_rr.h \ - packet-gnutella.h \ - packet-gprscdr.h \ - packet-gre.h \ - packet-gsm_a_common.h \ - packet-gsm_a_rr.h \ - packet-gsm_map.h \ - packet-gsm_rlcmac.h \ - packet-gsm_sms.h \ - packet-gsmtap.h \ - packet-gssapi.h \ - packet-gtp.h \ - packet-gtpv2.h \ - packet-h223.h \ - packet-h225.h \ - packet-h235.h \ - packet-h245.h \ - packet-h248.h \ - packet-h263.h \ - packet-h264.h \ - packet-h323.h \ - packet-h450-ros.h \ - packet-hpext.h \ - packet-http.h \ - packet-http2.h \ - packet-iana-oui.h \ - packet-iax2.h \ - packet-icmp.h \ - packet-idmp.h \ - packet-idp.h \ - packet-ieee80211.h \ - packet-ieee80211-radio.h \ - packet-ieee80211-radiotap-iter.h \ - packet-ieee80211-radiotap-defs.h \ - packet-ieee802154.h \ - packet-ieee8023.h \ - packet-ieee802a.h \ - packet-igmp.h \ - packet-imf.h \ - packet-inap.h \ - packet-infiniband.h \ - packet-ip.h \ - packet-ipmi.h \ - packet-ipsec.h \ - packet-ipx.h \ - packet-isakmp.h \ - packet-isis.h \ - packet-isis-clv.h \ - packet-isl.h \ - packet-isup.h \ - packet-iwarp-ddp-rdmap.h \ - packet-juniper.h \ - packet-jxta.h \ - packet-kerberos.h \ - packet-klm.h \ - packet-l2tp.h \ - packet-lapdm.h \ - packet-lbm.h \ - packet-lbtrm.h \ - packet-lbtru.h \ - packet-lbttcp.h \ - packet-ldap.h \ - packet-lcsap.h \ - packet-ldp.h \ - packet-link16.h \ - packet-llc.h \ - packet-lnet.h \ - packet-logotypecertextn.h \ - packet-lpp.h \ - packet-lte-rrc.h \ - packet-mac-lte.h \ - packet-mac-nr.h \ - packet-mausb.h \ - packet-mbim.h \ - packet-mbtcp.h \ - packet-mgcp.h \ - packet-mle.h \ - packet-mms.h \ - packet-mount.h \ - packet-mp4ves.h \ - packet-mpeg-descriptor.h \ - packet-mpeg-pmt.h \ - packet-mpeg-sect.h \ - packet-mpls.h \ - packet-mq.h \ - packet-msrp.h \ - packet-mstp.h \ - packet-mtp3.h \ - packet-nbap.h \ - packet-ncp-int.h \ - packet-ncp-nmas.h \ - packet-ncp-sss.h \ - packet-ndmp.h \ - packet-ndps.h \ - packet-netbios.h \ - packet-netlink.h \ - packet-netmon.h \ - packet-nfs.h \ - packet-nisplus.h \ - packet-nlm.h \ - packet-nr-rrc.h \ - packet-nsh.h \ - packet-ntlmssp.h \ - packet-ntp.h \ - packet-nvme.h \ - packet-ocsp.h \ - packet-opensafety.h \ - packet-oscore.h \ - packet-osi.h \ - packet-osi-options.h \ - packet-p1.h \ - packet-p22.h \ - packet-p7.h \ - packet-p772.h \ - packet-pcap_pktdata.h \ - packet-pcnfsd.h \ - packet-pdcp-lte.h \ - packet-pdcp-nr.h \ - packet-per.h \ - packet-pkcs1.h \ - packet-pkcs12.h \ - packet-pkix1explicit.h \ - packet-pkix1implicit.h \ - packet-pkixac.h \ - packet-pkixproxy.h \ - packet-pkixqualified.h \ - packet-pkixtsp.h \ - packet-pkinit.h \ - packet-pktc.h \ - packet-portmap.h \ - packet-ppi-geolocation-common.h \ - packet-ppp.h \ - packet-pres.h \ - packet-protobuf.h \ - packet-ptp.h \ - packet-ptpip.h \ - packet-pw-atm.h \ - packet-pw-common.h \ - packet-q708.h \ - packet-q931.h \ - packet-q932.h \ - packet-qsig.h \ - packet-radius.h \ - packet-raknet.h \ - packet-ranap.h \ - packet-rdm.h \ - packet-rdt.h \ - packet-reload.h \ - packet-rlc-lte.h \ - packet-rlc-nr.h \ - packet-rmi.h \ - packet-rmt-common.h \ - packet-rohc.h \ - packet-ros.h \ - packet-rpc.h \ - packet-rpcrdma.h \ - packet-rquota.h \ - packet-rrc.h \ - packet-rsvp.h \ - packet-rtcp.h \ - packet-rtp.h \ - packet-rtps.h \ - packet-rtp-events.h \ - packet-rtse.h \ - packet-rtsp.h \ - packet-rwall.h \ - packet-rx.h \ - packet-s1ap.h \ - packet-s5066sis.h \ - packet-s7comm.h \ - packet-s7comm_szl_ids.h \ - packet-sccp.h \ - packet-scsi.h \ - packet-scsi-mmc.h \ - packet-scsi-osd.h \ - packet-scsi-sbc.h \ - packet-scsi-smc.h \ - packet-scsi-ssc.h \ - packet-sctp.h \ - packet-sdp.h \ - packet-ses.h \ - packet-sflow.h \ - packet-sip.h \ - packet-skinny.h \ - packet-sll.h \ - packet-smb.h \ - packet-smb2.h \ - packet-smb-browse.h \ - packet-smb-common.h \ - packet-smb-mailslot.h \ - packet-smb-pipe.h \ - packet-smb-sidsnooping.h \ - packet-smpp.h \ - packet-smrse.h \ - packet-snmp.h \ - packet-socketcan.h \ - packet-spice.h \ - packet-spray.h \ - packet-sprt.h \ - packet-sscop.h \ - packet-ssl.h \ - packet-ssl-utils.h \ - packet-stat.h \ - packet-stat-notify.h \ - packet-sv.h \ - packet-t124.h \ - packet-t30.h \ - packet-t38.h \ - packet-tacacs.h \ - packet-tcap.h \ - packet-tcp.h \ - packet-tetra.h \ - packet-tftp.h \ - packet-thrift.h \ - packet-tn3270.h \ - packet-tn5250.h \ - packet-tpkt.h \ - packet-tr.h \ - packet-tte.h \ - packet-ua.h \ - packet-uaudp.h \ - packet-ubertooth.h \ - packet-udp.h \ - packet-umts_fp.h \ - packet-umts_mac.h \ - packet-umts_rlc.h \ - packet-usb.h \ - packet-usb-hid.h \ - packet-usbip.h \ - packet-vxlan.h \ - packet-wap.h \ - packet-wccp.h \ - packet-windows-common.h \ - packet-wlancertextn.h \ - packet-wps.h \ - packet-wsp.h \ - packet-wtls.h \ - packet-wtp.h \ - packet-x11.h \ - packet-x11-keysymdef.h \ - x11-keysym.h \ - x11-declarations.h \ - x11-register-info.h \ - x11-extension-implementation.h \ - x11-extension-errors.h \ - x11-glx-render-enum.h \ - x11-enum.h \ - packet-x2ap.h \ - packet-x509af.h \ - packet-x509ce.h \ - packet-x509if.h \ - packet-x509sat.h \ - packet-xml.h \ - packet-xmpp-conference.h \ - packet-xmpp-core.h \ - packet-xmpp-gtalk.h \ - packet-xmpp.h \ - packet-xmpp-jingle.h \ - packet-xmpp-other.h \ - packet-xmpp-utils.h \ - packet-ypbind.h \ - packet-yppasswd.h \ - packet-ypserv.h \ - packet-ypxfr.h \ - packet-zbee.h \ - packet-zbee-aps.h \ - packet-zbee-nwk.h \ - packet-zbee-security.h \ - packet-zbee-zcl.h \ - packet-zbee-zdp.h \ - packet-ziop.h \ - read_keytab_file.h \ - snort-config.h \ - $(CUSTOM_HEADER_FILES) - -# Dissector helpers. They're included in the source files in this -# directory, but they're not dissectors themselves, i.e. they're not -# used to generate "dissectors.c"). -DISSECTOR_SUPPORT_SRC = \ - errno.c \ - packet-dcerpc-nt.c \ - snort-config.c \ - usb.c - -ALL_DISSECTORS_SRC = \ - $(DISSECTOR_SRC) \ - $(FILE_DISSECTOR_SRC) \ - $(PIDL_DISSECTOR_SRC) \ - $(ASN1_DISSECTOR_SRC) \ - $(DIRTY_ASN1_DISSECTOR_SRC) \ - $(CORBA_IDL_DISSECTOR_SRC) \ - $(DIRTY_CORBA_IDL_DISSECTOR_SRC) - -noinst_LTLIBRARIES = libdirtydissectors.la libfiledissectors.la libdissectors.la - -libdirtydissectors_la_SOURCES = \ - $(DIRTY_ASN1_DISSECTOR_SRC) \ - $(DIRTY_CORBA_IDL_DISSECTOR_SRC) - -libdirtydissectors_la_CFLAGS = $(DIRTY_CFLAGS) - -libfiledissectors_la_SOURCES = \ - $(FILE_DISSECTOR_SRC) - -libdissectors_la_SOURCES = \ - $(DISSECTOR_SRC) \ - $(ASN1_DISSECTOR_SRC) \ - $(CORBA_IDL_DISSECTOR_SRC) \ - $(PIDL_DISSECTOR_SRC) \ - $(DISSECTOR_SUPPORT_SRC) - -nodist_libdissectors_la_SOURCES = \ - $(NODIST_GENERATED_C_FILES) - -subpkgincludedir = $(pkgincludedir)/epan/dissectors - -subpkginclude_HEADERS = \ - $(DISSECTOR_INCLUDES) - -# this target needed for distribution only -noinst_HEADERS = \ - $(FILE_DISSECTOR_INCLUDES) - -noinst_PROGRAMS = make-dissectors - -make_dissectors_CFLAGS = $(WS_CPPFLAGS) $(GLIB_CFLAGS) - -make_dissectors_LDADD = $(GLIB_LIBS) \ - ${top_builddir}/wsutil/libwsutil.la - -# include asn1 in the source tarball. But nothing to build... -DIST_SUBDIRS = asn1 dcerpc - -SUBDIRS = dcerpc - -EXTRA_DIST = \ - .editorconfig \ - Custom.common \ - packet-ncp2222.inc \ - README.X11 \ - x11-fields \ - CMakeLists.txt \ - CMakeListsCustom.txt.example \ - pidl - -packet-ncp2222.c : $(top_srcdir)/tools/ncp2222.py - $(AM_V_python)$(PYTHON) $(top_srcdir)/tools/ncp2222.py -o $@ - -# Target to rebuild the X11 dissector header files. -# See README.X11 before using this--it requires the xcb and mesa source. -x11-dissector: $(top_srcdir)/tools/process-x11-fields.pl $(srcdir)/x11-fields $(top_srcdir)/tools/process-x11-xcb.pl - $(PERL) $(top_srcdir)/tools/process-x11-fields.pl $(srcdir) < $(srcdir)/x11-fields - $(PERL) $(top_srcdir)/tools/process-x11-xcb.pl $(srcdir) - -# -# Build dissectors.c, which contains a function pointer array -# with the register routines for all protocols and a function pointer array -# with the handoff registration routines for all protocols. -# -# ALL_DISSECTORS_SRC is assumed to have all the files that need to be scanned. -# -# We pass the arguments to make-dissectors in a file to avoid limitations -# with the number of arguments handled by main(). -# -dissectors.c: make-dissectors $(ALL_DISSECTORS_SRC) - @echo Making dissectors.c - @echo $^ | tr ' ' '\n' | $(GREP) '\.c$$' > dissectors.in.txt && \ - $(builddir)/make-dissectors $@ @dissectors.in.txt - -MOSTLYCLEANFILES = \ - dissectors.in.txt - -DISTCLEANFILES = \ - $(NODIST_GENERATED_FILES) - -MAINTAINERCLEANFILES = \ - packet-ncp2222.c - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(ALL_DISSECTORS_SRC) $(DISSECTOR_INCLUDES) $(DISSECTOR_SUPPORT_SRC) diff --git a/epan/dissectors/asn1/Custom.make b/epan/dissectors/asn1/Custom.make deleted file mode 100644 index cf2e020eb0..0000000000 --- a/epan/dissectors/asn1/Custom.make +++ /dev/null @@ -1,18 +0,0 @@ -# Automake file for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 2006 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# -# Add custom asn1 directories here, the file is included by Makefile.am -# Note you need to add a Custom.m4 file too. -# -CUSTOM_SUBDIRS = - -# Add custom dirs here for BER dissectors on Windows -CUSTOM_BER_LIST = - -# Add custom dirs here for PER dissectors on Windows -CUSTOM_PER_LIST = diff --git a/epan/dissectors/asn1/HI2Operations/Makefile.am b/epan/dissectors/asn1/HI2Operations/Makefile.am deleted file mode 100644 index fa1255bfbc..0000000000 --- a/epan/dissectors/asn1/HI2Operations/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=HI2Operations - -ASN_FILE_LIST = \ - HI2Operations_ver11.asn \ - UmtsHI2Operations.asn \ - TS101909201.asn \ - PCESP.asn \ - EN301040.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/Makefile.am b/epan/dissectors/asn1/Makefile.am deleted file mode 100644 index 75bc121466..0000000000 --- a/epan/dissectors/asn1/Makefile.am +++ /dev/null @@ -1,128 +0,0 @@ -# Makefile.am -# Automake file for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 2006 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include Custom.make - -SUBDIRS = \ - $(CUSTOM_SUBDIRS) \ - acp133 \ - acse \ - ansi_map \ - ansi_tcap \ - atn-cm \ - atn-cpdlc \ - atn-ulcs \ - c1222 \ - camel \ - cdt \ - charging_ase \ - cmip \ - cmp \ - cms \ - credssp \ - crmf \ - dap \ - disp \ - dop \ - dsp \ - ess \ - f1ap \ - ftam \ - goose \ - gprscdr \ - gsm_map \ - h225 \ - h235 \ - h245 \ - h248 \ - h282 \ - h283 \ - h323 \ - h450 \ - h450-ros \ - h460 \ - h501 \ - HI2Operations \ - hnbap \ - idmp \ - ilp \ - inap \ - isdn-sup \ - kerberos \ - lcsap \ - ldap \ - logotypecertextn \ - lpp \ - lppa \ - lppe \ - lte-rrc \ - m2ap \ - m3ap \ - mms \ - mpeg-audio \ - mpeg-pes \ - mudurl \ - nbap \ - novell_pkis \ - nr-rrc \ - ns_cert_exts \ - ocsp \ - p1 \ - p22 \ - p7 \ - p772 \ - pcap \ - pkcs1 \ - pkcs12 \ - pkinit \ - pkix1explicit \ - pkix1implicit \ - pkixac \ - pkixproxy \ - pkixqualified \ - pkixtsp \ - pres \ - q932 \ - q932-ros \ - qsig \ - ranap \ - rnsap \ - ros \ - rrc \ - rrlp \ - rtse \ - rua \ - s1ap \ - sabp \ - sbc-ap \ - smrse \ - snmp \ - spnego \ - sv \ - t124 \ - t125 \ - t38 \ - tcap \ - tetra \ - ulp \ - wlancertextn \ - x2ap \ - x509af \ - x509ce \ - x509if \ - x509sat - -EXTRA_DIST = \ - CMakeLists.txt \ - Makefile.inc \ - x721/CMakeLists.txt \ - x721/Attribute-ASN1Module.asn \ - x721/ManagedObjectClassesDefinitions.asn \ - x721/Notification-ASN1Module.asn \ - x721/Parameter-ASN1Module.asn diff --git a/epan/dissectors/asn1/acp133/Makefile.am b/epan/dissectors/asn1/acp133/Makefile.am deleted file mode 100644 index 373c08c7e1..0000000000 --- a/epan/dissectors/asn1/acp133/Makefile.am +++ /dev/null @@ -1,52 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=acp133 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn \ - MHSDirectoryObjectsAndAttributes.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../p1/p1-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -$(builddir)/../p1/p1-exp.cnf: - (cd $(builddir)/../p1 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/acse/Makefile.am b/epan/dissectors/asn1/acse/Makefile.am deleted file mode 100644 index c77f5ffa26..0000000000 --- a/epan/dissectors/asn1/acse/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=acse - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -C - -EXTRA_CNF= \ - $(builddir)/../x509if/x509if-exp.cnf - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/ansi_map/Makefile.am b/epan/dissectors/asn1/ansi_map/Makefile.am deleted file mode 100644 index c768582016..0000000000 --- a/epan/dissectors/asn1/ansi_map/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ansi_map - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../gsm_map/gsm_map-exp.cnf - -$(builddir)/../gsm_map/gsm_map-exp.cnf: - (cd $(builddir)/../gsm_map && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/ansi_tcap/Makefile.am b/epan/dissectors/asn1/ansi_tcap/Makefile.am deleted file mode 100644 index 6df536c29e..0000000000 --- a/epan/dissectors/asn1/ansi_tcap/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ansi_tcap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - TCAP-Remote-Operations-Information-Objects.asn \ - TCAPPackage.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/atn-cm/Makefile.am b/epan/dissectors/asn1/atn-cm/Makefile.am deleted file mode 100644 index b389e9cfb8..0000000000 --- a/epan/dissectors/asn1/atn-cm/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = atn-cm - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = $(PROTOCOL_NAME).asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -# ASN1 PER unaligned encoding -A2W_FLAGS= -u -L - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/atn-cpdlc/Makefile.am b/epan/dissectors/asn1/atn-cpdlc/Makefile.am deleted file mode 100644 index 2eb22c7fdc..0000000000 --- a/epan/dissectors/asn1/atn-cpdlc/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = atn-cpdlc - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = $(PROTOCOL_NAME).asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -# ASN1 PER unaligned encoding -A2W_FLAGS= -u -L - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/atn-ulcs/Makefile.am b/epan/dissectors/asn1/atn-ulcs/Makefile.am deleted file mode 100644 index 57528c0e0f..0000000000 --- a/epan/dissectors/asn1/atn-ulcs/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = atn-ulcs - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = $(PROTOCOL_NAME).asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -# default behavoiur ASN1 PER encoding -A2W_FLAGS= -u -L - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/c1222/Makefile.am b/epan/dissectors/asn1/c1222/Makefile.am deleted file mode 100644 index 9d84b813c5..0000000000 --- a/epan/dissectors/asn1/c1222/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = c1222 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/camel/Makefile.am b/epan/dissectors/asn1/camel/Makefile.am deleted file mode 100644 index 89b3d5a58f..0000000000 --- a/epan/dissectors/asn1/camel/Makefile.am +++ /dev/null @@ -1,57 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=camel - -EXT_ASN_FILE_LIST_LATE = \ - ../ros/Remote-Operations-Information-Objects.asn \ - ../ros/Remote-Operations-Generic-ROS-PDUs.asn - -ASN_FILE_LIST = \ - CAP-object-identifiers.asn \ - CAP-classes.asn \ - CAP-datatypes.asn \ - CAP-errorcodes.asn \ - CAP-errortypes.asn \ - CAP-operationcodes.asn \ - CAP-GPRS-ReferenceNumber.asn \ - CAP-gsmSCF-gsmSRF-ops-args.asn \ - CAP-gsmSSF-gsmSCF-ops-args.asn \ - CAP-gprsSSF-gsmSCF-ops-args.asn \ - CAP-SMS-ops-args.asn \ - CAP-U-ABORT-Data.asn \ - CamelV2diff.asn - -INCLUDED_ASN_FILE_LIST = \ - TCAPMessages.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).asn \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -L - -EXTRA_CNF=$(builddir)/../inap/inap-exp.cnf \ - $(builddir)/../gsm_map/gsm_map-exp.cnf - -$(builddir)/../gsm_map/gsm_map-exp.cnf: - (cd $(builddir)/../gsm_map && $(MAKE_CNF_EXPORT)) - -$(builddir)/../inap/inap-exp.cnf: - (cd $(builddir)/../inap && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/cdt/Makefile.am b/epan/dissectors/asn1/cdt/Makefile.am deleted file mode 100644 index 01de28fc65..0000000000 --- a/epan/dissectors/asn1/cdt/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=cdt - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/charging_ase/Makefile.am b/epan/dissectors/asn1/charging_ase/Makefile.am deleted file mode 100644 index 5c26bc5051..0000000000 --- a/epan/dissectors/asn1/charging_ase/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=charging_ase - -ASN_FILE_LIST = \ - Tariffing-Data-Types.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/cmip/Makefile.am b/epan/dissectors/asn1/cmip/Makefile.am deleted file mode 100644 index ecde0cc014..0000000000 --- a/epan/dissectors/asn1/cmip/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=cmip - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST_LATE = \ - ../x721/Attribute-ASN1Module.asn \ - ../ros/Remote-Operations-Information-Objects.asn \ - ../ros/Remote-Operations-Generic-ROS-PDUs.asn - -ASN_FILE_LIST = \ - CMIP-1.asn \ - CMIP-A-ABORT-Information.asn \ - CMIP-A-ASSOCIATE-Information.asn - -INCLUDED_ASN_FILE_LIST = \ - CMIP.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../acse/acse-exp.cnf - -$(builddir)/../acse/acse-exp.cnf: - (cd $(builddir)/../acse && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/cmp/Makefile.am b/epan/dissectors/asn1/cmp/Makefile.am deleted file mode 100644 index b9d099a302..0000000000 --- a/epan/dissectors/asn1/cmp/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=cmp - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - CMP.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../pkix1explicit/pkix1explicit_exp.cnf \ - $(builddir)/../pkix1implicit/pkix1implicit_exp.cnf \ - $(builddir)/../crmf/crmf-exp.cnf - -$(builddir)/../crmf/crmf-exp.cnf: - (cd $(builddir)/../crmf && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/cms/Makefile.am b/epan/dissectors/asn1/cms/Makefile.am deleted file mode 100644 index e8745f2ad8..0000000000 --- a/epan/dissectors/asn1/cms/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=cms - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - CryptographicMessageSyntax.asn \ - AttributeCertificateVersion1.asn \ - CMSFirmwareWrapper.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -b -C - -EXTRA_CNF = \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -EXPORT_DEPENDS = \ - $(builddir)/../x509af/x509af-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/credssp/Makefile.am b/epan/dissectors/asn1/credssp/Makefile.am deleted file mode 100644 index b91b5825c8..0000000000 --- a/epan/dissectors/asn1/credssp/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=credssp - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - CredSSP.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -C - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/crmf/Makefile.am b/epan/dissectors/asn1/crmf/Makefile.am deleted file mode 100644 index 29a3799184..0000000000 --- a/epan/dissectors/asn1/crmf/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=crmf - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - CRMF.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../cms/cms-exp.cnf - -$(builddir)/../cms/cms-exp.cnf: - (cd $(builddir)/../cms && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/dap/Makefile.am b/epan/dissectors/asn1/dap/Makefile.am deleted file mode 100644 index b93ca5c5f3..0000000000 --- a/epan/dissectors/asn1/dap/Makefile.am +++ /dev/null @@ -1,71 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=dap - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn \ - DirectoryAccessProtocol.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -L - -EXTRA_CNF= \ - $(builddir)/../acse/acse-exp.cnf \ - $(builddir)/../dop/dop-exp.cnf \ - $(builddir)/../disp/disp-exp.cnf \ - $(builddir)/../dsp/dsp-exp.cnf \ - $(builddir)/../crmf/crmf-exp.cnf \ - $(builddir)/../ros/ros-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -$(builddir)/../acse/acse-exp.cnf: - (cd $(builddir)/../acse && $(MAKE_CNF_EXPORT)) - -$(builddir)/../dop/dop-exp.cnf: - (cd $(builddir)/../dop && $(MAKE_CNF_EXPORT)) - -$(builddir)/../disp/disp-exp.cnf: - (cd $(builddir)/../disp && $(MAKE_CNF_EXPORT)) - -$(builddir)/../dsp/dsp-exp.cnf: - (cd $(builddir)/../dsp && $(MAKE_CNF_EXPORT)) - -$(builddir)/../crmf/crmf-exp.cnf: - (cd $(builddir)/../crmf && $(MAKE_CNF_EXPORT)) - -$(builddir)/../ros/ros-exp.cnf: - (cd $(builddir)/../ros && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/disp/Makefile.am b/epan/dissectors/asn1/disp/Makefile.am deleted file mode 100644 index 0b073223f1..0000000000 --- a/epan/dissectors/asn1/disp/Makefile.am +++ /dev/null @@ -1,57 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=disp - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXPORT_DEPENDS = \ - $(builddir)/../dop/dop-exp.cnf - -EXTRA_CNF = \ - $(builddir)/../dap/dap-exp.cnf \ - $(builddir)/../dop/dop-exp.cnf \ - $(builddir)/../dsp/dsp-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf - -$(builddir)/../dap/dap-exp.cnf: - (cd $(builddir)/../dap && $(MAKE_CNF_EXPORT)) - -$(builddir)/../dop/dop-exp.cnf: - (cd $(builddir)/../dop && $(MAKE_CNF_EXPORT)) - -$(builddir)/../dsp/dsp-exp.cnf: - (cd $(builddir)/../dsp && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/dop/Makefile.am b/epan/dissectors/asn1/dop/Makefile.am deleted file mode 100644 index 2ea7594719..0000000000 --- a/epan/dissectors/asn1/dop/Makefile.am +++ /dev/null @@ -1,58 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=dop - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../dap/dap-exp.cnf \ - $(builddir)/../dsp/dsp-exp.cnf \ - $(builddir)/../crmf/crmf-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -$(builddir)/../dap/dap-exp.cnf: - (cd $(builddir)/../dap && $(MAKE_CNF_EXPORT)) - -$(builddir)/../dsp/dsp-exp.cnf: - (cd $(builddir)/../dsp && $(MAKE_CNF_EXPORT)) - -$(builddir)/../crmf/crmf-exp.cnf: - (cd $(builddir)/../crmf && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/dsp/Makefile.am b/epan/dissectors/asn1/dsp/Makefile.am deleted file mode 100644 index 3d532fd109..0000000000 --- a/epan/dissectors/asn1/dsp/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=dsp - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF = \ - $(builddir)/../dap/dap-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -$(builddir)/../dap/dap-exp.cnf: - (cd $(builddir)/../dap && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/ess/Makefile.am b/epan/dissectors/asn1/ess/Makefile.am deleted file mode 100644 index 7a0064ea38..0000000000 --- a/epan/dissectors/asn1/ess/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ess - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - ExtendedSecurityServices.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -k -C - -EXTRA_CNF= \ - $(builddir)/../cms/cms-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf - -$(builddir)/../cms/cms-exp.cnf: - (cd $(builddir)/../cms && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/f1ap/Makefile.am b/epan/dissectors/asn1/f1ap/Makefile.am deleted file mode 100644 index 76ca823db4..0000000000 --- a/epan/dissectors/asn1/f1ap/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = f1ap - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - F1AP-CommonDataTypes.asn \ - F1AP-Constants.asn \ - F1AP-Containers.asn \ - F1AP-IEs.asn \ - F1AP-PDU-Contents.asn \ - F1AP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/ftam/Makefile.am b/epan/dissectors/asn1/ftam/Makefile.am deleted file mode 100644 index b334c11c21..0000000000 --- a/epan/dissectors/asn1/ftam/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ftam - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - ISO8571-FTAM.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../acse/acse-exp.cnf - -$(builddir)/../acse/acse-exp.cnf: - (cd $(builddir)/../acse && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/goose/Makefile.am b/epan/dissectors/asn1/goose/Makefile.am deleted file mode 100644 index c1dc5a521c..0000000000 --- a/epan/dissectors/asn1/goose/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=goose - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/gprscdr/Makefile.am b/epan/dissectors/asn1/gprscdr/Makefile.am deleted file mode 100644 index ec1766b56b..0000000000 --- a/epan/dissectors/asn1/gprscdr/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=gprscdr - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -ASN_FILE_LIST = \ - GenericChargingDataTypes.asn \ - GPRSChargingDataTypesV641.asn \ - GPRSChargingDataTypes.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF=$(builddir)/../gsm_map/gsm_map-exp.cnf - -$(builddir)/../gsm_map/gsm_map-exp.cnf: - (cd $(builddir)/../gsm_map && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/gsm_map/Makefile.am b/epan/dissectors/asn1/gsm_map/Makefile.am deleted file mode 100644 index 033909bf5f..0000000000 --- a/epan/dissectors/asn1/gsm_map/Makefile.am +++ /dev/null @@ -1,83 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=gsm_map - -PROTO_OPT = - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = \ - ../ros/Remote-Operations-Information-Objects.asn - -DATATYPES_ASN_FILES = \ - MAP-ExtensionDataTypes.asn \ - MAP-CommonDataTypes.asn \ - MAP-SS-DataTypes.asn \ - MAP-ER-DataTypes.asn \ - MAP-SM-DataTypes.asn \ - MAP-OM-DataTypes.asn \ - MAP-MS-DataTypes.asn \ - MAP-CH-DataTypes.asn \ - MAP-LCS-DataTypes.asn \ - MAP-GR-DataTypes.asn - -OPERATIONS_ASN_FILES = \ - MAP-LocationServiceOperations.asn \ - MAP-Group-Call-Operations.asn \ - MAP-ShortMessageServiceOperations.asn \ - MAP-SupplementaryServiceOperations.asn \ - MAP-CallHandlingOperations.asn \ - MAP-OperationAndMaintenanceOperations.asn \ - MAP-MobileServiceOperations.asn - -SS_ASN_FILES = \ - SS-DataTypes.asn \ - SS-Operations.asn - -PROPRIETARY_ASN_FILES = \ - Ericsson.asn \ - Nokia.asn - -ASN_FILE_LIST = \ - MobileDomainDefinitions.asn \ - MAP-ApplicationContexts.asn \ - MAP-SS-Code.asn \ - MAP-BS-Code.asn \ - MAP-TS-Code.asn \ - $(DATATYPES_ASN_FILES) \ - MAP-DialogueInformation.asn \ - $(OPERATIONS_ASN_FILES) \ - MAP-Errors.asn \ - MAP-Protocol.asn \ - GSMMAP.asn \ - $(SS_ASN_FILES) \ - $(PROPRIETARY_ASN_FILES) - -INCLUDED_ASN_FILE_LIST = \ - SS-Errors.asn \ - SS-Protocol.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/h225/Makefile.am b/epan/dissectors/asn1/h225/Makefile.am deleted file mode 100644 index 0f95038762..0000000000 --- a/epan/dissectors/asn1/h225/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h225 - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - H323-MESSAGES.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= - -EXTRA_CNF = \ - $(builddir)/../h235/h235-exp.cnf \ - $(builddir)/../h245/h245-exp.cnf - -$(builddir)/../h235/h235-exp.cnf: - (cd $(builddir)/../h235 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../h245/h245-exp.cnf: - (cd $(builddir)/../h245 && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/h235/Makefile.am b/epan/dissectors/asn1/h235/Makefile.am deleted file mode 100644 index 5cca989ae5..0000000000 --- a/epan/dissectors/asn1/h235/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h235 - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - H235-SECURITY-MESSAGES.asn \ - H235-SRTP.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = \ - $(builddir)/../h225/h225-exp.cnf - -$(builddir)/../h225/h225-exp.cnf: - (cd $(builddir)/../h225 && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/h245/Makefile.am b/epan/dissectors/asn1/h245/Makefile.am deleted file mode 100644 index 4383070921..0000000000 --- a/epan/dissectors/asn1/h245/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h245 - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - MULTIMEDIA-SYSTEM-CONTROL.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/h248/Makefile.am b/epan/dissectors/asn1/h248/Makefile.am deleted file mode 100644 index c4091e6115..0000000000 --- a/epan/dissectors/asn1/h248/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=h248 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - h248v3.asn \ - h248v1support.asn - -INCLUDED_ASN_FILE_LIST = \ - MEGACO.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/h282/Makefile.am b/epan/dissectors/asn1/h282/Makefile.am deleted file mode 100644 index ef94435260..0000000000 --- a/epan/dissectors/asn1/h282/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h282 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - RDC-PROTOCOL.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/h283/Makefile.am b/epan/dissectors/asn1/h283/Makefile.am deleted file mode 100644 index 1ef4c0a19e..0000000000 --- a/epan/dissectors/asn1/h283/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h283 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - LCT-PROTOCOL.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/h323/Makefile.am b/epan/dissectors/asn1/h323/Makefile.am deleted file mode 100644 index 29b475866e..0000000000 --- a/epan/dissectors/asn1/h323/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h323 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - RAS-PROTOCOL-TUNNEL.asn \ - ROBUSTNESS-DATA.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = \ - $(builddir)/../h225/h225-exp.cnf - -$(builddir)/../h225/h225-exp.cnf: - (cd $(builddir)/../h225 && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/h450-ros/Makefile.am b/epan/dissectors/asn1/h450-ros/Makefile.am deleted file mode 100644 index aa891f2acb..0000000000 --- a/epan/dissectors/asn1/h450-ros/Makefile.am +++ /dev/null @@ -1,40 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h450-ros - -# The file needs to use h450 for the filter elements etc -PROTO_OPT = -p h450.ros - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = ../ros/Remote-Operations-Information-Objects.asn - -ASN_FILE_LIST = Remote-Operations-Apdus.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= - -EXTRA_CNF = \ - $(builddir)/../ros/ros-inv.cnf \ - $(builddir)/../ros/ros-res.cnf \ - $(builddir)/../ros/ros-err.cnf \ - $(builddir)/../ros/ros-rej.cnf diff --git a/epan/dissectors/asn1/h450/Makefile.am b/epan/dissectors/asn1/h450/Makefile.am deleted file mode 100644 index f8cb858565..0000000000 --- a/epan/dissectors/asn1/h450/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=h450 - -# need empty -p option, default is -p $(PROTOCOL_NAME) -PROTO_OPT = - -EXT_ASN_FILE_LIST = - -H450_ASN = \ - H4501-Supplementary-ServiceAPDU-Structure.asn \ - Addressing-Data-Elements.asn \ - H225-generic-parameters-definition.asn \ - Manufacturer-specific-service-extension-definition.asn \ - H4501-General-Error-List.asn - -H450_OP_ASN = \ - Call-Transfer-Operations.asn \ - Call-Diversion-Operations.asn \ - Call-Hold-Operations.asn \ - Call-Park-Pickup-Operations.asn \ - Call-Waiting-Operations.asn \ - Message-Waiting-Indication-Operations.asn \ - Name-Operations.asn \ - Call-Completion-Operations.asn \ - Call-Offer-Operations.asn \ - Call-Intrusion-Operations.asn \ - Common-Information-Operations.asn - -ASN_FILE_LIST = \ - $(H450_ASN) \ - $(H450_OP_ASN) - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= - -EXTRA_CNF = \ - $(builddir)/../h225/h225-exp.cnf \ - $(builddir)/../h450-ros/h450-ros-exp.cnf - -$(builddir)/../h225/h225-exp.cnf: - (cd $(builddir)/../h225 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../h450-ros/h450-ros-exp.cnf: - (cd $(builddir)/../h450-ros && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/h460/Makefile.am b/epan/dissectors/asn1/h460/Makefile.am deleted file mode 100644 index cd71948264..0000000000 --- a/epan/dissectors/asn1/h460/Makefile.am +++ /dev/null @@ -1,52 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h460 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - NUMBER-PORTABILITY.asn \ - CIRCUIT-STATUS-MAP.asn \ - CALL-PRIORITY.asn \ - QOS-MONITORING-REPORT.asn \ - QOS-MONITORING-EXTENDED-VOIP-REPORT.asn \ - CALL-PARTY-CATEGORY.asn \ - MLPP.asn \ - SIGNALLING-CHANNEL-SUSPEND-REDIRECT.asn \ - SIGNALLING-TRAVERSAL.asn \ - MEDIA-TRAVERSAL.asn \ - MESSAGE-BROADCAST.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -# need empty -p option, default is -p $(PROTOCOL_NAME) -PROTO_OPT = -A2W_FLAGS = - -EXTRA_CNF = \ - $(builddir)/../h225/h225-exp.cnf \ - $(builddir)/../h235/h235-exp.cnf \ - $(builddir)/../h245/h245-exp.cnf - -$(builddir)/../h225/h225-exp.cnf: - (cd $(builddir)/../h225 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../h235/h235-exp.cnf: - (cd $(builddir)/../h235 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../h245/h245-exp.cnf: - (cd $(builddir)/../h245 && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/h501/Makefile.am b/epan/dissectors/asn1/h501/Makefile.am deleted file mode 100644 index 2b687bf697..0000000000 --- a/epan/dissectors/asn1/h501/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = h501 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - H501-MESSAGES.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = \ - $(builddir)/../h225/h225-exp.cnf \ - $(builddir)/../h235/h235-exp.cnf - -$(builddir)/../h225/h225-exp.cnf: - (cd $(builddir)/../h225 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../h235/h235-exp.cnf: - (cd $(builddir)/../h235 && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/hnbap/Makefile.am b/epan/dissectors/asn1/hnbap/Makefile.am deleted file mode 100644 index 4f4c8f26b7..0000000000 --- a/epan/dissectors/asn1/hnbap/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = hnbap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - HNBAP-CommonDataTypes.asn \ - HNBAP-Constants.asn \ - HNBAP-Containers.asn \ - HNBAP-IEs.asn \ - HNBAP-PDU-Contents.asn \ - HNBAP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/idmp/Makefile.am b/epan/dissectors/asn1/idmp/Makefile.am deleted file mode 100644 index 3da69a4558..0000000000 --- a/epan/dissectors/asn1/idmp/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=idmp - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - IDMProtocolSpecification.asn \ - CommonProtocolSpecification.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -L - -EXTRA_CNF= \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/ilp/Makefile.am b/epan/dissectors/asn1/ilp/Makefile.am deleted file mode 100644 index 74935224c6..0000000000 --- a/epan/dissectors/asn1/ilp/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = ilp - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - ILP.asn \ - ILP-Components.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/inap/Makefile.am b/epan/dissectors/asn1/inap/Makefile.am deleted file mode 100644 index 540632761c..0000000000 --- a/epan/dissectors/asn1/inap/Makefile.am +++ /dev/null @@ -1,70 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=inap - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST_LATE = \ - ../ros/Remote-Operations-Information-Objects.asn \ - ../ros/Remote-Operations-Generic-ROS-PDUs.asn - -1248_1_ASN_FILES= \ - IN-operationcodes.asn \ - IN-object-identifiers.asn \ - IN-common-datatypes.asn - -1248_2_ASN_FILES= \ - IN-SSF-SCF-datatypes.asn \ - IN-SSF-SCF-ops-args.asn - -1248_3_ASN_FILES= \ - IN-SCF-SRF-datatypes.asn \ - IN-SCF-SRF-ops-args.asn - -1248_CLASSES_ASN= \ - IN-common-classes.asn \ - IN-SSF-SCF-Classes.asn \ - IN-SCF-SRF-Classes.asn - -ASN_FILE_LIST= \ - $(1248_CLASSES_ASN) \ - $(1248_1_ASN_FILES) \ - $(1248_2_ASN_FILES) \ - $(1248_3_ASN_FILES) \ - IN-errorcodes.asn \ - IN-errortypes.asn - -INCLUDED_ASN_FILE_LIST = \ - inap.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../dap/dap-exp.cnf \ - $(builddir)/../dsp/dsp-exp.cnf - -$(builddir)/../dap/dap-exp.cnf: - (cd $(builddir)/../dap && $(MAKE_CNF_EXPORT)) - -$(builddir)/../dsp/dsp-exp.cnf: - (cd $(builddir)/../dsp && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/isdn-sup/Makefile.am b/epan/dissectors/asn1/isdn-sup/Makefile.am deleted file mode 100644 index 98e05aaa9b..0000000000 --- a/epan/dissectors/asn1/isdn-sup/Makefile.am +++ /dev/null @@ -1,53 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = isdn-sup - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - Addressing-Data-Elements.asn \ - Basic-Service-Elements.asn \ - Embedded-Q931-Types.asn \ - General-Errors.asn \ - Advice-of-Charge-Operations.asn \ - Closed-User-Group-Service-Operations.asn \ - Conference-Add-On-Operations.asn \ - Diversion-Operations.asn \ - MCID-Operations.asn \ - User-To-User-Signalling-Operations.asn \ - Freephone-Operations.asn \ - MLPP-Operations-And-Errors.asn - -INCLUDED_ASN_FILE_LIST = \ - CCBS-Operations-and-Errors.asn \ - CCBS-private-networks-Operations-and-Errors.asn \ - Explicit-Call-Transfer-Operations-and-Errors.asn \ - MWI-Operations-and-Errors.asn \ - Outgoing-Call-Barring-Operations-and-Errors.asn \ - Set-Operations-and-Errors.asn \ - Three-Party-Operations.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/kerberos/Makefile.am b/epan/dissectors/asn1/kerberos/Makefile.am deleted file mode 100644 index 77a92996ca..0000000000 --- a/epan/dissectors/asn1/kerberos/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=kerberos - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - KerberosV5Spec2.asn \ - k5.asn \ - RFC3244.asn \ - RFC6113.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/lcsap/Makefile.am b/epan/dissectors/asn1/lcsap/Makefile.am deleted file mode 100644 index 03975fae10..0000000000 --- a/epan/dissectors/asn1/lcsap/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=lcsap - -#DISSECTOR_FILES=packet-$(PROTOCOL_NAME).c - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - LCS-AP-CommonDataTypes.asn\ - LCS-AP-Constants.asn\ - LCS-AP-Containers.asn\ - LCS-AP-IEs.asn\ - LCS-AP-PDU-Contents.asn\ - LCS-AP-PDU-Descriptions.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= - -EXTRA_CNF= \ - $(builddir)/../x509if/x509if-exp.cnf - -$(builddir)/../x509if/x509if-exp.cnf: - (cd ../x509if && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/ldap/Makefile.am b/epan/dissectors/asn1/ldap/Makefile.am deleted file mode 100644 index 52fee20f2a..0000000000 --- a/epan/dissectors/asn1/ldap/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ldap - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = Lightweight-Directory-Access-Protocol-V3.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/logotypecertextn/Makefile.am b/epan/dissectors/asn1/logotypecertextn/Makefile.am deleted file mode 100644 index acf916cd32..0000000000 --- a/epan/dissectors/asn1/logotypecertextn/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=logotypecertextn - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - LogotypeCertExtn.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist # for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509af/x509af-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/lpp/Makefile.am b/epan/dissectors/asn1/lpp/Makefile.am deleted file mode 100644 index 6d0aefe4e3..0000000000 --- a/epan/dissectors/asn1/lpp/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = lpp - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - LPP.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/lppa/Makefile.am b/epan/dissectors/asn1/lppa/Makefile.am deleted file mode 100644 index 086663d108..0000000000 --- a/epan/dissectors/asn1/lppa/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = lppa - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - LPPA-Common.asn \ - LPPA-Constant.asn \ - LPPA-Container.asn \ - LPPA-ElementaryProcedure.asn \ - LPPA-InformationElement.asn \ - LPPA-PDU.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/lppe/Makefile.am b/epan/dissectors/asn1/lppe/Makefile.am deleted file mode 100644 index dabbdbc54e..0000000000 --- a/epan/dissectors/asn1/lppe/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = lppe - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - LPPe.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = \ - $(builddir)/../lpp/lpp-exp.cnf - -$(builddir)/../lpp/lpp-exp.cnf: - (cd $(builddir)/../lpp && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/lte-rrc/Makefile.am b/epan/dissectors/asn1/lte-rrc/Makefile.am deleted file mode 100644 index 61c7dfdbe8..0000000000 --- a/epan/dissectors/asn1/lte-rrc/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = lte-rrc - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - EUTRA-InterNodeDefinitions.asn \ - EUTRA-RRC-Definitions.asn \ - EUTRA-Sidelink-Preconf.asn \ - EUTRA-UE-Variables.asn \ - PC5-RRC-Definitions.asn \ - NBIOT-InterNodeDefinitions.asn \ - NBIOT-RRC-Definitions.asn \ - NBIOT-UE-Variables.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -L - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/m2ap/Makefile.am b/epan/dissectors/asn1/m2ap/Makefile.am deleted file mode 100644 index db8b9a73dd..0000000000 --- a/epan/dissectors/asn1/m2ap/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = m2ap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - M2AP-CommonDataTypes.asn \ - M2AP-Constants.asn \ - M2AP-Containers.asn \ - M2AP-IEs.asn \ - M2AP-PDU-Contents.asn \ - M2AP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/m3ap/Makefile.am b/epan/dissectors/asn1/m3ap/Makefile.am deleted file mode 100644 index 8074a9df55..0000000000 --- a/epan/dissectors/asn1/m3ap/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = m3ap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - M3AP-CommonDataTypes.asn \ - M3AP-Constants.asn \ - M3AP-Containers.asn \ - M3AP-IEs.asn \ - M3AP-PDU-Contents.asn \ - M3AP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/mms/Makefile.am b/epan/dissectors/asn1/mms/Makefile.am deleted file mode 100644 index d699a8cd42..0000000000 --- a/epan/dissectors/asn1/mms/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=mms - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../acse/acse-exp.cnf - -$(builddir)/../acse/acse-exp.cnf: - (cd $(builddir)/../acse && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/mpeg-audio/Makefile.am b/epan/dissectors/asn1/mpeg-audio/Makefile.am deleted file mode 100644 index 8807a634c6..0000000000 --- a/epan/dissectors/asn1/mpeg-audio/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=mpeg-audio - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/mpeg-pes/Makefile.am b/epan/dissectors/asn1/mpeg-pes/Makefile.am deleted file mode 100644 index 1be20a21da..0000000000 --- a/epan/dissectors/asn1/mpeg-pes/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=mpeg-pes - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/mudurl/Makefile.am b/epan/dissectors/asn1/mudurl/Makefile.am deleted file mode 100644 index fc2d4dfc5b..0000000000 --- a/epan/dissectors/asn1/mudurl/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=mudurl - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - MUDURL.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509af/x509af-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/nbap/Makefile.am b/epan/dissectors/asn1/nbap/Makefile.am deleted file mode 100644 index 5b80d07211..0000000000 --- a/epan/dissectors/asn1/nbap/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = nbap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - NBAP-CommonDataTypes.asn \ - NBAP-Constants.asn \ - NBAP-Containers.asn \ - NBAP-IEs.asn \ - NBAP-PDU-Contents.asn \ - NBAP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/novell_pkis/Makefile.am b/epan/dissectors/asn1/novell_pkis/Makefile.am deleted file mode 100644 index e9df58b190..0000000000 --- a/epan/dissectors/asn1/novell_pkis/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=novell_pkis - -EXT_ASN_FILE_LIST = -ASN_FILE_LIST = $(PROTOCOL_NAME).asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -b -u diff --git a/epan/dissectors/asn1/nr-rrc/Makefile.am b/epan/dissectors/asn1/nr-rrc/Makefile.am deleted file mode 100644 index 94bc4c8f64..0000000000 --- a/epan/dissectors/asn1/nr-rrc/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = nr-rrc - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - NR-InterNodeDefinitions.asn \ - NR-RRC-Definitions.asn \ - NR-UE-Variables.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -L - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/ns_cert_exts/Makefile.am b/epan/dissectors/asn1/ns_cert_exts/Makefile.am deleted file mode 100644 index e4023dcbae..0000000000 --- a/epan/dissectors/asn1/ns_cert_exts/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ns_cert_exts - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - NETSCAPE-CERT-EXTS.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/ocsp/Makefile.am b/epan/dissectors/asn1/ocsp/Makefile.am deleted file mode 100644 index 61d3806424..0000000000 --- a/epan/dissectors/asn1/ocsp/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ocsp - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - OCSP.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/p1/Makefile.am b/epan/dissectors/asn1/p1/Makefile.am deleted file mode 100644 index c25cc69dae..0000000000 --- a/epan/dissectors/asn1/p1/Makefile.am +++ /dev/null @@ -1,64 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=p1 - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - MTAAbstractService.asn \ - MTSAbstractService.asn \ - MTSAccessProtocol.asn \ - MHSProtocolObjectIdentifiers.asn \ - MTSUpperBounds.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -b -C - -EXTRA_CNF = \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf \ - $(builddir)/../ros/ros-exp.cnf \ - $(builddir)/../rtse/rtse-exp.cnf - -EXPORT_DEPENDS = \ - $(builddir)/../x509af/x509af-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) - -$(builddir)/../ros/ros-exp.cnf: - (cd $(builddir)/../ros && $(MAKE_CNF_EXPORT)) - -$(builddir)/../rtse/rtse-exp.cnf: - (cd $(builddir)/../rtse && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/p22/Makefile.am b/epan/dissectors/asn1/p22/Makefile.am deleted file mode 100644 index c1224ac2f7..0000000000 --- a/epan/dissectors/asn1/p22/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=p22 - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - IPMSInformationObjects.asn \ - IPMSHeadingExtensions.asn \ - IPMSExtendedBodyPartTypes2.asn \ - IPMSFileTransferBodyPartType.asn \ - IPMSExtendedVoiceBodyPartType.asn \ - IPMSForwardedContentBodyPartType.asn \ - IPMSMessageStoreAttributes.asn \ - IPMSSecurityExtensions.asn \ - IPMSObjectIdentifiers.asn \ - IPMSUpperBounds.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -b -C - -EXTRA_CNF = \ - $(builddir)/../acse/acse-exp.cnf \ - $(builddir)/../ftam/ftam-exp.cnf \ - $(builddir)/../p7/p7-exp.cnf \ - $(builddir)/../p1/p1-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf - -EXPORT_DEPENDS = \ - $(builddir)/../p1/p1-exp.cnf - -$(builddir)/../acse/acse-exp.cnf: - (cd $(builddir)/../acse && $(MAKE_CNF_EXPORT)) - -$(builddir)/../ftam/ftam-exp.cnf: - (cd $(builddir)/../ftam && $(MAKE_CNF_EXPORT)) - -$(builddir)/../p7/p7-exp.cnf: - (cd $(builddir)/../p7 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../p1/p1-exp.cnf: - (cd $(builddir)/../p1 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/p7/Makefile.am b/epan/dissectors/asn1/p7/Makefile.am deleted file mode 100644 index 592bb46226..0000000000 --- a/epan/dissectors/asn1/p7/Makefile.am +++ /dev/null @@ -1,52 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=p7 - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - MSAbstractService.asn \ - MSGeneralAttributeTypes.asn \ - MSAccessProtocol.asn \ - MSUpperBounds.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -b -L -C - -EXTRA_CNF = \ - $(builddir)/../p1/p1-exp.cnf \ - $(builddir)/../ros/ros-exp.cnf \ - $(builddir)/../rtse/rtse.cnf - -EXPORT_DEPENDS = \ - $(builddir)/../p1/p1-exp.cnf - -$(builddir)/../p1/p1-exp.cnf: - (cd $(builddir)/../p1 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../ros/ros-exp.cnf: - (cd $(builddir)/../ros && $(MAKE_CNF_EXPORT)) - -$(builddir)/../rtse/rtse-exp.cnf: - (cd $(builddir)/../rtse && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/p772/Makefile.am b/epan/dissectors/asn1/p772/Makefile.am deleted file mode 100644 index aa1123a6f9..0000000000 --- a/epan/dissectors/asn1/p772/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=p772 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - MMSAbstractService.asn \ - MMSInformationObjects.asn \ - MMSOtherNotificationTypeExtensions.asn \ - MMSObjectIdentifiers.asn \ - MMSHeadingExtensions.asn \ - MMSUpperBounds.asn \ - MMSExtendedBodyPartTypes.asn \ - MMSPerRecipientSpecifierExtensions.asn - - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -C - -EXTRA_CNF= \ - $(builddir)/../p1/p1-exp.cnf \ - $(builddir)/../p22/p22-exp.cnf - -$(builddir)/../p1/p1-exp.cnf: - (cd $(builddir)/../p1 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../p22/p22-exp.cnf: - (cd $(builddir)/../p22 && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pcap/Makefile.am b/epan/dissectors/asn1/pcap/Makefile.am deleted file mode 100644 index f4a87c3640..0000000000 --- a/epan/dissectors/asn1/pcap/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = pcap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PCAP-CommonDataTypes.asn \ - PCAP-Constants.asn \ - PCAP-Containers.asn \ - PCAP-IEs.asn \ - PCAP-PDU-Contents.asn \ - PCAP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/pkcs1/Makefile.am b/epan/dissectors/asn1/pkcs1/Makefile.am deleted file mode 100644 index 3362b42bd4..0000000000 --- a/epan/dissectors/asn1/pkcs1/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkcs1 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKIXAlgs-2009.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509af/x509af-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pkcs12/Makefile.am b/epan/dissectors/asn1/pkcs12/Makefile.am deleted file mode 100644 index 4ddd33476a..0000000000 --- a/epan/dissectors/asn1/pkcs12/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkcs12 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -# Note the order here is important, cms needs at least x509af-exp to be generated first -EXTRA_CNF= \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../cms/cms-exp.cnf - -$(builddir)/../cms/cms-exp.cnf: - (cd $(builddir)/../cms && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pkinit/Makefile.am b/epan/dissectors/asn1/pkinit/Makefile.am deleted file mode 100644 index 10b77472ba..0000000000 --- a/epan/dissectors/asn1/pkinit/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkinit - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKINIT.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../cms/cms-exp.cnf - -$(builddir)/../cms/cms-exp.cnf: - (cd $(builddir)/../cms && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pkix1explicit/Makefile.am b/epan/dissectors/asn1/pkix1explicit/Makefile.am deleted file mode 100644 index 762f35aa7a..0000000000 --- a/epan/dissectors/asn1/pkix1explicit/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkix1explicit - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKIX1EXPLICIT93.asn \ - IPAddrAndASCertExtn.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - pkix1explicit_exp.cnf \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/pkix1implicit/Makefile.am b/epan/dissectors/asn1/pkix1implicit/Makefile.am deleted file mode 100644 index ed3991dd34..0000000000 --- a/epan/dissectors/asn1/pkix1implicit/Makefile.am +++ /dev/null @@ -1,40 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkix1implicit - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKIX1IMPLICIT93.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf \ - pkix1implicit_exp.cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pkixac/Makefile.am b/epan/dissectors/asn1/pkixac/Makefile.am deleted file mode 100644 index 48840b043b..0000000000 --- a/epan/dissectors/asn1/pkixac/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkixac - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKIXAttributeCertificate.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../pkix1explicit/pkix1explicit_exp.cnf \ - $(builddir)/../pkix1implicit/pkix1implicit_exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pkixproxy/Makefile.am b/epan/dissectors/asn1/pkixproxy/Makefile.am deleted file mode 100644 index d2715e62b2..0000000000 --- a/epan/dissectors/asn1/pkixproxy/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkixproxy - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKIXProxy.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/pkixqualified/Makefile.am b/epan/dissectors/asn1/pkixqualified/Makefile.am deleted file mode 100644 index 4b94dbf4f7..0000000000 --- a/epan/dissectors/asn1/pkixqualified/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkixqualified - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKIXqualified.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509ce/x509ce-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pkixtsp/Makefile.am b/epan/dissectors/asn1/pkixtsp/Makefile.am deleted file mode 100644 index 7fbd9fb873..0000000000 --- a/epan/dissectors/asn1/pkixtsp/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pkixtsp - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - PKIXTSP.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../cms/cms-exp.cnf - -$(builddir)/../cms/cms-exp.cnf: - (cd $(builddir)/../cms && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/pres/Makefile.am b/epan/dissectors/asn1/pres/Makefile.am deleted file mode 100644 index d5a382c1c1..0000000000 --- a/epan/dissectors/asn1/pres/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=pres - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - ISO8823-PRESENTATION.asn \ - ISO9576-PRESENTATION.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../rtse/rtse-exp.cnf - -$(builddir)/../rtse/rtse-exp.cnf: - (cd $(builddir)/../rtse && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/q932-ros/Makefile.am b/epan/dissectors/asn1/q932-ros/Makefile.am deleted file mode 100644 index 7e05f3207b..0000000000 --- a/epan/dissectors/asn1/q932-ros/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=q932-ros - -PROTO_OPT = -p q932.ros - -EXT_ASN_FILE_LIST = \ - ../ros/Remote-Operations-Information-Objects.asn - -ASN_FILE_LIST = \ - Facility-Information-Element-Components.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF = \ - $(builddir)/../ros/ros-inv.cnf \ - $(builddir)/../ros/ros-res.cnf \ - $(builddir)/../ros/ros-err.cnf \ - $(builddir)/../ros/ros-rej.cnf diff --git a/epan/dissectors/asn1/q932/Makefile.am b/epan/dissectors/asn1/q932/Makefile.am deleted file mode 100644 index ff57e67308..0000000000 --- a/epan/dissectors/asn1/q932/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = q932 - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - Addressing-Data-Elements.asn \ - Network-Facility-Extension.asn \ - Network-Protocol-Profile-component.asn \ - Interpretation-component.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/qsig/Makefile.am b/epan/dissectors/asn1/qsig/Makefile.am deleted file mode 100644 index 3201ef7bdc..0000000000 --- a/epan/dissectors/asn1/qsig/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = qsig - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - General-Error-List.asn \ - qsig-gf-ext.asn \ - qsig-gf-gp.asn \ - qsig-gf-ade.asn \ - QSIG-NA.asn \ - QSIG-CF.asn \ - QSIG-PR.asn \ - QSIG-CT.asn \ - QSIG-CC.asn \ - QSIG-CO.asn \ - QSIG-DND.asn \ - QSIG-CI.asn \ - QSIG-AOC.asn \ - QSIG-RE.asn \ - SYNC-SIG.asn \ - QSIG-CINT.asn \ - QSIG-CMN.asn \ - QSIG-CPI.asn \ - QSIG-PUMR.asn \ - QSIG-PUMCH.asn \ - QSIG-SSCT.asn \ - QSIG-WTMLR.asn \ - QSIG-WTMCH.asn \ - QSIG-WTMAU.asn \ - QSIG-SD.asn \ - QSIG-CIDL.asn \ - QSIG-SMS.asn \ - QSIG-MCR.asn \ - QSIG-MCM.asn \ - QSIG-MID.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -# need empty -p option, default is -p $(PROTOCOL_NAME) -PROTO_OPT = -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/ranap/Makefile.am b/epan/dissectors/asn1/ranap/Makefile.am deleted file mode 100644 index d073bbf202..0000000000 --- a/epan/dissectors/asn1/ranap/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = ranap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - RANAP-CommonDataTypes.asn \ - RANAP-Constants.asn \ - RANAP-Containers.asn \ - RANAP-IEs.asn \ - RANAP-PDU-Contents.asn \ - RANAP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/rnsap/Makefile.am b/epan/dissectors/asn1/rnsap/Makefile.am deleted file mode 100644 index 63121d66cd..0000000000 --- a/epan/dissectors/asn1/rnsap/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = rnsap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - RNSAP-CommonDataTypes.asn \ - RNSAP-Constants.asn \ - RNSAP-Containers.asn \ - RNSAP-IEs.asn \ - RNSAP-PDU-Contents.asn \ - RNSAP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/ros/Makefile.am b/epan/dissectors/asn1/ros/Makefile.am deleted file mode 100644 index 08a0723f39..0000000000 --- a/epan/dissectors/asn1/ros/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=ros - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn \ - Remote-Operations-Information-Objects.asn - -INCLUDED_ASN_FILE_LIST = \ - Remote-Operations-Generic-ROS-PDUs.asn \ - Remote-Operations-Information-Objects.asn \ - Remote-Operations-Useful-Definitions.asn \ - ros-err.cnf \ - ros-inv.cnf \ - ros-rej.cnf \ - ros-res.cnf - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist # for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/rrc/Makefile.am b/epan/dissectors/asn1/rrc/Makefile.am deleted file mode 100644 index 02cfc8b753..0000000000 --- a/epan/dissectors/asn1/rrc/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = rrc - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - Class-definitions.asn \ - PDU-definitions.asn \ - InformationElements.asn \ - Constant-definitions.asn \ - Internode-definitions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/rrlp/Makefile.am b/epan/dissectors/asn1/rrlp/Makefile.am deleted file mode 100644 index d3959528fb..0000000000 --- a/epan/dissectors/asn1/rrlp/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = rrlp - -EXT_ASN_FILE_LIST = \ - ../gsm_map/MAP-ExtensionDataTypes.asn \ - ../gsm_map/MAP-LCS-DataTypes.asn - -ASN_FILE_LIST = \ - RRLP-Messages.asn \ - RRLP-Components.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/rtse/Makefile.am b/epan/dissectors/asn1/rtse/Makefile.am deleted file mode 100644 index 7ff6109454..0000000000 --- a/epan/dissectors/asn1/rtse/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=rtse - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/rua/Makefile.am b/epan/dissectors/asn1/rua/Makefile.am deleted file mode 100644 index 0b9c8ec6bd..0000000000 --- a/epan/dissectors/asn1/rua/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = rua - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - RUA-CommonDataTypes.asn \ - RUA-Constants.asn \ - RUA-Containers.asn \ - RUA-IEs.asn \ - RUA-PDU-Contents.asn \ - RUA-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/s1ap/Makefile.am b/epan/dissectors/asn1/s1ap/Makefile.am deleted file mode 100644 index e899016d16..0000000000 --- a/epan/dissectors/asn1/s1ap/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = s1ap - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - S1AP-CommonDataTypes.asn \ - S1AP-Constants.asn \ - S1AP-Containers.asn \ - S1AP-IEs.asn \ - S1AP-PDU-Contents.asn \ - S1AP-PDU-Descriptions.asn \ - S1AP-SonTransfer-IEs.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/sabp/Makefile.am b/epan/dissectors/asn1/sabp/Makefile.am deleted file mode 100644 index 1c29d121da..0000000000 --- a/epan/dissectors/asn1/sabp/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = sabp - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - SABP-CommonDataTypes.asn \ - SABP-Constants.asn \ - SABP-Containers.asn \ - SABP-IEs.asn \ - SABP-PDU-Contents.asn \ - SABP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/sbc-ap/Makefile.am b/epan/dissectors/asn1/sbc-ap/Makefile.am deleted file mode 100644 index e2fc6b46bc..0000000000 --- a/epan/dissectors/asn1/sbc-ap/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = sbc-ap - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - SBC-AP-CommonDataTypes.asn \ - SBC-AP-Constants.asn \ - SBC-AP-Containers.asn \ - SBC-AP-IEs.asn \ - SBC-AP-PDU-Contents.asn \ - SBC-AP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/smrse/Makefile.am b/epan/dissectors/asn1/smrse/Makefile.am deleted file mode 100644 index 2a8d5f13bd..0000000000 --- a/epan/dissectors/asn1/smrse/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=smrse - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - SMRSE.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/snmp/Makefile.am b/epan/dissectors/asn1/snmp/Makefile.am deleted file mode 100644 index 24fa4de515..0000000000 --- a/epan/dissectors/asn1/snmp/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=snmp - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/spnego/Makefile.am b/epan/dissectors/asn1/spnego/Makefile.am deleted file mode 100644 index 01cbe487fa..0000000000 --- a/epan/dissectors/asn1/spnego/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=spnego - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/sv/Makefile.am b/epan/dissectors/asn1/sv/Makefile.am deleted file mode 100644 index e3e02840bd..0000000000 --- a/epan/dissectors/asn1/sv/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=sv - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b diff --git a/epan/dissectors/asn1/t124/Makefile.am b/epan/dissectors/asn1/t124/Makefile.am deleted file mode 100644 index cc4fdb70e6..0000000000 --- a/epan/dissectors/asn1/t124/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=t124 - -EXT_ASN_FILE_LIST_LATE = \ - ../t125/MCS-PROTOCOL.asn - -ASN_FILE_LIST = \ - GCC-PROTOCOL.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/t125/Makefile.am b/epan/dissectors/asn1/t125/Makefile.am deleted file mode 100644 index 3c8ffcabe8..0000000000 --- a/epan/dissectors/asn1/t125/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=t125 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - MCS-PROTOCOL.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/t38/Makefile.am b/epan/dissectors/asn1/t38/Makefile.am deleted file mode 100644 index 31defeb5f8..0000000000 --- a/epan/dissectors/asn1/t38/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = t38 - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - T38_2002.asn - -INCLUDED_ASN_FILE_LIST = \ - T38_1998.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/tcap/Makefile.am b/epan/dissectors/asn1/tcap/Makefile.am deleted file mode 100644 index 9e30e6a798..0000000000 --- a/epan/dissectors/asn1/tcap/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=tcap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn\ - UnidialoguePDUs.asn \ - DialoguePDUs.asn - -INCLUDED_ASN_FILE_LIST = \ - TCAPMessages.asn \ - TC-Notation-Extensions.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - $(INCLUDED_ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/tetra/Makefile.am b/epan/dissectors/asn1/tetra/Makefile.am deleted file mode 100644 index d59889a1dc..0000000000 --- a/epan/dissectors/asn1/tetra/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=tetra - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - $(PROTOCOL_NAME).asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -u - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/ulp/Makefile.am b/epan/dissectors/asn1/ulp/Makefile.am deleted file mode 100644 index 9361415cbd..0000000000 --- a/epan/dissectors/asn1/ulp/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = ulp - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - ULP.asn \ - SUPL.asn \ - ULP-Components.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/wlancertextn/Makefile.am b/epan/dissectors/asn1/wlancertextn/Makefile.am deleted file mode 100644 index 77f72e24c5..0000000000 --- a/epan/dissectors/asn1/wlancertextn/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=wlancertextn - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - WLANCERTEXTN.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= diff --git a/epan/dissectors/asn1/x2ap/Makefile.am b/epan/dissectors/asn1/x2ap/Makefile.am deleted file mode 100644 index f934a38bfa..0000000000 --- a/epan/dissectors/asn1/x2ap/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME = x2ap - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - X2AP-CommonDataTypes.asn \ - X2AP-Constants.asn \ - X2AP-Containers.asn \ - X2AP-IEs.asn \ - X2AP-PDU-Contents.asn \ - X2AP-PDU-Descriptions.asn - -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = - -EXTRA_CNF = diff --git a/epan/dissectors/asn1/x509af/Makefile.am b/epan/dissectors/asn1/x509af/Makefile.am deleted file mode 100644 index 9c0a5100e3..0000000000 --- a/epan/dissectors/asn1/x509af/Makefile.am +++ /dev/null @@ -1,45 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=x509af - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - AuthenticationFramework.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509ce/x509ce-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -$(builddir)/../x509ce/x509ce-exp.cnf: - (cd $(builddir)/../x509ce && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/x509ce/Makefile.am b/epan/dissectors/asn1/x509ce/Makefile.am deleted file mode 100644 index 4dfcd9506c..0000000000 --- a/epan/dissectors/asn1/x509ce/Makefile.am +++ /dev/null @@ -1,53 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=x509ce - -EXPORT_FILES = $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - CertificateExtensions.asn \ - CertificateExtensionsCiplus.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS = -b - -EXTRA_CNF = \ - $(builddir)/../p1/p1-exp.cnf \ - $(builddir)/../x509af/x509af-exp.cnf \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../x509sat/x509sat-exp.cnf - -EXPORT_DEPENDS = \ - $(builddir)/../x509af/x509af-exp.cnf - -$(builddir)/../p1/p1-exp.cnf: - (cd $(builddir)/../p1 && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509af/x509af-exp.cnf: - (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/x509if/Makefile.am b/epan/dissectors/asn1/x509if/Makefile.am deleted file mode 100644 index 48cb5b3cb5..0000000000 --- a/epan/dissectors/asn1/x509if/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=x509if - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - InformationFramework.asn \ - ServiceAdministration.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b - -EXTRA_CNF= \ - $(builddir)/../x509sat/x509sat-exp.cnf - -$(builddir)/../x509sat/x509sat-exp.cnf: - (cd $(builddir)/../x509sat && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/asn1/x509sat/Makefile.am b/epan/dissectors/asn1/x509sat/Makefile.am deleted file mode 100644 index 1b9ff6b77e..0000000000 --- a/epan/dissectors/asn1/x509sat/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.inc - -PROTOCOL_NAME=x509sat - -EXPORT_FILES = \ - $(PROTOCOL_NAME)-exp.cnf - -EXT_ASN_FILE_LIST = - -ASN_FILE_LIST = \ - SelectedAttributeTypes.asn - -# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn -# files do not exist for all protocols: Please add/remove as required. -EXTRA_DIST = \ - $(EXTRA_DIST_COMMON) \ - $(ASN_FILE_LIST) \ - packet-$(PROTOCOL_NAME)-template.c \ - packet-$(PROTOCOL_NAME)-template.h \ - $(PROTOCOL_NAME).cnf - -SRC_FILES = \ - $(EXTRA_DIST) \ - $(EXT_ASN_FILE_LIST) - -A2W_FLAGS= -b -r Syntax - -EXTRA_CNF= \ - $(builddir)/../x509if/x509if-exp.cnf \ - $(builddir)/../p1/p1-exp.cnf - -$(builddir)/../x509if/x509if-exp.cnf: - (cd $(builddir)/../x509if && $(MAKE_CNF_EXPORT)) - -$(builddir)/../p1/p1-exp.cnf: - (cd $(builddir)/../p1 && $(MAKE_CNF_EXPORT)) diff --git a/epan/dissectors/dcerpc/Makefile.am b/epan/dissectors/dcerpc/Makefile.am deleted file mode 100644 index 81805cc1e5..0000000000 --- a/epan/dissectors/dcerpc/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 2004 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) - -EXTRA_DIST = \ - CMakeLists.txt \ - Makefile.inc \ - idl2wrs.c \ - budb/Makefile \ - budb/budb.cnf \ - budb/budb.idl \ - budb/packet-dcerpc-budb-template.c \ - budb/packet-dcerpc-budb-template.h \ - butc/Makefile \ - butc/butc.cnf \ - butc/butc.idl \ - butc/packet-dcerpc-butc-template.c \ - butc/packet-dcerpc-butc-template.h \ - drsuapi/Makefile \ - drsuapi/drsuapi.cnf \ - drsuapi/drsuapi.idl \ - drsuapi/packet-dcerpc-drsuapi-template.c \ - drsuapi/packet-dcerpc-drsuapi-template.h - -bin_PROGRAMS = idl2wrs - -idl2wrs_SOURCES = idl2wrs.c - -idl2wrs_LDADD = $(GLIB_LIBS) ../../../wsutil/libwsutil.la - -# -# Editor modelines - https://www.wireshark.org/tools/modelines.html -# -# Local variables: -# c-basic-offset: 4 -# tab-width: 4 -# indent-tabs-mode: t -# End: -# -# vi: set shiftwidth=4 tabstop=4 noexpandtab: -# :indentSize=4:tabSize=4:noTabs=false: -# diff --git a/epan/ftypes/Makefile.am b/epan/ftypes/Makefile.am deleted file mode 100644 index fa35c12581..0000000000 --- a/epan/ftypes/Makefile.am +++ /dev/null @@ -1,56 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) -I$(top_srcdir)/epan $(WS_CPPFLAGS) \ - $(GLIB_CFLAGS) $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) - -noinst_LTLIBRARIES = libftypes.la - -subpkgincludedir = $(pkgincludedir)/epan/ftypes - -subpkginclude_HEADERS = \ - ftypes.h - -libftypes_la_SOURCES = \ - ftypes.c \ - ftype-bytes.c \ - ftype-double.c \ - ftype-ieee-11073-float.c \ - ftype-integer.c \ - ftype-ipv4.c \ - ftype-ipv6.c \ - ftype-guid.c \ - ftype-none.c \ - ftype-pcre.c \ - ftype-protocol.c \ - ftype-string.c \ - ftype-time.c \ - ftypes-int.h - -EXTRA_DIST = \ - .editorconfig \ - CMakeLists.txt - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(libftypes_la_SOURCES) diff --git a/epan/wmem/Makefile.am b/epan/wmem/Makefile.am deleted file mode 100644 index 4c9192b895..0000000000 --- a/epan/wmem/Makefile.am +++ /dev/null @@ -1,103 +0,0 @@ -# Makefile.am -# Automake file for Wireshark Memory Manager -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(LIBWMEM_CFLAGS) \ - $(GLIB_CFLAGS) - -noinst_LTLIBRARIES = libwmem.la - -EXTRA_PROGRAMS = wmem_test - -subpkgincludedir = $(pkgincludedir)/epan/wmem - -subpkginclude_HEADERS = \ - wmem.h \ - wmem_array.h \ - wmem_core.h \ - wmem_list.h \ - wmem_map.h \ - wmem_miscutl.h \ - wmem_queue.h \ - wmem_scopes.h \ - wmem_stack.h \ - wmem_strbuf.h \ - wmem_strutl.h \ - wmem_tree.h \ - wmem_interval_tree.h \ - wmem_user_cb.h - -libwmem_la_SOURCES = \ - wmem_array.c \ - wmem_core.c \ - wmem_allocator_block.c \ - wmem_allocator_block_fast.c \ - wmem_allocator_simple.c \ - wmem_allocator_strict.c \ - wmem_list.c \ - wmem_map.c \ - wmem_miscutl.c \ - wmem_scopes.c \ - wmem_stack.c \ - wmem_strbuf.c \ - wmem_strutl.c \ - wmem_tree.c \ - wmem_interval_tree.c \ - wmem_user_cb.c \ - wmem_allocator.h \ - wmem_allocator_block.h \ - wmem_allocator_block_fast.h \ - wmem_allocator_simple.h \ - wmem_allocator_strict.h \ - wmem_map_int.h \ - wmem_tree-int.h \ - wmem_user_cb_int.h - -wmem_test_SOURCES = wmem_test.c - -wmem_test_LDADD = \ - libwmem.la \ - $(GLIB_LIBS) \ - ../../wsutil/libwsutil.la - -test-programs: wmem_test - -EXTRA_DIST = \ - CMakeLists.txt - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(libwmem_la_SOURCES) - -# -# Editor modelines - https://www.wireshark.org/tools/modelines.html -# -# Local variables: -# c-basic-offset: 8 -# tab-width: 8 -# indent-tabs-mode: t -# End: -# -# vi: set shiftwidth=8 tabstop=8 noexpandtab: -# :indentSize=8:tabSize=8:noTabs=false: -# diff --git a/epan/wslua/Makefile.am b/epan/wslua/Makefile.am deleted file mode 100644 index 609a43f50b..0000000000 --- a/epan/wslua/Makefile.am +++ /dev/null @@ -1,148 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(LUA_CFLAGS) \ - $(GLIB_CFLAGS) - -noinst_LTLIBRARIES = libwslua.la - -wslua_modules = \ - lrexlib.c \ - lrexlib_glib.c \ - lrexlib_glib_f.c \ - lua_bitop.c \ - wslua_address.c \ - wslua_byte_array.c \ - wslua_capture_info.c \ - wslua_column.c \ - wslua_dir.c \ - wslua_dissector.c \ - wslua_dumper.c \ - wslua_field.c \ - wslua_file.c \ - wslua_file_common.c \ - wslua_file_handler.c \ - wslua_frame_info.c \ - wslua_gui.c \ - wslua_int64.c \ - wslua_internals.c \ - wslua_listener.c \ - wslua_nstime.c \ - wslua_pinfo.c \ - wslua_pref.c \ - wslua_proto.c \ - wslua_proto_expert.c \ - wslua_proto_field.c \ - wslua_struct.c \ - wslua_tree.c \ - wslua_tvb.c \ - wslua_util.c - -libwslua_la_SOURCES = \ - $(wslua_modules) \ - taps_wslua.c \ - register_wslua.c \ - init_wslua.c \ - init_wslua.h \ - wslua.h - -libwslua_la_LIBADD = @LUA_LIBS@ - -BUILT_SOURCES = \ - taps_wslua.c \ - register_wslua.c \ - declare_wslua.h - -dist_pkgdata_DATA = \ - console.lua \ - dtd_gen.lua - -nodist_pkgdata_DATA = \ - init.lua - -DISTCLEANFILES = \ - $(BUILT_SOURCES) \ - taps.txt \ - wslua_register.h \ - init.lua - -EXTRA_DIST = \ - .editorconfig \ - declare_wslua.h \ - lua_bitop.h \ - lrexlib.h \ - lrexlib_algo.h \ - wslua_file_common.h \ - wslua_pinfo_common.h \ - lrexlib_algo.h \ - register_wslua.c \ - taps \ - make-reg.pl \ - template-init.lua \ - make-init-lua.pl \ - make-taps.pl \ - CMakeLists.txt - -taps_used = \ - $(top_srcdir)/epan/dissectors/packet-http.h \ - $(top_srcdir)/epan/dissectors/packet-ip.h \ - $(top_srcdir)/epan/dissectors/packet-udp.h \ - $(top_srcdir)/epan/dissectors/packet-h225.h \ - $(top_srcdir)/epan/dissectors/packet-ieee80211.h - -taps_wslua.c: make-taps.pl $(srcdir)/taps $(taps_used) - $(AM_V_PERL)$(PERL) $(srcdir)/make-taps.pl $(srcdir)/taps taps_wslua.c taps.txt $(srcdir) - -taps.txt: taps_wslua.c - -wslua.h: declare_wslua.h - -register_wslua.c: declare_wslua.h - -declare_wslua.h: make-reg.pl $(wslua_modules) taps_wslua.c - $(AM_V_PERL)$(PERL) $(srcdir)/make-reg.pl -d $(srcdir) $(wslua_modules) - -init.lua: template-init.lua make-init-lua.pl $(top_srcdir)/epan/ftypes/ftypes.h $(top_srcdir)/wiretap/wtap.h $(top_srcdir)/epan/proto.h $(top_srcdir)/epan/stat_groups.h - $(AM_V_PERL)$(PERL) $(srcdir)/make-init-lua.pl $(top_srcdir) $(srcdir)/template-init.lua > init.lua - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) \ - init_wslua.c \ - register_wslua.c \ - taps_wslua.c \ - lrexlib_glib.c \ - lrexlib_glib_f.c \ - wslua_dumper.c \ - wslua_field.c \ - wslua_file.c \ - wslua_gui.c \ - wslua_int64.c \ - wslua_pinfo.c \ - wslua_proto.c \ - wslua_struct.c \ - wslua_tree.c \ - wslua_tree.c \ - wslua_tvb.c \ - wslua_dir.c \ - wslua_util.c diff --git a/epan/wslua/taps b/epan/wslua/taps index 3ddd22f69c..8c280a2df0 100644 --- a/epan/wslua/taps +++ b/epan/wslua/taps @@ -13,8 +13,6 @@ # Elements are separated by whitespace. # tapname source_file_for_struct typedef_name_of_struct an_enum_name another_enum_name ... # -# Note: Make sure you update the taps_used variable in Makefile.am -# every time you add a new file to the list #frame ../dissectors/packet_frame.h void diff --git a/extcap/Makefile.am b/extcap/Makefile.am deleted file mode 100644 index 6a4d7f39c7..0000000000 --- a/extcap/Makefile.am +++ /dev/null @@ -1,85 +0,0 @@ -# Makefile.am -# Automake file for extcap tools -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later - -include ../Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(PCAP_CFLAGS) - -EXTRA_DIST = \ - .editorconfig - -extcap_PROGRAMS = \ - @androiddump_bin@ \ - @randpktdump_bin@ \ - @sshdump_bin@ \ - @ciscodump_bin@ \ - @udpdump_bin@ - -EXTRA_PROGRAMS = androiddump randpktdump sshdump ciscodump udpdump - -androiddump_SOURCES = \ - androiddump.c \ - extcap-base.c - -# Libraries and plugin flags with which to link androiddump. -androiddump_LDADD = \ - ../ui/libui.a \ - ../wiretap/libwiretap.la \ - ../wsutil/libwsutil.la \ - @GLIB_LIBS@ - -randpktdump_SOURCES = \ - randpktdump.c \ - extcap-base.c - -# Libraries and plugin flags with which to link randpktdump. -randpktdump_LDADD = \ - ../randpkt_core/librandpkt_core.a \ - ../ui/libui.a \ - ../wiretap/libwiretap.la \ - ../wsutil/libwsutil.la \ - @GLIB_LIBS@ - -sshdump_SOURCES = \ - sshdump.c \ - extcap-base.c \ - ssh-base.c - -# Libraries and plugin flags with which to link sshdump. -sshdump_LDADD = \ - ../wiretap/libwiretap.la \ - ../wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @LIBSSH_LIBS@ - -ciscodump_SOURCES = \ - ciscodump.c \ - extcap-base.c \ - ssh-base.c - -# Libraries and plugin flags with which to link ciscodump. -ciscodump_LDADD = \ - ../writecap/libwritecap.a \ - ../wsutil/libwsutil.la \ - @GLIB_LIBS@ \ - @LIBSSH_LIBS@ - -udpdump_SOURCES = \ - udpdump.c \ - extcap-base.c - -# Libraries and plugin flags with which to link udpdump. -udpdump_LDADD = \ - ../writecap/libwritecap.a \ - ../wsutil/libwsutil.la \ - @GLIB_LIBS@ - -noinst_HEADERS = \ - extcap-base.h \ - ssh-base.h diff --git a/help/Makefile.am b/help/Makefile.am deleted file mode 100644 index 3e527efef2..0000000000 --- a/help/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -# Makefile.am -# Automake file for Wireshark help files -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 2003 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -# -# Install the help files in the "help" subdirectory of the data directory. -# -helpdir = $(pkgdatadir)/help -help_DATA = \ - toc \ - getting_started.txt \ - capturing.txt \ - capture_filters.txt \ - display_filters.txt \ - faq.txt \ - overview.txt - -EXTRA_DIST = \ - $(help_DATA) \ - $(srcdir)/faq.py \ - faq.txt - -CLEANFILES = faq.txt - -# Convert the FAQ to text. -faq.txt: $(srcdir)/faq.py - $(AM_V_GEN)$(PYTHON) $(srcdir)/faq.py -b >$@.tmp && \ - $(PYTHON) $(srcdir)/../tools/html2text.py $@.tmp > $@ && \ - rm -f $@.tmp diff --git a/make-version.pl b/make-version.pl index 3bcb96e5c4..f9744e2488 100755 --- a/make-version.pl +++ b/make-version.pl @@ -431,37 +431,6 @@ sub update_cmakelists_txt print "$filepath has been updated.\n"; } -# Read configure.ac, then write it back out with an updated -# "AC_INIT" line. -sub update_configure_ac -{ - my $line; - my $contents = ""; - my $version = ""; - my $filepath = "$srcdir/configure.ac"; - - return if (!$set_version && $package_string eq ""); - - open(CFGIN, "< $filepath") || die "Can't read $filepath!"; - while ($line = ) { - if ($line =~ /^m4_define\( *\[?version_major\]? *,.*?([\r\n]+)$/) { - $line = sprintf("m4_define([version_major], [%d])$1", $version_pref{"version_major"}); - } elsif ($line =~ /^m4_define\( *\[?version_minor\]? *,.*?([\r\n]+)$/) { - $line = sprintf("m4_define([version_minor], [%d])$1", $version_pref{"version_minor"}); - } elsif ($line =~ /^m4_define\( *\[?version_micro\]? *,.*?([\r\n]+)$/) { - $line = sprintf("m4_define([version_micro], [%d])$1", $version_pref{"version_micro"}); - } elsif ($line =~ /^m4_define\( *\[?version_extra\]? *,.*?([\r\n]+)$/) { - $line = sprintf("m4_define([version_extra], [%s])$1", $package_string); - } - $contents .= $line - } - - open(CFGIN, "> $filepath") || die "Can't write $filepath!"; - print(CFGIN $contents); - close(CFGIN); - print "$filepath has been updated.\n"; -} - # Read docbook/attributes.asciidoc, then write it back out with an updated # wireshark-version replacement line. sub update_attributes_asciidoc @@ -544,42 +513,6 @@ sub update_debian_changelog print "$filepath has been updated.\n"; } -# Read Makefile.am for each library, then write back out an updated version. -sub update_automake_lib_releases -{ - my $line; - my $contents = ""; - my $version = ""; - my $filedir; - my $filepath; - - # The Libtool manual says - # "If the library source code has changed at all since the last - # update, then increment revision (‘c:r:a’ becomes ‘c:r+1:a’)." - # epan changes with each minor release, almost by definition. wiretap - # changes with *most* releases. - # - # http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info - for $filedir ("$srcdir/epan", "$srcdir/wiretap") { # "$srcdir/wsutil" - $contents = ""; - $filepath = $filedir . "/Makefile.am"; - open(MAKEFILE_AM, "< $filepath") || die "Can't read $filepath!"; - while ($line = ) { - # libwireshark_la_LDFLAGS = -version-info 2:1:1 -export-symbols - - if ($line =~ /^(lib\w+_la_LDFLAGS.*version-info\s+\d+:)\d+(:\d+.*[\r\n]+)$/) { - $line = sprintf("$1%d$2", $version_pref{"version_micro"}); - } - $contents .= $line - } - - open(MAKEFILE_AM, "> $filepath") || die "Can't write $filepath!"; - print(MAKEFILE_AM $contents); - close(MAKEFILE_AM); - print "$filepath has been updated.\n"; - } -} - # Read CMakeLists.txt for each library, then write back out an updated version. sub update_cmake_lib_releases { @@ -618,12 +551,10 @@ sub update_versioned_files $version_pref{"version_minor"}, $version_pref{"version_micro"}, $package_string; &update_cmakelists_txt; - &update_configure_ac; if ($set_version) { &update_attributes_asciidoc; &update_docinfo_asciidoc; &update_debian_changelog; - &update_automake_lib_releases; &update_cmake_lib_releases; } } @@ -775,8 +706,7 @@ make-version.pl [options] [source directory] --set-version, -v Set the major, minor, and micro versions in the top-level CMakeLists.txt, configure.ac, docbook/attributes.asciidoc, debian/changelog, - the Makefile.am for all libraries, and the - CMakeLists.txt for all libraries. + and the CMakeLists.txt for all libraries. Resets the release information when used by itself. --set-release, -r Set the release information in the top-level diff --git a/packaging/Makefile.am b/packaging/Makefile.am deleted file mode 100644 index 49a184a36a..0000000000 --- a/packaging/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ - -DIST_SUBDIRS = macosx rpm nsis wix - -EXTRA_DIST = \ - portableapps/appinfo.tmpl \ - portableapps/CMakeLists.txt \ - portableapps/help.html \ - portableapps/readme.txt \ - portableapps/WiresharkPortable.ini \ - portableapps/xcopy-deploy-exclude.txt diff --git a/packaging/macosx/Makefile.am b/packaging/macosx/Makefile.am deleted file mode 100644 index d148c3e412..0000000000 --- a/packaging/macosx/Makefile.am +++ /dev/null @@ -1,52 +0,0 @@ -# -# This was disabled at one point, since the contents of the -# Clearlooks-Quicksilver-OSX directory exceed the 99-character file -# name limit imposed by the old tar format. We now use ustar format, -# which doesn't have that limitation. -# -# To re-disable this file, remove "macosx" to SUBDIRS in ../Makefile.am and -# remove the entries for this Makefile.am and Info.plist from AC_OUTPUT -# in ../../configure.in. -# - -EXTRA_DIST = \ - ChmodBPF/ChmodBPF \ - ChmodBPF/org.wireshark.ChmodBPF.plist \ - dmg_background.png \ - dmg_background.svg \ - util_background.png \ - util_background.svg \ - dmg_set_style.scpt \ - Info.plist \ - Info.plist.in \ - osx-app.sh.in \ - osx-dmg.sh.in \ - Read_me_first.rtf \ - Scripts/chmodbpf-postinstall.sh \ - Scripts/cli-preinstall.sh \ - Scripts/cli-postinstall.sh \ - Scripts/wireshark-postinstall.sh \ - utility-launcher \ - root.ds_store \ - util.ds_store \ - Wireshark.icns \ - Wiresharkdoc.icns \ - Wireshark_package.pmdoc/01wireshark-contents.xml \ - Wireshark_package.pmdoc/01wireshark.xml \ - Wireshark_package.pmdoc/02chmodbpf-contents.xml \ - Wireshark_package.pmdoc/02chmodbpf.xml \ - Wireshark_package.pmdoc/03utility-contents.xml \ - Wireshark_package.pmdoc/03utility.xml \ - Wireshark_package.pmdoc/index.xml.in - - -COPYING.txt: $(top_srcdir)/COPYING - $(AM_V_GEN)cp $(top_srcdir)/COPYING $@ - -all: COPYING.txt - -install: all - -clean-local: - rm -rf Utilities Wireshark.app COPYING.txt \ - *.dmg *.pkg diff --git a/packaging/nsis/Makefile.am b/packaging/nsis/Makefile.am deleted file mode 100644 index a35732740d..0000000000 --- a/packaging/nsis/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ - -EXTRA_DIST = \ - AdditionalTasksPage.ini \ - CMakeLists.txt \ - common.nsh \ - config.nsh.in \ - custom_diameter_xmls.txt \ - custom_mibs.txt \ - custom_plugins.txt \ - custom_radius_dict.txt \ - GetWindowsVersion.nsh \ - servicelib.nsh \ - uninstall.nsi \ - VersionCompare.nsh \ - windeployqt-to-nsis.ps1 \ - WinPcapPage.ini \ - USBPcapPage.ini \ - wireshark.nsi \ - x64.nsh diff --git a/packaging/rpm/Makefile.am b/packaging/rpm/Makefile.am deleted file mode 100644 index 229f766a04..0000000000 --- a/packaging/rpm/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ - -DIST_SUBDIRS = SPECS - -EXTRA_DIST = wireshark.spec.in - -clean-local: - rm -rf BUILD RPMS SOURCES SRPMS - -all-local: - $(MKDIR_P) BUILD RPMS SOURCES SRPMS - (cd SOURCES && $(LN_S) -f $(abs_top_builddir)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.xz .) - $(RPMBUILD) --define "_topdir $(abs_builddir)" --define "_prefix $(prefix)" \ - @RPMBUILD_WITH_ARGS@ --clean -ba SPECS/wireshark.spec - @echo "Package successfully built in `pwd`/RPMS." diff --git a/packaging/rpm/SPECS/Makefile.am b/packaging/rpm/SPECS/Makefile.am deleted file mode 100644 index 27ab46038b..0000000000 --- a/packaging/rpm/SPECS/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ - -EXTRA_DIST = wireshark.spec.in diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in index 77fa26e694..ade0c320c4 100644 --- a/packaging/rpm/SPECS/wireshark.spec.in +++ b/packaging/rpm/SPECS/wireshark.spec.in @@ -30,12 +30,6 @@ %global package_version @VERSION@ -# Set this variable to 1 if you have modified this file to patch Wireshark in -# such a way that automake needs to be re-run (e.g., you modified a Makefile.am, -# for example to add a dissector). -# Setting this causes ./autogen.sh to be re-run (which runs automake, etc.). -%global run_automake 0 - Summary: Wireshark is the world's foremost protocol analyzer Name: wireshark @@ -58,13 +52,6 @@ BuildRequires: gcc BuildRequires: python BuildRequires: perl -%if %{run_automake} -BuildRequires: autoconf >= @AC_MIN_VERSION@ -BuildRequires: automake -BuildRequires: flex -BuildRequires: bison -%endif - BuildRequires: glib2-devel >= @GLIB_MIN_VERSION@ Requires: glib2 >= @GLIB_MIN_VERSION@ BuildRequires: libpcap-devel @@ -265,10 +252,6 @@ This package contains the GTK+ Wireshark GUI and desktop integration files. %prep %setup -q -n %{name}-%{package_version} -%if %{run_automake} -./autogen.sh -%endif - # Don't specify the prefix here: configure is a macro which expands to set # the prefix and everything else too. If you need to change the prefix # set _prefix (note the underscore) either in this file or on rpmbuild's @@ -429,8 +412,7 @@ fi # This generates a warning because dumpcap is listed twice. That's # probably preferable to listing each program (and keeping the list up to -# date)... Maybe if we can find a way to get the toplevel Makefile.am's -# bin_PROGRAMS in here? +# date)... %if %{use_wireshark_group} && %{setuid_dumpcap} # Setuid but only executable by members of the 'wireshark' group %attr(4750, root, wireshark) %{_bindir}/dumpcap diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in index 613bf1ee93..3c113466c4 100644 --- a/packaging/rpm/wireshark.spec.in +++ b/packaging/rpm/wireshark.spec.in @@ -375,8 +375,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || : # This generates a warning because dumpcap is listed twice. That's # probably preferable to listing each program (and keeping the list up to -# date)... Maybe if we can find a way to get the toplevel Makefile.am's -# bin_PROGRAMS in here? +# date)... %if %{use_wireshark_group} && %{setuid_dumpcap} # Setuid but only executable by members of the 'wireshark' group %attr(4750, root, wireshark) %{_bindir}/dumpcap diff --git a/packaging/wix/Makefile.am b/packaging/wix/Makefile.am deleted file mode 100644 index 61be5ff027..0000000000 --- a/packaging/wix/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ - -EXTRA_DIST = \ - CMakeLists.txt \ - COPYING.rtf \ - ComponentGroups.wxi \ - DirectoryStructure.wxi \ - Features.wxi \ - InputPaths.wxi \ - Plugins.wxi \ - Prerequisites.wxi \ - README \ - StringOverrides.wxl \ - UserInterface.wxi \ - Wireshark.wxs \ - WiresharkOptionsDlg.wxs \ - WiresharkWixUI.wxs \ - banner.bmp \ - banner.svg \ - dialog.bmp \ - dialog.svg \ - windeployqt-to-wix.ps1 diff --git a/plugins/Makefile.am b/plugins/Makefile.am deleted file mode 100644 index 2055eb1b0e..0000000000 --- a/plugins/Makefile.am +++ /dev/null @@ -1,51 +0,0 @@ -# Makefile.am -# Automake file for Wireshark plugins -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - --include Custom.make - -SUBDIRS = \ - $(_CUSTOM_SUBDIRS_) \ - epan/ethercat \ - epan/gryphon \ - epan/irda \ - epan/mate \ - epan/opcua \ - epan/profinet \ - epan/stats_tree \ - epan/transum \ - epan/unistim \ - epan/wimax \ - epan/wimaxasncp \ - epan/wimaxmacphy \ - wiretap/usbdump \ - codecs/l16_mono - -EXTRA_DIST = \ - $(_CUSTOM_EXTRA_DIST_) \ - Custom.make.example \ - Custom.m4.example \ - plugin.rc.in - -checkapi: - for i in $(SUBDIRS); do \ - (cd "$$i"; $(MAKE) checkapi); \ - done - diff --git a/plugins/Makefile.am.inc b/plugins/Makefile.am.inc deleted file mode 100644 index 3a560ee2c6..0000000000 --- a/plugins/Makefile.am.inc +++ /dev/null @@ -1,158 +0,0 @@ -# Makefile.am.inc -# Include file with common automake definitions for plugins -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# - -LIBS = @PLUGIN_LIBS@ - -PLUGIN_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) -DPLUGIN_VERSION=\"$(PLUGIN_VERSION)\" - -PLUGIN_CFLAGS = - -PLUGIN_LDFLAGS = -module -avoid-version - -epan_plugindir = $(plugindir)/epan - -wiretap_plugindir = $(plugindir)/wiretap - -codecs_plugindir = $(plugindir)/codecs - -# -# Source files are divided up along several axes: -# -# C vs. C++ - this is used on Windows to generated lists of object files -# with .c=.obj or .cpp=.obj -# -# Register vs. non-register - register files are scanned for registration -# functions, non-register files aren't. -# -# Flex-generated, Lemon-generated, and non-generated: -# -# we distribute non-generated files, as they're part of the source, -# and distribute Flex-generated files, as we don't require that -# people have Flex installed and don't distribute it ourself and -# thus can't guarantee that we can run Flex in the build process, -# but we don't distribute Lemon-generated files, as we distribute -# Lemon and can run it in the build process; -# -# "make maintainer-clean" on UN*X remove all generated files; -# -# "make distclean" on UN*X removes Lemon-generated files, as they're -# not in the distribution, but not Flex-generated files, as they -# are in the distribution; -# -# "make distclean" on Windows removes both Lemon-generated and -# Flex-generated files, as the Flex-generated files in the -# distribution were generated by Flex on UN*X, and won't compile -# on Windows; -# -# Flex-generated files can't be built with full warnings -# turned on, and can't be run through the checkAPI scripts, -# as they generate code that won't pass (we've tweaked -# Lemon to generate code that will pass). -# - -# -# All source files to be scanned for registration routines. -# -REGISTER_SRC_FILES = \ - $(FLEX_GENERATED_REGISTER_C_FILES) \ - $(FLEX_GENERATED_REGISTER_CPP_FILES) \ - $(LEMON_GENERATED_REGISTER_C_FILES) \ - $(LEMON_GENERATED_REGISTER_CPP_FILES) \ - $(NONGENERATED_REGISTER_C_FILES) \ - $(NONGENERATED_REGISTER_CPP_FILES) - -# -# All distributed source files. -# -SRC_FILES = \ - $(FLEX_GENERATED_C_FILES) \ - $(FLEX_GENERATED_CPP_FILES) \ - $(NONGENERATED_C_FILES) \ - $(NONGENERATED_CPP_FILES) - -# -# All non-distributed source files. -# -NODIST_SRC_FILES = \ - $(LEMON_GENERATED_C_FILES) \ - $(LEMON_GENERATED_CPP_FILES) - -# -# All non-distributed header files. -# -NODIST_HEADER_FILES = \ - $(LEMON_GENERATED_HEADER_FILES) - -# -# All Flex-generated source files. -# -FLEX_GENERATED_SRC_FILES = \ - $(FLEX_GENERATED_C_FILES) \ - $(FLEX_GENERATED_CPP_FILES) - -# -# All Lemon-generated source files. -# -LEMON_GENERATED_SRC_FILES = \ - $(LEMON_GENERATED_C_FILES) \ - $(LEMON_GENERATED_CPP_FILES) - -# -# All generated source files. -# -GENERATED_SRC_FILES = \ - $(FLEX_GENERATED_SRC_FILES) \ - $(LEMON_GENERATED_SRC_FILES) - -# -# All generated header files. -# -GENERATED_HEADER_FILES = \ - $(FLEX_GENERATED_HEADER_FILES) \ - $(LEMON_GENERATED_HEADER_FILES) - -# -# All "clean" source files; they can be compiled with the regular -# warning options, including -Werror with GCC-compatible compilers, -# and can be run through checkAPI. Neither Flex-generated nor -# Lemon-generated files can currently be guaranteed to be clean. -# -CLEAN_SRC_FILES = \ - $(NONGENERATED_C_FILES) \ - $(NONGENERATED_CPP_FILES) - -# C source files -C_FILES = \ - $(FLEX_GENERATED_C_FILES) \ - $(LEMON_GENERATED_C_FILES) \ - $(NONGENERATED_C_FILES) - -# C++ source files -CPP_FILES = \ - $(FLEX_GENERATED_CPP_FILES) \ - $(LEMON_GENERATED_CPP_FILES) \ - $(NONGENERATED_CPP_FILES) - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(CLEAN_SRC_FILES) $(CLEAN_HEADER_FILES) diff --git a/plugins/codecs/Makefile.am.inc b/plugins/codecs/Makefile.am.inc deleted file mode 100644 index fb1b6d7770..0000000000 --- a/plugins/codecs/Makefile.am.inc +++ /dev/null @@ -1,42 +0,0 @@ -# Makefile.am.inc -# Include file with common automake definitions for codec plugins -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -include $(top_srcdir)/plugins/Makefile.am.inc - -# -# Build plugin.c, which contains the plugin_version[] and plugin_release[] -# string, and a function plugin_register() that calls the register routines -# for all codecs. -# -# We do this by scanning sources. If that turns out to be too slow, -# maybe we could just require every .o file to have an register routine -# of a given name (packet-aarp.o -> proto_register_aarp, etc.). -# -# Formatting conventions: The name of the codec_register_* routines must -# start in column zero, or must be preceded only by "void " starting in -# column zero, and must not be inside #if. -# -# REGISTER_SRC_FILES is assumed to have all the files that need to be scanned. -# -# For some unknown reason, having a big "for" loop in the Makefile -# to scan all the files doesn't work with some "make"s; they seem to -# pass only the first few names in the list to the shell, for some -# reason. -# -# Therefore, we use a script to generate the register.c file. -# The first argument is the directory in which the source files live. -# The second argument is "plugin_codec", to indicate that we should build -# a plugin.c file for a codec plugin. -# All subsequent arguments are the files to scan. -# -plugin.c: $(REGISTER_SRC_FILES) $(top_srcdir)/tools/make-plugin-reg.py - @echo Making plugin.c - @$(PYTHON) $(top_srcdir)/tools/make-plugin-reg.py $(srcdir) \ - plugin_codec $(REGISTER_SRC_FILES) diff --git a/plugins/codecs/l16_mono/Makefile.am b/plugins/codecs/l16_mono/Makefile.am deleted file mode 100644 index bbc2379eb3..0000000000 --- a/plugins/codecs/l16_mono/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/codecs/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = l16mono - -PLUGIN_VERSION = 0.1.0 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - l16decode.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -wiretap_plugin_LTLIBRARIES = l16mono.la - -l16mono_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_l16mono_la_SOURCES = \ - plugin.c - -l16mono_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) -I$(abs_top_srcdir)/codecs - -l16mono_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) -I$(abs_top_srcdir)/codecs - -l16mono_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/Makefile.am.inc b/plugins/epan/Makefile.am.inc deleted file mode 100644 index 4d3f145225..0000000000 --- a/plugins/epan/Makefile.am.inc +++ /dev/null @@ -1,43 +0,0 @@ -# Makefile.am.inc -# Include file with common automake definitions for dissector plugins -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -include $(top_srcdir)/plugins/Makefile.am.inc - -# -# Build plugin.c, which contains the plugin_version[] and plugin_release[] -# string, and a function plugin_register() that calls the register routines -# for all protocols. -# -# We do this by scanning sources. If that turns out to be too slow, -# maybe we could just require every .o file to have an register routine -# of a given name (packet-aarp.o -> proto_register_aarp, etc.). -# -# Formatting conventions: The name of the proto_register_* routines and -# proto_reg_handoff_* routines must start in column zero, or must be -# preceded only by "void " starting in column zero, and must not be -# inside #if. -# -# REGISTER_SRC_FILES is assumed to have all the files that need to be scanned. -# -# For some unknown reason, having a big "for" loop in the Makefile -# to scan all the files doesn't work with some "make"s; they seem to -# pass only the first few names in the list to the shell, for some -# reason. -# -# Therefore, we use a script to generate the register.c file. -# The first argument is the directory in which the source files live. -# The second argument is "plugin", to indicate that we should build -# a plugin.c file for a dissector plugin. -# All subsequent arguments are the files to scan. -# -plugin.c: $(REGISTER_SRC_FILES) $(top_srcdir)/tools/make-plugin-reg.py - @echo Making plugin.c - @$(PYTHON) $(top_srcdir)/tools/make-plugin-reg.py $(srcdir) \ - plugin $(REGISTER_SRC_FILES) diff --git a/plugins/epan/ethercat/Makefile.am b/plugins/epan/ethercat/Makefile.am deleted file mode 100644 index 5a06af9ef9..0000000000 --- a/plugins/epan/ethercat/Makefile.am +++ /dev/null @@ -1,77 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = ethercat - -PLUGIN_VERSION = 0.1.1 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-ams.c \ - packet-ecatmb.c \ - packet-esl.c \ - packet-ethercat-datagram.c \ - packet-ethercat-frame.c \ - packet-ioraw.c \ - packet-nv.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -# Headers. -CLEAN_HEADER_FILES = \ - packet-ams.h \ - packet-ecatmb.h \ - packet-ethercat-datagram.h \ - packet-ethercat-frame.h \ - packet-ioraw.h \ - packet-nv.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = ethercat.la - -ethercat_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_ethercat_la_SOURCES = \ - plugin.c - -ethercat_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -ethercat_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -ethercat_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/gryphon/Makefile.am b/plugins/epan/gryphon/Makefile.am deleted file mode 100644 index bbf91ad263..0000000000 --- a/plugins/epan/gryphon/Makefile.am +++ /dev/null @@ -1,66 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = gryphon - -PLUGIN_VERSION = 1.1.0 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-gryphon.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -# Headers. -CLEAN_HEADER_FILES = \ - packet-gryphon.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = gryphon.la - -gryphon_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_gryphon_la_SOURCES = \ - plugin.c - -gryphon_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -gryphon_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -gryphon_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/irda/Makefile.am b/plugins/epan/irda/Makefile.am deleted file mode 100644 index 77f891645f..0000000000 --- a/plugins/epan/irda/Makefile.am +++ /dev/null @@ -1,74 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = irda - -PLUGIN_VERSION = 0.0.6 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-ircomm.c \ - packet-irda.c \ - packet-sir.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -# Headers. -CLEAN_HEADER_FILES = \ - irda-appl.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = irda.la - -irda_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_irda_la_SOURCES = \ - plugin.c - -irda_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -irda_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -irda_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - $(NODIST_SRC_FILES) \ - $(NODIST_HEADER_FILES) \ - plugin.c - -MAINTAINERCLEANFILES = \ - $(GENERATED_SRC_FILES) \ - $(GENERATED_HEADER_FILES) - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/mate/Makefile.am b/plugins/epan/mate/Makefile.am deleted file mode 100644 index b8953c85fb..0000000000 --- a/plugins/epan/mate/Makefile.am +++ /dev/null @@ -1,129 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = mate - -PLUGIN_VERSION = 1.0.1 - -BUILT_SOURCES = \ - plugin.c \ - $(LEMON_GENERATED_HEADER_FILES) \ - $(FLEX_GENERATED_HEADER_FILES) - -# -# Files generated by Flex. -# -FLEX_GENERATED_C_FILES = \ - mate_parser.c - -FLEX_GENERATED_HEADER_FILES = \ - mate_parser_lex.h - -# -# Files generated by Lemon. -# -LEMON_GENERATED_C_FILES = \ - mate_grammar.c - -LEMON_GENERATED_HEADER_FILES = \ - mate_grammar.h - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-mate.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) \ - mate_setup.c \ - mate_runtime.c \ - mate_util.c - -# Headers. -CLEAN_HEADER_FILES = \ - mate.h \ - mate_util.h - -HEADER_FILES = \ - $(FLEX_GENERATED_HEADER_FILES) \ - $(CLEAN_HEADER_FILES) - -# -# XXX - how to make this apply only to clean files? -# -#if HAVE_WARNINGS_AS_ERRORS -#AM_CFLAGS += -Werror -#endif - -epan_plugin_LTLIBRARIES = mate.la - -mate_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_mate_la_SOURCES = \ - $(NODIST_SRC_FILES) \ - $(NODIST_HEADER_FILES) \ - plugin.c - -mate_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -mate_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -mate_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - mate_grammar.out \ - $(NODIST_SRC_FILES) \ - $(NODIST_HEADER_FILES) \ - plugin.c - -MAINTAINERCLEANFILES = \ - $(GENERATED_SRC_FILES) \ - $(GENERATED_HEADER_FILES) - -EXTRA_DIST = \ - mate_grammar.lemon \ - mate_parser.l \ - CMakeLists.txt \ - examples/call.mate \ - examples/mms.mate \ - examples/pasv_ftp.mate \ - examples/tcp.mate \ - examples/web.mate \ - matelib/dns.mate \ - matelib/h225_ras.mate \ - matelib/isup.mate \ - matelib/megaco.mate \ - matelib/q931.mate \ - matelib/radius.mate \ - matelib/rtsp.mate \ - matelib/sip.mate - -mate_parser_lex.h : mate_parser.c - -mate_grammar.h : mate_grammar.c -mate_grammar.c : mate_grammar.lemon mate.h mate_util.h $(LEMON) $(lemon_srcdir)/lempar.c - $(AM_V_LEMON)$(LEMON) T=$(lemon_srcdir)/lempar.c $(srcdir)/mate_grammar.lemon || \ - (rm -f grammar.c grammar.h ; false) diff --git a/plugins/epan/opcua/Makefile.am b/plugins/epan/opcua/Makefile.am deleted file mode 100644 index d119418166..0000000000 --- a/plugins/epan/opcua/Makefile.am +++ /dev/null @@ -1,91 +0,0 @@ -# Makefile.am -# -# Adapted by Gerhard Gappmeier for OpcUa -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = opcua - -PLUGIN_VERSION = 1.1.0 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - opcua.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) \ - opcua_transport_layer.c \ - opcua_security_layer.c \ - opcua_application_layer.c \ - opcua_serviceparser.c \ - opcua_complextypeparser.c \ - opcua_enumparser.c \ - opcua_simpletypes.c \ - opcua_servicetable.c \ - opcua_extensionobjecttable.c \ - opcua_hfindeces.c \ - opcua_statuscode.c - -# Headers. -CLEAN_HEADER_FILES = \ - opcua_complextypeparser.h \ - opcua_enumparser.h \ - opcua_hfindeces.h \ - opcua_statuscode.h \ - opcua_identifiers.h \ - opcua_serviceparser.h \ - opcua_simpletypes.h \ - opcua_servicetable.h \ - opcua_application_layer.h \ - opcua_security_layer.h \ - opcua_transport_layer.h \ - opcua_extensionobjectids.h \ - opcua_serviceids.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = opcua.la - -opcua_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_opcua_la_SOURCES = \ - plugin.c - -opcua_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -opcua_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -opcua_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - README \ - CMakeLists.txt diff --git a/plugins/epan/pluginifdemo/Makefile.am b/plugins/epan/pluginifdemo/Makefile.am deleted file mode 100644 index bad9605bc9..0000000000 --- a/plugins/epan/pluginifdemo/Makefile.am +++ /dev/null @@ -1,66 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = pluginifdemo - -PLUGIN_VERSION = 0.0.1 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - pluginifdemo.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -# Headers. -CLEAN_HEADER_FILES = \ - pluginifdemo.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = pluginifdemo.la - -pluginifdemo_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_pluginifdemo_la_SOURCES = \ - plugin.c - -pluginifdemo_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -pluginifdemo_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -pluginifdemo_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/profinet/Makefile.am b/plugins/epan/profinet/Makefile.am deleted file mode 100644 index 0bb8b2fc9e..0000000000 --- a/plugins/epan/profinet/Makefile.am +++ /dev/null @@ -1,76 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = profinet - -PLUGIN_VERSION = 0.2.4 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-dcerpc-pn-io.c \ - packet-dcom-cba.c \ - packet-dcom-cba-acco.c \ - packet-pn-dcp.c \ - packet-pn-mrp.c \ - packet-pn-mrrt.c \ - packet-pn-ptcp.c \ - packet-pn-rt.c \ - packet-pn-rtc-one.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) \ - packet-pn.c - -# Headers. -CLEAN_HEADER_FILES = \ - packet-dcom-cba-acco.h \ - packet-pn.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = profinet.la - -profinet_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_profinet_la_SOURCES = \ - plugin.c - -profinet_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -profinet_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -profinet_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/stats_tree/Makefile.am b/plugins/epan/stats_tree/Makefile.am deleted file mode 100644 index ec4feb51f2..0000000000 --- a/plugins/epan/stats_tree/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = stats_tree - -PLUGIN_VERSION = 0.0.1 - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) \ - stats_tree_plugin.c \ - pinfo_stats_tree.c - -# Headers. -CLEAN_HEADER_FILES = \ - pinfo_stats_tree.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = stats_tree.la - -stats_tree_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -stats_tree_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -stats_tree_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -stats_tree_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/transum/Makefile.am b/plugins/epan/transum/Makefile.am deleted file mode 100644 index 19bce627c9..0000000000 --- a/plugins/epan/transum/Makefile.am +++ /dev/null @@ -1,71 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = transum - -PLUGIN_VERSION = 2.0.2 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-transum.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) \ - decoders.c \ - extractors.c - -# Headers. -CLEAN_HEADER_FILES = \ - decoders.h \ - extractors.h \ - packet-transum.h \ - preferences.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = transum.la - -transum_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_transum_la_SOURCES = \ - plugin.c - -transum_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -transum_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -transum_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/unistim/Makefile.am b/plugins/epan/unistim/Makefile.am deleted file mode 100644 index c6051aa980..0000000000 --- a/plugins/epan/unistim/Makefile.am +++ /dev/null @@ -1,75 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = unistim - -PLUGIN_VERSION = 0.0.2 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-unistim.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -# Headers. -CLEAN_HEADER_FILES = \ - audio.h \ - basic.h \ - broadcast.h \ - defines.h \ - display.h \ - expansion.h \ - key.h \ - network.h \ - uftp.h \ - packet-unistim.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = unistim.la - -unistim_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_unistim_la_SOURCES = \ - plugin.c - -unistim_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -unistim_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -unistim_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/epan/wimax/Makefile.am b/plugins/epan/wimax/Makefile.am deleted file mode 100644 index 0e37798377..0000000000 --- a/plugins/epan/wimax/Makefile.am +++ /dev/null @@ -1,116 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = wimax - -PLUGIN_VERSION = 1.2.0 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-m2m.c \ - packet-wmx.c \ - wimax_cdma_code_decoder.c \ - wimax_compact_dlmap_ie_decoder.c \ - wimax_compact_ulmap_ie_decoder.c \ - wimax_fch_decoder.c \ - wimax_ffb_decoder.c \ - wimax_hack_decoder.c \ - wimax_harq_map_decoder.c \ - wimax_pdu_decoder.c \ - wimax_phy_attributes_decoder.c \ - mac_hd_generic_decoder.c \ - mac_hd_type1_decoder.c \ - mac_hd_type2_decoder.c \ - mac_mgmt_msg_decoder.c \ - msg_aas_fbck.c \ - msg_aas_beam.c \ - msg_arq.c \ - msg_clk_cmp.c \ - msg_dcd.c \ - msg_dlmap.c \ - msg_dreg.c \ - msg_dsa.c \ - msg_dsc.c \ - msg_dsd.c \ - msg_dsx_rvd.c \ - msg_fpc.c \ - msg_pkm.c \ - msg_pmc.c \ - msg_prc_lt_ctrl.c \ - msg_reg_req.c \ - msg_reg_rsp.c \ - msg_rep.c \ - msg_res_cmd.c \ - msg_rng_req.c \ - msg_rng_rsp.c \ - msg_sbc.c \ - msg_ucd.c \ - msg_ulmap.c \ - wimax_utils.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) \ - crc.c \ - crc_data.c \ - wimax_tlv.c - -# Headers. -CLEAN_HEADER_FILES = \ - crc.h \ - wimax_bits.h \ - wimax_compact_dlmap_ie_decoder.h \ - wimax_compact_ulmap_ie_decoder.h \ - wimax_mac.h \ - wimax_tlv.h \ - wimax_utils.h \ - wimax-int.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = wimax.la - -wimax_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_wimax_la_SOURCES = \ - plugin.c - -wimax_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -wimax_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -wimax_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt \ - README.wimax diff --git a/plugins/epan/wimaxasncp/Makefile.am b/plugins/epan/wimaxasncp/Makefile.am deleted file mode 100644 index ffb745cd69..0000000000 --- a/plugins/epan/wimaxasncp/Makefile.am +++ /dev/null @@ -1,100 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = wimaxasncp - -PLUGIN_VERSION = 0.0.1 - -BUILT_SOURCES = \ - plugin.c \ - $(LEMON_GENERATED_HEADER_FILES) \ - $(FLEX_GENERATED_HEADER_FILES) - -# -# Files generated by Flex. -# -FLEX_GENERATED_C_FILES = \ - wimaxasncp_dict.c - -FLEX_GENERATED_HEADER_FILES = \ - wimaxasncp_dict_lex.h - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-wimaxasncp.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -# Headers. -CLEAN_HEADER_FILES = \ - wimaxasncp_dict.h - -HEADER_FILES = \ - $(FLEX_GENERATED_HEADER_FILES) \ - $(CLEAN_HEADER_FILES) - -# -# XXX - how to make this apply only to clean files? -# -#if HAVE_WARNINGS_AS_ERRORS -#AM_CFLAGS += -Werror -#endif - -epan_plugin_LTLIBRARIES = wimaxasncp.la - -wimaxasncp_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_wimaxasncp_la_SOURCES = \ - plugin.c - -wimaxasncp_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -wimaxasncp_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -wimaxasncp_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -MAINTAINERCLEANFILES = \ - $(GENERATED_SRC_FILES) \ - $(GENERATED_HEADER_FILES) - -EXTRA_DIST = \ - wimaxasncp_dict.l \ - CMakeLists.txt - -wimaxasncp_dict_lex.h: wimaxasncp_dict.c - -wimaxasncp_dict.c: wimaxasncp_dict.h - -# -# Install the wimaxasncp DTD and XML files in the "wimaxasncp" -# subdirectory of $(pkgdatadir) -# -wimaxasncpdir = $(pkgdatadir)/wimaxasncp diff --git a/plugins/epan/wimaxmacphy/Makefile.am b/plugins/epan/wimaxmacphy/Makefile.am deleted file mode 100644 index d69df68bac..0000000000 --- a/plugins/epan/wimaxmacphy/Makefile.am +++ /dev/null @@ -1,66 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/epan/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = wimaxmacphy - -PLUGIN_VERSION = 0.0.1 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - packet-wimaxmacphy.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -# Headers. -CLEAN_HEADER_FILES = \ - packet-wimaxmacphy.h - -HEADER_FILES = \ - $(CLEAN_HEADER_FILES) - -epan_plugin_LTLIBRARIES = wimaxmacphy.la - -wimaxmacphy_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_wimaxmacphy_la_SOURCES = \ - plugin.c - -wimaxmacphy_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) - -wimaxmacphy_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) - -wimaxmacphy_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/plugins/wiretap/Makefile.am.inc b/plugins/wiretap/Makefile.am.inc deleted file mode 100644 index 384ea2e170..0000000000 --- a/plugins/wiretap/Makefile.am.inc +++ /dev/null @@ -1,42 +0,0 @@ -# Makefile.am.inc -# Include file with common automake definitions for wiretap plugins -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -include $(top_srcdir)/plugins/Makefile.am.inc - -# -# Build plugin.c, which contains the plugin_version[] and plugin_release[] -# string, and a function plugin_register() that calls the register routines -# for all wiretap modules. -# -# We do this by scanning sources. If that turns out to be too slow, -# maybe we could just require every .o file to have an register routine -# of a given name (packet-aarp.o -> proto_register_aarp, etc.). -# -# Formatting conventions: The name of the wtap_register_* routines must -# start in column zero, or must be preceded only by "void " starting in -# column zero, and must not be inside #if. -# -# REGISTER_SRC_FILES is assumed to have all the files that need to be scanned. -# -# For some unknown reason, having a big "for" loop in the Makefile -# to scan all the files doesn't work with some "make"s; they seem to -# pass only the first few names in the list to the shell, for some -# reason. -# -# Therefore, we use a script to generate the register.c file. -# The first argument is the directory in which the source files live. -# The second argument is "plugin_wtap", to indicate that we should build -# a plugin.c file for a wiretap plugin. -# All subsequent arguments are the files to scan. -# -plugin.c: $(REGISTER_SRC_FILES) $(top_srcdir)/tools/make-plugin-reg.py - @echo Making plugin.c - @$(PYTHON) $(top_srcdir)/tools/make-plugin-reg.py $(srcdir) \ - plugin_wtap $(REGISTER_SRC_FILES) diff --git a/plugins/wiretap/usbdump/Makefile.am b/plugins/wiretap/usbdump/Makefile.am deleted file mode 100644 index dd12ad96ac..0000000000 --- a/plugins/wiretap/usbdump/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 1998 Gerald Combs -# -# SPDX-License-Identifier: GPL-2.0-or-later -# - -include $(top_srcdir)/Makefile.am.inc -include $(top_srcdir)/plugins/wiretap/Makefile.am.inc - -# the name of the plugin -PLUGIN_NAME = usbdump - -PLUGIN_VERSION = 0.0.1 - -BUILT_SOURCES = \ - plugin.c - -# Non-generated sources to be scanned for registration routines -NONGENERATED_REGISTER_C_FILES = \ - usbdump.c - -# Non-generated sources -NONGENERATED_C_FILES = \ - $(NONGENERATED_REGISTER_C_FILES) - -wiretap_plugin_LTLIBRARIES = usbdump.la - -usbdump_la_SOURCES = \ - $(SRC_FILES) \ - $(HEADER_FILES) - -nodist_usbdump_la_SOURCES = \ - plugin.c - -usbdump_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) -I$(abs_top_srcdir)/wiretap - -usbdump_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) -I$(abs_top_srcdir)/wiretap - -usbdump_la_LDFLAGS = $(PLUGIN_LDFLAGS) - -DISTCLEANFILES = \ - plugin.c - -EXTRA_DIST = \ - CMakeLists.txt diff --git a/randpkt_core/Makefile.am b/randpkt_core/Makefile.am deleted file mode 100644 index 354598d0c4..0000000000 --- a/randpkt_core/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -# Makefile.am -# Automake file for the "random packet generator" routines for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) - -noinst_LIBRARIES = librandpkt_core.a - -CLEANFILES = \ - doxygen-randpkt_core.tag \ - librandpkt_core.a \ - *~ - -# All sources that should be put in the source distribution tarball -librandpkt_core_a_SOURCES = \ - randpkt_core.c \ - randpkt_core.h - -doxygen: -if HAVE_DOXYGEN - $(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -wsar_html: doxygen.cfg ../doxygen_global.cfg -if HAVE_DOXYGEN - (umask 022 ; $(DOXYGEN) doxygen.cfg) -endif - -checkapi: checkapi-base checkapi-todo - -checkapi-base: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \ - -sourcedir=$(srcdir) \ - $(librandpkt_core_a_SOURCES) - -checkapi-todo: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ - -sourcedir=$(srcdir) \ - $(librandpkt_core_a_SOURCES) - -EXTRA_DIST = \ - CMakeLists.txt \ - doxygen.cfg.in diff --git a/tools/Makefile.am b/tools/Makefile.am deleted file mode 100644 index 2bcb22722e..0000000000 --- a/tools/Makefile.am +++ /dev/null @@ -1,102 +0,0 @@ -# Makefile.am -# Automake file for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -SUBDIRS = lemon - -EXTRA_DIST = \ - asn2deb \ - asn2wrs.py \ - checkfiltername.pl \ - checkhf.pl \ - checklicenses.py \ - colorfilters2js.pl \ - commit-msg \ - compare-abis.sh \ - checkAPIs.pl \ - convert-proto-tree-new.awk \ - convert_expert_add_info_format.pl \ - convert_proto_tree_add_text.pl \ - cppcheck \ - debian-setup.sh \ - dfilter-test.py \ - dftestfiles \ - dftestlib \ - extract_asn1_from_spec.pl \ - fix-encoding-args.pl \ - fixhf.pl \ - ftsanity.py \ - fuzz-test.sh \ - gen-bugnote \ - generate-bacnet-vendors.py \ - generate-sysdig-event.py \ - Get-HardenFlags.ps1 \ - git-compare-abis.sh \ - git-export-release.sh \ - html2text.py \ - idl2deb \ - idl2wrs \ - indexcap.py \ - install_rpms_for_devel.sh \ - lex.py \ - licensecheck.pl \ - list_protos_in_cap.sh \ - macos-setup.sh \ - macos-setup-brew.sh \ - make-manuf \ - make-plugin-reg.py \ - make-sminmpec.pl \ - make-services.py \ - make-usb.py \ - make_charset_table.c \ - msnchat \ - ncp2222.py \ - netscreen2dump.py \ - npl \ - parse_xml2skinny_dissector.py \ - pidl \ - pkt-from-core.py \ - pre-commit \ - pre-commit-ignore.conf \ - pre-commit-ignore.py \ - process-x11-fields.pl \ - process-x11-xcb.pl \ - randpkt-test.sh \ - rdps.py \ - rpm_setup.sh \ - test-common.sh \ - test-captures.sh \ - textify.ps1 \ - usb-ptp-extract-models.pl \ - usb-ptp-extract-models.txt \ - valgrind-wireshark.sh \ - validate-diameter-xml.sh \ - vg-suppressions \ - win-setup.ps1 \ - wireshark_be.py \ - wireshark_gen.py \ - WiresharkXML.py \ - ws-coding-style.cfg \ - yacc.py - -CLEANFILES = \ - *.pyc diff --git a/tools/asn2deb b/tools/asn2deb index a154d47f7b..70bb419593 100755 --- a/tools/asn2deb +++ b/tools/asn2deb @@ -27,12 +27,6 @@ options = {'asn': None, 'preserve': 0, 'version': 0} -def bootstrap(): - """Generate Makefile.in and configure script.""" - os.system("aclocal-1.7") - os.system("autoconf") - os.system("automake-1.7 --add-missing --copy --foreign") - def create_file(filename, content, mode = None): """Create a file with given content.""" global options @@ -47,27 +41,6 @@ def create_file(filename, content, mode = None): def create_files(version, deb, email, asn, name, iso, rfc): """Create all files for the .deb build process.""" base = asn.lower()[:-5] - create_file("Makefile.am", """# - -BUILT_SOURCES = %s.tt -asn1ttdir = $(datadir)/wireshark/asn1 -asn1tt_DATA = %s.tt - -%s.tt: """ % ((base,) * 3) + asn + """ - snacc -u /usr/include/snacc/asn1/asn-useful.asn1 -T $@ $< -""") - - create_file("configure.ac", """AC_INIT(%s, 1.0) -AM_INIT_AUTOMAKE -AM_MAINTAINER_MODE -AC_PROG_INSTALL -SNACC=\"`type -p snacc`\" -AC_SUBST(SNACC) -dnl WIRESHARK_VERSION=\"%s\" -dnl plugindir=\"$prefix/share/wireshark/asn.1\" -dnl AC_SUBST(plugindir) -AC_OUTPUT([Makefile]) -""" % (base, version)) if not os.path.isdir("debian"): os.mkdir("debian") @@ -143,7 +116,6 @@ def main(): create_files(version, deb, options['email'], options['asn'], options['name'], iso, rfc) - bootstrap() os.system("dpkg-buildpackage " + options['dbopts']) def process_opts(argv): diff --git a/tools/idl2deb b/tools/idl2deb index 655891b8cf..00e4c1fc26 100755 --- a/tools/idl2deb +++ b/tools/idl2deb @@ -4,10 +4,6 @@ # Debian GNU/Linux packages from idl2wrs modules for Wireshark. # Copyright 2003, 2008, W. Martin Borgert -# Makefile.am and configure.ac code by: -# Copyright 2001, Ericsson Inc. -# Frank Singleton -# # Wireshark - Network traffic analyzer # By Gerald Combs # Copyright 1998 Gerald Combs @@ -24,13 +20,6 @@ scriptinfo = """idl2deb version 2008-03-10 Copyright 2003, 2008, W. Martin Borgert Free software, released under the terms of the GPL.""" -def bootstrap(): - """Generate Makefile.in and configure script.""" - os.system("aclocal") - os.system("autoconf") - os.system("libtoolize --automake --copy --force") - os.system("automake --add-missing --copy --foreign") - def create_file(preserve, filename, content, mode = None): """Create a file with given content.""" if preserve and os.path.isfile(filename): @@ -44,57 +33,6 @@ def create_file(preserve, filename, content, mode = None): def create_files(version, deb, email, idl, name, preserve, iso, rfc): """Create all files for the .deb build process.""" base = os.path.basename(idl.lower().split(".idl")[0]) - create_file(preserve, "Makefile.am", """# - -plugindir = @plugindir@ - -plugin_LTLIBRARIES = %s.la -%s_la_SOURCES = packet-%s.c -%s_la_LDFLAGS = -module -avoid-version - -GLIB_CFLAGS = `pkg-config --cflags glib-2.0` -GLIB_LIBS = `pkg-config --libs glib-2.0` -BUILT_SOURCES = packet-%s.c -INCLUDES = -DHAVE_CONFIG -DHAVE_SYS_TYPES_H -DHAVE_SYS_TIME_H \\ - -DHAVE_STDARG_H -D_U_=\"__attribute__((unused))\" \\ - -I/usr/include/wireshark -DWS_VAR_IMPORT=extern $(GLIB_CFLAGS) -LDADD = $(GLIB_LIBS) - -# Libs must be cleared, or else libtool won't create a shared module. -# If your module needs to be linked against any particular libraries, -# add them here. -LIBS = - -%s_la_DEPENDENCIES = packet-%s-static.o - -packet-%s-static.o: packet-%s.c - $(LTCOMPILE) -c -o packet-%s-static.o \\ - -D__WIRESHARK_STATIC__ packet-%s.c - -packet-%s.c: """ % ((base,) * 12) + idl + """ - $(IDL2WRS) -I. $< > $@ -""") - - create_file(preserve, "configure.ac", """AC_INIT(%s, 1.0) -AC_PROG_LIBTOOL -AM_INIT_AUTOMAKE -AM_MAINTAINER_MODE -AC_PROG_CC -AC_STDC_HEADERS -AC_PROG_INSTALL -AC_SUBST(CFLAGS) -AC_SUBST(CPPFLAGS) -AC_SUBST(LDFLAGS) -PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.2.2) -AC_SUBST(GLIB_CFLAGS) -AC_SUBST(GLIB_LIBS) -IDL2WRS=\"`type -p idl2wrs`\" -AC_SUBST(IDL2WRS) -WIRESHARK_VERSION=\"%s\" -plugindir=\"$libdir/wireshark/plugins/$WIRESHARK_VERSION\" -AC_SUBST(plugindir) -AC_OUTPUT([Makefile]) -""" % (base, version)) if not os.path.isdir("debian"): os.mkdir("debian") @@ -170,7 +108,6 @@ def main(): create_files(version, deb, opts.email, opts.idl, opts.name, opts.preserve, iso, rfc) - bootstrap() os.system("dpkg-buildpackage " + opts.dbopts) def process_opts(argv): diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am deleted file mode 100644 index 29f2d033f3..0000000000 --- a/tools/lemon/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# Copyright 2001 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -# We produce an archive library. In the future, when libwireshark is a -# shared library, this will be linked into libwireshark. While libwireshark -# is an archive library, any executable linking against libwireshark will -# also need to link against libftypes. - -AUTOMAKE_OPTIONS = -Wno-gnu - -CC = $(CC_FOR_BUILD) -CPPFLAGS = $(CPPFLAGS_FOR_BUILD) $(NO_SANITIZE_CFLAGS) -CFLAGS = $(CFLAGS_FOR_BUILD) $(NO_SANITIZE_CFLAGS) -LDFLAGS = $(LDFLAGS_FOR_BUILD) $(NO_SANITIZE_LDFLAGS) -LIBS = - -AM_CPPFLAGS = -I$(top_srcdir) -AM_CFLAGS = $(WS_CFLAGS_FOR_BUILD) - -noinst_PROGRAMS = lemon - -EXTRA_DIST = \ - cppmagic.h \ - lemon.html \ - lemonflex-head.inc \ - lemonflex-tail.inc \ - lempar.c \ - README \ - CMakeLists.txt diff --git a/ui/Makefile.am b/ui/Makefile.am deleted file mode 100644 index fc90967b79..0000000000 --- a/ui/Makefile.am +++ /dev/null @@ -1,210 +0,0 @@ -# Makefile.am -# Automake file for the common-to-all-toolkits user interface routines -# for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -# The installation location and DOC_DIR in ui/help_url.c must match. -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) -DDOC_DIR=\"$(docdir)\" \ - $(GLIB_CFLAGS) $(PCAP_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) - -noinst_LIBRARIES = libui.a libui_generated.a - -# Generated header files that we want in the distribution. -GENERATED_HEADER_FILES = \ - text_import_scanner_lex.h - -# Generated C source files that we want in the distribution. -GENERATED_C_FILES = \ - text_import_scanner.c - -# All the generated files we want in the distribution. -GENERATED_FILES = \ - $(GENERATED_HEADER_FILES) \ - $(GENERATED_C_FILES) - -# Files that generate compileable files -GENERATOR_FILES = \ - text_import_scanner.l - -WIRESHARK_UI_SRC = \ - alert_box.c \ - capture.c \ - capture_ui_utils.c \ - commandline.c \ - console.c \ - decode_as_utils.c \ - dissect_opts.c \ - export_object_ui.c \ - export_pdu_ui_utils.c \ - failure_message.c \ - file_dialog.c \ - filter_files.c \ - firewall_rules.c \ - iface_toolbar.c \ - iface_lists.c \ - io_graph_item.c \ - language.c \ - help_url.c \ - mcast_stream.c \ - packet_list_utils.c \ - packet_range.c \ - persfilepath_opt.c \ - preference_utils.c \ - profile.c \ - proto_hier_stats.c \ - recent.c \ - rtp_media.c \ - rtp_stream.c \ - service_response_time.c \ - software_update.c \ - ssl_key_export.c \ - summary.c \ - tap_export_pdu.c \ - tap-iax2-analysis.c \ - tap-rlc-graph.c \ - tap-rtp-common.c \ - tap-sctp-analysis.c \ - tap-tcp-stream.c \ - text_import.c \ - time_shift.c \ - traffic_table_ui.c \ - util.c \ - voip_calls.c - -WIRESHARK_UI_INCLUDES = \ - alert_box.h \ - all_files_wildcard.h \ - capture.h \ - capture_globals.h \ - capture_ui_utils.h \ - commandline.h \ - console.h \ - decode_as_utils.h \ - dissect_opts.h \ - export_object_ui.h \ - export_pdu_ui_utils.h \ - last_open_dir.h \ - failure_message.h \ - file_dialog.h \ - filter_files.h \ - help_url.h \ - packet_list_utils.h \ - firewall_rules.h \ - iface_toolbar.h \ - iface_lists.h \ - io_graph_item.h \ - language.h \ - mcast_stream.h \ - main_statusbar.h \ - packet_range.h \ - persfilepath_opt.h \ - preference_utils.h \ - profile.h \ - progress_dlg.h \ - proto_hier_stats.h \ - recent.h \ - recent_utils.h \ - rtp_media.h \ - rtp_stream.h \ - service_response_time.h \ - simple_dialog.h \ - software_update.h \ - ssl_key_export.h \ - summary.h \ - tap_export_pdu.h \ - tap-iax2-analysis.h \ - tap-rlc-graph.h \ - tap-rtp-analysis.h \ - tap-rtp-common.h \ - tap-sctp-analysis.h \ - tap-tcp-stream.h \ - taps.h \ - text_import.h \ - text_import_scanner.h \ - time_shift.h \ - traffic_table_ui.h \ - ws_ui_util.h \ - util.h \ - voip_calls.h - -# All sources that should be put in the source distribution tarball -libui_a_SOURCES = \ - $(WIRESHARK_UI_SRC) \ - $(WIRESHARK_UI_INCLUDES) - -libui_generated_a_SOURCES = $(GENERATED_FILES) - -libui_generated_a_CFLAGS = $(AM_CFLAGS) - -EXTRA_DIST = \ - $(GENERATOR_FILES) \ - CMakeLists.txt \ - doxygen.cfg.in \ - win32 - -BUILT_SOURCES = $(GENERATED_HEADER_FILES) - -# -# This is used to build dumpcap, and dumpcap is, if possible, built as -# a position-independent executable (for address space layout randomization, -# as it might be running with extra privileges), so this library needs -# to be built that way as well. -# -libui_a_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS) - -noinst_PROGRAMS = make-taps - -make_taps_CFLAGS = $(WS_CPPFLAGS) $(GLIB_CFLAGS) - -make_taps_LDADD = \ - $(GLIB_LIBS) \ - ${top_builddir}/wsutil/libwsutil.la - -CLEANFILES = \ - doxygen-ui.tag - -MAINTAINERCLEANFILES = \ - $(GENERATED_FILES) - -text_import_scanner_lex.h: text_import_scanner.c - -doxygen: -if HAVE_DOXYGEN - $(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -wsar_html: doxygen.cfg ../doxygen_global.cfg -if HAVE_DOXYGEN - (umask 022 ; $(DOXYGEN) doxygen.cfg) -endif - -checkapi: checkapi-base checkapi-todo - -checkapi-base: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \ - -sourcedir=$(srcdir) \ - $(WIRESHARK_UI_SRC) - -checkapi-todo: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ - -sourcedir=$(srcdir) \ - $(WIRESHARK_UI_SRC) diff --git a/ui/cli/Makefile.am b/ui/cli/Makefile.am deleted file mode 100644 index 8cac1601c9..0000000000 --- a/ui/cli/Makefile.am +++ /dev/null @@ -1,96 +0,0 @@ -# Makefile.am -# Automake file for the TShark taps -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) \ - $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) - -noinst_LIBRARIES = libcliui.a - -# Generated files not in the distribution. -NODIST_GENERATED_FILES = \ - tshark-tap-register.c - -# sources for TShark taps -TSHARK_TAP_SRC = \ - tap-camelsrt.c \ - tap-comparestat.c \ - tap-diameter-avp.c \ - tap-endpoints.c \ - tap-endpoints.c \ - tap-expert.c \ - tap-exportobject.c \ - tap-flow.c \ - tap-follow.c \ - tap-funnel.c \ - tap-gsm_astat.c \ - tap-hosts.c \ - tap-httpstat.c \ - tap-icmpstat.c \ - tap-icmpv6stat.c \ - tap-iostat.c \ - tap-iousers.c \ - tap-macltestat.c \ - tap-protocolinfo.c \ - tap-protohierstat.c \ - tap-rlcltestat.c \ - tap-rpcprogs.c \ - tap-rtd.c \ - tap-rtp.c \ - tap-rtspstat.c \ - tap-sctpchunkstat.c \ - tap-simple_stattable.c \ - tap-sipstat.c \ - tap-smbsids.c \ - tap-srt.c \ - tap-stats_tree.c \ - tap-sv.c \ - tap-wspstat.c - -noinst_HEADERS = \ - tap-exportobject.h \ - tshark-tap.h - -# All sources that should be put in the source distribution tarball -libcliui_a_SOURCES = \ - $(TSHARK_TAP_SRC) - -nodist_libcliui_a_SOURCES = \ - $(NODIST_GENERATED_FILES) - -EXTRA_DIST = \ - .editorconfig - -DISTCLEANFILES = \ - $(NODIST_GENERATED_FILES) - -tshark-tap-register.c: $(TSHARK_TAP_SRC) ../make-taps - $(AM_V_GEN)../make-taps $@ $(filter %.c,$^) - -doxygen: -if HAVE_DOXYGEN - $(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -build \ - -sourcedir=$(srcdir) $(TSHARK_TAP_SRC) diff --git a/ui/qt/Makefile.am b/ui/qt/Makefile.am deleted file mode 100644 index cf84267c76..0000000000 --- a/ui/qt/Makefile.am +++ /dev/null @@ -1,1018 +0,0 @@ -# Makefile.am -# Automake file for the Qt interface routines for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) $(Qt_CFLAGS) - -if HAVE_SPEEXDSP -AM_CPPFLAGS += $(SPEEXDSP_CFLAGS) -endif - -noinst_LIBRARIES = libqtui.a - -include Makefile_custom.common - -# Generated header files that we want in the distribution. -GENERATED_HEADER_FILES = - -# Generated header files that we don't want in the distribution. -NODIST_GENERATED_HEADER_FILES = \ - ui_about_dialog.h \ - ui_address_editor_frame.h \ - ui_bluetooth_att_server_attributes_dialog.h \ - ui_bluetooth_device_dialog.h \ - ui_bluetooth_devices_dialog.h \ - ui_bluetooth_hci_summary_dialog.h \ - ui_capture_file_properties_dialog.h \ - ui_capture_interfaces_dialog.h \ - ui_capture_preferences_frame.h \ - ui_coloring_rules_dialog.h \ - ui_column_preferences_frame.h \ - ui_column_editor_frame.h \ - ui_compiled_filter_output.h \ - ui_conversation_hash_tables_dialog.h \ - ui_decode_as_dialog.h \ - ui_display_filter_expression_dialog.h \ - ui_dissector_tables_dialog.h \ - ui_enabled_protocols_dialog.h \ - ui_expert_info_dialog.h \ - ui_export_object_dialog.h \ - ui_export_pdu_dialog.h \ - ui_extcap_options_dialog.h \ - ui_file_set_dialog.h \ - ui_filter_dialog.h \ - ui_filter_expression_frame.h \ - ui_firewall_rules_dialog.h \ - ui_follow_stream_dialog.h \ - ui_font_color_preferences_frame.h \ - ui_funnel_string_dialog.h \ - ui_funnel_text_dialog.h \ - ui_gsm_map_summary_dialog.h \ - ui_iax2_analysis_dialog.h \ - ui_import_text_dialog.h \ - ui_interface_frame.h \ - ui_interface_toolbar.h \ - ui_io_graph_dialog.h \ - ui_layout_preferences_frame.h \ - ui_lbm_lbtrm_transport_dialog.h \ - ui_lbm_lbtru_transport_dialog.h \ - ui_lbm_stream_dialog.h \ - ui_lbm_uimflow_dialog.h \ - ui_lte_rlc_graph_dialog.h \ - ui_main_welcome.h \ - ui_main_window.h \ - ui_main_window_preferences_frame.h \ - ui_manage_interfaces_dialog.h \ - ui_module_preferences_scroll_area.h \ - ui_mtp3_summary_dialog.h \ - ui_overlay_scroll_bar.h \ - ui_packet_comment_dialog.h \ - ui_packet_dialog.h \ - ui_packet_format_group_box.h \ - ui_packet_range_group_box.h \ - ui_preference_editor_frame.h \ - ui_preferences_dialog.h \ - ui_print_dialog.h \ - ui_profile_dialog.h \ - ui_progress_frame.h \ - ui_protocol_hierarchy_dialog.h \ - ui_remote_capture_dialog.h \ - ui_remote_settings_dialog.h \ - ui_resolved_addresses_dialog.h \ - ui_rtp_analysis_dialog.h \ - ui_rtp_player_dialog.h \ - ui_rtp_stream_dialog.h \ - ui_sctp_all_assocs_dialog.h \ - ui_sctp_assoc_analyse_dialog.h \ - ui_sctp_chunk_statistics_dialog.h \ - ui_sctp_graph_dialog.h \ - ui_sctp_graph_arwnd_dialog.h \ - ui_sctp_graph_byte_dialog.h \ - ui_search_frame.h \ - ui_sequence_dialog.h \ - ui_show_packet_bytes_dialog.h \ - ui_splash_overlay.h \ - ui_supported_protocols_dialog.h \ - ui_tap_parameter_dialog.h \ - ui_tcp_stream_dialog.h \ - ui_time_shift_dialog.h \ - ui_traffic_table_dialog.h \ - ui_uat_dialog.h \ - ui_uat_frame.h \ - ui_voip_calls_dialog.h \ - ui_wireless_frame.h - - -# Generated C source files that we want in the distribution. -GENERATED_C_FILES = - -# Generated C source files that we don't want in the distribution. -NODIST_GENERATED_C_FILES = \ - wireshark-tap-register.c - -# Generated C++ source files that we want in the distribution. -GENERATED_CPP_FILES = - -# Generated C++ source files that we don't want in the distribution. -NODIST_GENERATED_CPP_FILES = \ - $(MOC_SRC) \ - $(QRC_SRC) - -# All the generated files we want in the distribution. -GENERATED_FILES = \ - $(GENERATED_HEADER_FILES) \ - $(GENERATED_C_FILES) \ - $(GENERATED_CPP_FILES) - -# All the generated files we don't want in the distribution. -NODIST_GENERATED_FILES = \ - $(NODIST_GENERATED_HEADER_FILES) \ - $(NODIST_GENERATED_C_FILES) \ - $(NODIST_GENERATED_CPP_FILES) - -# Files that generate compileable files -GENERATOR_FILES = - -# Files that are basic widgets for every tool to be used -MOC_WIDGET_HDRS = \ - widgets/additional_toolbar.h \ - widgets/apply_line_edit.h \ - widgets/byte_view_text.h \ - widgets/capture_filter_combo.h \ - widgets/capture_filter_edit.h \ - widgets/clickable_label.h \ - widgets/display_filter_combo.h \ - widgets/display_filter_edit.h \ - widgets/dissector_tables_view.h \ - widgets/drag_drop_toolbar.h \ - widgets/drag_label.h \ - widgets/editor_color_dialog.h \ - widgets/editor_file_dialog.h \ - widgets/elided_label.h \ - widgets/expert_info_view.h \ - widgets/export_objects_view.h \ - widgets/field_filter_edit.h \ - widgets/find_line_edit.h \ - widgets/follow_stream_text.h \ - widgets/interface_toolbar_lineedit.h \ - widgets/label_stack.h \ - widgets/overlay_scroll_bar.h \ - widgets/pref_module_view.h \ - widgets/range_syntax_lineedit.h \ - widgets/syntax_line_edit.h \ - widgets/stock_icon_tool_button.h \ - widgets/tabnav_tree_view.h \ - widgets/qcustomplot.h - - -# Files that are general manager classes with -MOC_MANAGER_HDRS = \ - manager/preference_manager.h \ - manager/wireshark_preference.h - -# Files that are utility classes with multi-purpose, but no widgets -MOC_UTILS_HDRS = \ - utils/color_utils.h \ - utils/data_printer.h \ - utils/field_information.h \ - utils/frame_information.h \ - utils/idata_printable.h \ - utils/proto_node.h \ - utils/qt_ui_utils.h \ - utils/stock_icon.h \ - utils/variant_pointer.h \ - utils/wireshark_mime_data.h - -# Files for delegates and models -MOC_MODELS_HDRS = \ - models/astringlist_list_model.h \ - models/cache_proxy_model.h \ - models/coloring_rules_delegate.h \ - models/coloring_rules_model.h \ - models/decode_as_delegate.h \ - models/decode_as_model.h \ - models/dissector_tables_model.h \ - models/enabled_protocols_model.h \ - models/expert_info_model.h \ - models/expert_info_proxy_model.h \ - models/export_objects_model.h \ - models/fileset_entry_model.h \ - models/info_proxy_model.h \ - models/interface_sort_filter_model.h \ - models/interface_tree_cache_model.h \ - models/interface_tree_model.h \ - models/numeric_value_chooser_delegate.h \ - models/packet_list_model.h \ - models/packet_list_record.h \ - models/path_chooser_delegate.h \ - models/percent_bar_delegate.h \ - models/pref_delegate.h \ - models/pref_models.h \ - models/proto_tree_model.h \ - models/related_packet_delegate.h \ - models/sparkline_delegate.h \ - models/supported_protocols_model.h \ - models/timeline_delegate.h \ - models/tree_model_helpers.h \ - models/uat_delegate.h \ - models/uat_model.h \ - models/url_link_delegate.h \ - models/voip_calls_info_model.h - - -# -# Headers that have to be run through moc. -# -MOC_HDRS = \ - about_dialog.h \ - accordion_frame.h \ - address_editor_frame.h \ - bluetooth_att_server_attributes_dialog.h \ - bluetooth_device_dialog.h \ - bluetooth_devices_dialog.h \ - bluetooth_hci_summary_dialog.h \ - byte_view_tab.h \ - capture_file.h \ - capture_file_dialog.h \ - capture_file_properties_dialog.h \ - capture_filter_syntax_worker.h \ - capture_info_dialog.h \ - capture_interfaces_dialog.h \ - capture_preferences_frame.h \ - coloring_rules_dialog.h \ - column_preferences_frame.h \ - column_editor_frame.h \ - compiled_filter_output.h \ - conversation_colorize_action.h \ - conversation_dialog.h \ - conversation_hash_tables_dialog.h \ - decode_as_dialog.h \ - display_filter_expression_dialog.h \ - dissector_tables_dialog.h \ - enabled_protocols_dialog.h \ - endpoint_dialog.h \ - expert_info_dialog.h \ - export_dissection_dialog.h \ - export_object_action.h \ - export_object_dialog.h \ - export_pdu_dialog.h \ - extcap_argument.h \ - extcap_argument_file.h \ - extcap_argument_multiselect.h \ - extcap_options_dialog.h \ - file_set_dialog.h \ - filter_action.h \ - filter_dialog.h \ - filter_expression_frame.h \ - firewall_rules_dialog.h \ - follow_stream_dialog.h \ - font_color_preferences_frame.h \ - funnel_string_dialog.h \ - funnel_text_dialog.h \ - funnel_statistics.h \ - geometry_state_dialog.h \ - gsm_map_summary_dialog.h \ - iax2_analysis_dialog.h \ - import_text_dialog.h \ - interface_frame.h \ - interface_toolbar.h \ - interface_toolbar_reader.h \ - io_graph_dialog.h \ - layout_preferences_frame.h \ - lbm_lbtrm_transport_dialog.h \ - lbm_lbtru_transport_dialog.h \ - lbm_stream_dialog.h \ - lte_mac_statistics_dialog.h \ - lte_rlc_graph_dialog.h \ - lte_rlc_statistics_dialog.h \ - main_status_bar.h \ - main_welcome.h \ - main_window.h \ - main_window_preferences_frame.h \ - manage_interfaces_dialog.h \ - module_preferences_scroll_area.h \ - multicast_statistics_dialog.h \ - mtp3_summary_dialog.h \ - packet_comment_dialog.h \ - packet_dialog.h \ - packet_format_group_box.h \ - packet_list.h \ - packet_range_group_box.h \ - preference_editor_frame.h \ - preferences_dialog.h \ - print_dialog.h \ - profile_dialog.h \ - progress_frame.h \ - proto_tree.h \ - protocol_hierarchy_dialog.h \ - protocol_preferences_menu.h \ - recent_file_status.h \ - remote_capture_dialog.h \ - remote_settings_dialog.h \ - resolved_addresses_dialog.h \ - response_time_delay_dialog.h \ - rpc_service_response_time_dialog.h \ - rtp_analysis_dialog.h \ - rtp_audio_stream.h \ - rtp_player_dialog.h \ - rtp_stream_dialog.h \ - scsi_service_response_time_dialog.h \ - sctp_all_assocs_dialog.h \ - sctp_assoc_analyse_dialog.h \ - search_frame.h \ - sctp_chunk_statistics_dialog.h \ - sctp_graph_dialog.h \ - sctp_graph_arwnd_dialog.h \ - sctp_graph_byte_dialog.h \ - search_frame.h \ - sequence_diagram.h \ - sequence_dialog.h \ - service_response_time_dialog.h \ - show_packet_bytes_dialog.h \ - simple_statistics_dialog.h \ - splash_overlay.h \ - stats_tree_dialog.h \ - supported_protocols_dialog.h \ - tabnav_tree_widget.h \ - tap_parameter_dialog.h \ - tcp_stream_dialog.h \ - time_shift_dialog.h \ - traffic_table_dialog.h \ - uat_dialog.h \ - uat_frame.h \ - voip_calls_dialog.h \ - wireless_frame.h \ - wireless_timeline.h \ - wireshark_application.h \ - wireshark_dialog.h \ - wlan_statistics_dialog.h \ - $(MOC_WIDGET_HDRS) \ - $(MOC_MANAGER_HDRS) \ - $(MOC_UTILS_HDRS) \ - $(MOC_MODELS_HDRS) - -# -# .ui files. -# -UI_FILES = \ - about_dialog.ui \ - address_editor_frame.ui \ - bluetooth_att_server_attributes_dialog.ui \ - bluetooth_device_dialog.ui \ - bluetooth_devices_dialog.ui \ - bluetooth_hci_summary_dialog.ui \ - capture_file_properties_dialog.ui \ - capture_interfaces_dialog.ui \ - capture_preferences_frame.ui \ - coloring_rules_dialog.ui \ - column_preferences_frame.ui \ - column_editor_frame.ui \ - compiled_filter_output.ui \ - conversation_hash_tables_dialog.ui \ - decode_as_dialog.ui \ - display_filter_expression_dialog.ui \ - dissector_tables_dialog.ui \ - enabled_protocols_dialog.ui \ - expert_info_dialog.ui \ - export_object_dialog.ui \ - export_pdu_dialog.ui \ - extcap_options_dialog.ui \ - file_set_dialog.ui \ - filter_dialog.ui \ - filter_expression_frame.ui \ - firewall_rules_dialog.ui \ - follow_stream_dialog.ui \ - font_color_preferences_frame.ui \ - funnel_string_dialog.ui \ - funnel_text_dialog.ui \ - gsm_map_summary_dialog.ui \ - iax2_analysis_dialog.ui \ - import_text_dialog.ui \ - interface_frame.ui \ - interface_toolbar.ui \ - io_graph_dialog.ui \ - layout_preferences_frame.ui \ - lbm_lbtrm_transport_dialog.ui \ - lbm_lbtru_transport_dialog.ui \ - lbm_stream_dialog.ui \ - lte_rlc_graph_dialog.ui \ - main_welcome.ui \ - main_window.ui \ - main_window_preferences_frame.ui \ - manage_interfaces_dialog.ui \ - module_preferences_scroll_area.ui \ - mtp3_summary_dialog.ui \ - packet_format_group_box.ui \ - packet_range_group_box.ui \ - packet_comment_dialog.ui \ - packet_dialog.ui \ - preference_editor_frame.ui \ - preferences_dialog.ui \ - print_dialog.ui \ - profile_dialog.ui \ - progress_frame.ui \ - protocol_hierarchy_dialog.ui \ - remote_capture_dialog.ui \ - remote_settings_dialog.ui \ - resolved_addresses_dialog.ui \ - rtp_analysis_dialog.ui \ - rtp_player_dialog.ui \ - rtp_stream_dialog.ui \ - sctp_all_assocs_dialog.ui \ - sctp_assoc_analyse_dialog.ui \ - sctp_chunk_statistics_dialog.ui \ - sctp_graph_dialog.ui \ - sctp_graph_arwnd_dialog.ui \ - sctp_graph_byte_dialog.ui \ - search_frame.ui \ - sequence_dialog.ui \ - show_packet_bytes_dialog.ui \ - splash_overlay.ui \ - supported_protocols_dialog.ui \ - tap_parameter_dialog.ui \ - tcp_stream_dialog.ui \ - time_shift_dialog.ui \ - traffic_table_dialog.ui \ - uat_dialog.ui \ - uat_frame.ui \ - voip_calls_dialog.ui \ - wireless_frame.ui - -# -# The .moc.cpp files generated from them. -# We do *not* include these in the distribution; if you have the Qt SDK -# installed, so that you can build Qt-based applications, you have moc -# installed. -# -MOC_SRC = $(MOC_HDRS:.h=.moc.cpp) - -# -# .qrc files. -# -# Should QRC_FILES or QRC_SRC depend on QRC_IMAGES? -QRC_FILES = \ - ../../image/about.qrc \ - ../../image/languages/languages.qrc \ - ../../image/layout.qrc \ - ../../image/stock_icons.qrc \ - ../../image/wsicon.qrc - -# -# The .cpp files generated from them. -# We do *not* include these in the distribution; if you have the Qt SDK -# installed, so that you can build Qt-based applications, you have rcc -# installed. -# -QRC_SRC = \ - qrc_about.cpp \ - qrc_languages.cpp \ - qrc_layout.cpp \ - qrc_stock_icons.cpp \ - qrc_wsicon.cpp \ - qrc_i18n.cpp - -# -# .ts files. -# wireshark_en should be pluralonly. -# -TS_FILES = \ - wireshark_de.ts \ - wireshark_en.ts \ - wireshark_fr.ts \ - wireshark_it.ts \ - wireshark_ja_JP.ts \ - wireshark_pl.ts \ - wireshark_zh_CN.ts - -# -# .qm files. -# -QM_FILES = $(TS_FILES:.ts=.qm) - -WIRESHARK_QT_WIDGET_SRC = \ - widgets/additional_toolbar.cpp \ - widgets/apply_line_edit.cpp \ - widgets/byte_view_text.cpp \ - widgets/capture_filter_combo.cpp \ - widgets/capture_filter_edit.cpp \ - widgets/clickable_label.cpp \ - widgets/display_filter_combo.cpp \ - widgets/display_filter_edit.cpp \ - widgets/dissector_tables_view.cpp \ - widgets/drag_drop_toolbar.cpp \ - widgets/drag_label.cpp \ - widgets/editor_color_dialog.cpp \ - widgets/editor_file_dialog.cpp \ - widgets/elided_label.cpp \ - widgets/expert_info_view.cpp \ - widgets/export_objects_view.cpp \ - widgets/field_filter_edit.cpp \ - widgets/find_line_edit.cpp \ - widgets/follow_stream_text.cpp \ - widgets/interface_toolbar_lineedit.cpp \ - widgets/label_stack.cpp \ - widgets/overlay_scroll_bar.cpp \ - widgets/pref_module_view.cpp \ - widgets/stock_icon_tool_button.cpp \ - widgets/range_syntax_lineedit.cpp \ - widgets/syntax_line_edit.cpp \ - widgets/tabnav_tree_view.cpp \ - widgets/qcustomplot.cpp - -# Files that are general manager classes with -WIRESHARK_QT_MANAGER_SRC = \ - manager/preference_manager.cpp \ - manager/wireshark_preference.cpp - -WIRESHARK_QT_UTILS_SRC = \ - utils/color_utils.cpp \ - utils/data_printer.cpp \ - utils/field_information.cpp \ - utils/frame_information.cpp \ - utils/proto_node.cpp \ - utils/qt_ui_utils.cpp \ - utils/stock_icon.cpp \ - utils/wireshark_mime_data.cpp - -WIRESHARK_QT_MODELS_SRCS = \ - models/astringlist_list_model.cpp \ - models/cache_proxy_model.cpp \ - models/coloring_rules_delegate.cpp \ - models/coloring_rules_model.cpp \ - models/decode_as_delegate.cpp \ - models/decode_as_model.cpp \ - models/dissector_tables_model.cpp \ - models/enabled_protocols_model.cpp \ - models/expert_info_model.cpp \ - models/expert_info_proxy_model.cpp \ - models/export_objects_model.cpp \ - models/fileset_entry_model.cpp \ - models/info_proxy_model.cpp \ - models/interface_sort_filter_model.cpp \ - models/interface_tree_cache_model.cpp \ - models/interface_tree_model.cpp \ - models/numeric_value_chooser_delegate.cpp \ - models/packet_list_model.cpp \ - models/packet_list_record.cpp \ - models/path_chooser_delegate.cpp \ - models/percent_bar_delegate.cpp \ - models/pref_delegate.cpp \ - models/pref_models.cpp \ - models/proto_tree_model.cpp \ - models/related_packet_delegate.cpp \ - models/sparkline_delegate.cpp \ - models/supported_protocols_model.cpp \ - models/timeline_delegate.cpp \ - models/uat_model.cpp \ - models/uat_delegate.cpp \ - models/url_link_delegate.cpp \ - models/voip_calls_info_model.cpp - -WIRESHARK_QT_SRC = \ - about_dialog.cpp \ - accordion_frame.cpp \ - address_editor_frame.cpp \ - bluetooth_att_server_attributes_dialog.cpp \ - bluetooth_device_dialog.cpp \ - bluetooth_devices_dialog.cpp \ - bluetooth_hci_summary_dialog.cpp \ - byte_view_tab.cpp \ - capture_file.cpp \ - capture_file_dialog.cpp \ - capture_file_properties_dialog.cpp \ - capture_filter_syntax_worker.cpp \ - capture_info_dialog.cpp \ - capture_interfaces_dialog.cpp \ - capture_preferences_frame.cpp \ - coloring_rules_dialog.cpp \ - column_preferences_frame.cpp \ - column_editor_frame.cpp \ - compiled_filter_output.cpp \ - conversation_colorize_action.cpp \ - conversation_dialog.cpp \ - conversation_hash_tables_dialog.cpp \ - decode_as_dialog.cpp \ - display_filter_expression_dialog.cpp \ - dissector_tables_dialog.cpp \ - enabled_protocols_dialog.cpp \ - endpoint_dialog.cpp \ - export_dissection_dialog.cpp \ - export_object_action.cpp \ - export_object_dialog.cpp \ - export_pdu_dialog.cpp \ - extcap_argument.cpp \ - extcap_argument_file.cpp \ - extcap_argument_multiselect.cpp \ - extcap_options_dialog.cpp \ - file_set_dialog.cpp \ - filter_action.cpp \ - filter_dialog.cpp \ - filter_expression_frame.cpp \ - firewall_rules_dialog.cpp \ - follow_stream_dialog.cpp \ - font_color_preferences_frame.cpp \ - funnel_string_dialog.cpp \ - funnel_text_dialog.cpp \ - geometry_state_dialog.cpp \ - iax2_analysis_dialog.cpp \ - import_text_dialog.cpp \ - interface_frame.cpp \ - interface_toolbar.cpp \ - interface_toolbar_reader.cpp \ - layout_preferences_frame.cpp \ - lbm_lbtrm_transport_dialog.cpp \ - lbm_lbtru_transport_dialog.cpp \ - lbm_stream_dialog.cpp \ - lte_mac_statistics_dialog.cpp \ - lte_rlc_graph_dialog.cpp \ - lte_rlc_statistics_dialog.cpp \ - main_status_bar.cpp \ - main_welcome.cpp \ - main_window.cpp \ - main_window_preferences_frame.cpp \ - main_window_slots.cpp \ - manage_interfaces_dialog.cpp \ - module_preferences_scroll_area.cpp \ - packet_comment_dialog.cpp \ - packet_dialog.cpp \ - packet_format_group_box.cpp \ - packet_list.cpp \ - packet_range_group_box.cpp \ - preference_editor_frame.cpp \ - preferences_dialog.cpp \ - print_dialog.cpp \ - profile_dialog.cpp \ - progress_frame.cpp \ - proto_tree.cpp \ - protocol_hierarchy_dialog.cpp \ - protocol_preferences_menu.cpp \ - recent_file_status.cpp \ - remote_capture_dialog.cpp \ - remote_settings_dialog.cpp \ - resolved_addresses_dialog.cpp \ - response_time_delay_dialog.cpp \ - rpc_service_response_time_dialog.cpp \ - rtp_analysis_dialog.cpp \ - rtp_audio_stream.cpp \ - rtp_player_dialog.cpp \ - rtp_stream_dialog.cpp \ - scsi_service_response_time_dialog.cpp \ - sctp_all_assocs_dialog.cpp \ - sctp_assoc_analyse_dialog.cpp \ - sctp_chunk_statistics_dialog.cpp \ - sctp_graph_dialog.cpp \ - sctp_graph_arwnd_dialog.cpp \ - sctp_graph_byte_dialog.cpp \ - search_frame.cpp \ - sequence_diagram.cpp \ - sequence_dialog.cpp \ - service_response_time_dialog.cpp \ - show_packet_bytes_dialog.cpp \ - simple_dialog.cpp \ - simple_statistics_dialog.cpp \ - splash_overlay.cpp \ - supported_protocols_dialog.cpp \ - tabnav_tree_widget.cpp \ - tap_parameter_dialog.cpp \ - tcp_stream_dialog.cpp \ - time_shift_dialog.cpp \ - traffic_table_dialog.cpp \ - uat_dialog.cpp \ - uat_frame.cpp \ - voip_calls_dialog.cpp \ - wireless_frame.cpp \ - wireless_timeline.cpp \ - wireshark_application.cpp \ - wireshark_dialog.cpp \ - $(WIRESHARK_QT_WIDGET_SRC) \ - $(WIRESHARK_QT_UTILS_SRC) \ - $(WIRESHARK_QT_MANAGER_SRC) \ - ${WIRESHARK_QT_MODELS_SRCS} - -WIRESHARK_QT_TAP_SRC = \ - expert_info_dialog.cpp \ - funnel_statistics.cpp \ - gsm_map_summary_dialog.cpp \ - io_graph_dialog.cpp \ - lte_mac_statistics_dialog.cpp \ - lte_rlc_statistics_dialog.cpp \ - mtp3_summary_dialog.cpp \ - multicast_statistics_dialog.cpp \ - rtp_stream_dialog.cpp \ - sctp_all_assocs_dialog.cpp \ - sctp_assoc_analyse_dialog.cpp \ - stats_tree_dialog.cpp \ - wlan_statistics_dialog.cpp - -noinst_HEADERS = \ - $(MOC_HDRS) \ - simple_dialog.h \ - models/packet_list_record.h \ - widgets/qcustomplot.h \ - utils/qt_ui_utils.h \ - utils/stock_icon.h \ - utils/tango_colors.h \ - utils/variant_pointer.h - - -wireshark-tap-register.c: $(WIRESHARK_QT_TAP_SRC) ../make-taps - $(AM_V_GEN)../make-taps $@ $(filter %.cpp,$^) - -libqtui_a_SOURCES = \ - $(WIRESHARK_QT_SRC) \ - $(WIRESHARK_QT_TAP_SRC) \ - $(GENERATED_C_FILES) \ - $(GENERATED_CPP_FILES) \ - $(noinst_HEADERS) \ - $(GENERATED_HEADER_FILES) - -nodist_libqtui_a_SOURCES = \ - $(NODIST_GENERATED_C_FILES) \ - $(NODIST_GENERATED_CPP_FILES) \ - $(NODIST_GENERATED_HEADER_FILES) - -CLEANFILES = \ - *.moc.cpp \ - qrc_*.cpp \ - ui_*.h - -DISTCLEANFILES = \ - $(NODIST_GENERATED_FILES) \ - $(QM_FILES) \ - i18n.qrc - -MAINTAINERCLEANFILES = \ - $(GENERATED_FILES) - -AM_V_MOC = $(am__v_MOC_@AM_V@) -am__v_MOC_ = $(am__v_MOC_@AM_DEFAULT_V@) -am__v_MOC_0 = @echo " MOC " $@; - -AM_V_RCC = $(am__v_RCC_@AM_V@) -am__v_RCC_ = $(am__v_RCC_@AM_DEFAULT_V@) -am__v_RCC_0 = @echo " RCC " $@; - -AM_V_UIC = $(am__v_UIC_@AM_V@) -am__v_UIC_ = $(am__v_UIC_@AM_DEFAULT_V@) -am__v_UIC_0 = @echo " UIC " $@; - -AM_V_LRELEASE = $(am__v_LRELEASE_@AM_V@) -am__v_LRELEASE_ = $(am__v_LRELEASE_@AM_DEFAULT_V@) -am__v_LRELEASE_0 = @echo " LRELEASE " $@; - -# -# For building .moc.cpp files from .h files by running moc, -# building .rcc.cpp files from .qrc files by running rcc, -# and building ui_XXX.h files from .ui files by running uic. -# -SUFFIXES = .moc.cpp - -# -# The Qt toolchain uses the naming convention moc_FOO.cpp. Should we do the same? -#moc_%.cpp: %.h -# $(MOC) $< -o $@ -# -.h.moc.cpp: - $(AM_V_MOC)$(MOC) $(MOC_OPTIONS) -I.. -I../.. $(INCLUDEDIRS) -o $@ $< - -qrc_about.cpp: ../../image/about.qrc - $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name about -o $@ $< - -qrc_layout.cpp: ../../image/layout.qrc - $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name layout -o $@ $< - -qrc_languages.cpp: ../../image/languages/languages.qrc - $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name languages -o $@ $< - -qrc_i18n.cpp: i18n.qrc - $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name i18n -o $@ $< - -qrc_stock_icons.cpp: ../../image/stock_icons.qrc - $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name stock_icons -o $@ $< - -qrc_wsicon.cpp: ../../image/wsicon.qrc - $(AM_V_RCC)$(RCC) $(RCC_OPTIONS) -name wsicon -o $@ $< - -ui_%.h: %.ui - $(AM_V_UIC)$(UIC) $< -o $@ - -wireshark_%.qm: wireshark_%.ts - $(AM_V_LRELEASE)$(LRELEASE) -silent $< -qm $@ - -i18n_qresource := $(foreach qm, $(QM_FILES),$(qm)) - -i18n.qrc: i18n.qrc.in $(QM_FILES) - $(AM_V_SED)$(SED) \ - -e 's,@i18n_qresource\@,$(i18n_qresource),' \ - -e 's,> *,>% ,g' \ - < $< | tr '%' '\n' > $@ - -# -# Explicit dependencies to force the ui_ headers to be built. -# See "Recording Dependencies manually" in the "Built Sources" -# section of the automake documentation: -# -# https://www.gnu.org/software/automake/manual/automake.html#Sources -# -about_dialog.$(OBJEXT): ui_about_dialog.h - -address_editor_frame.$(OBJEXT): ui_address_editor_frame.h - -bluetooth_att_server_attributes_dialog.$(OBJEXT): ui_bluetooth_att_server_attributes_dialog.h - -bluetooth_devices_dialog.$(OBJEXT): ui_bluetooth_devices_dialog.h - -bluetooth_device_dialog.$(OBJEXT): ui_bluetooth_device_dialog.h - -bluetooth_hci_summary_dialog.$(OBJEXT): ui_bluetooth_hci_summary_dialog.h - -capture_file_properties_dialog.$(OBJEXT): ui_capture_file_properties_dialog.h - -capture_interfaces_dialog.$(OBJEXT): ui_capture_interfaces_dialog.h - -capture_preferences_frame.$(OBJEXT): ui_capture_preferences_frame.h - -coloring_rules_dialog.$(OBJEXT): ui_coloring_rules_dialog.h - -column_editor_frame.$(OBJEXT): ui_column_editor_frame.h - -column_preferences_frame.$(OBJEXT): ui_column_preferences_frame.h - -compiled_filter_output.$(OBJEXT): ui_compiled_filter_output.h - -conversation_hash_tables_dialog.$(OBJEXT): ui_conversation_hash_tables_dialog.h - -decode_as_dialog.$(OBJEXT): ui_decode_as_dialog.h - -display_filter_expression_dialog.$(OBJEXT): ui_display_filter_expression_dialog.h - -dissector_tables_dialog.$(OBJEXT): ui_dissector_tables_dialog.h - -enabled_protocols_dialog.$(OBJEXT): ui_enabled_protocols_dialog.h - -expert_info_dialog.$(OBJEXT): ui_expert_info_dialog.h - -export_object_dialog.$(OBJEXT): ui_export_object_dialog.h - -export_pdu_dialog.$(OBJEXT): ui_export_pdu_dialog.h - -extcap_options_dialog.$(OBJEXT): ui_extcap_options_dialog.h - -file_set_dialog.$(OBJEXT): ui_file_set_dialog.h - -filter_dialog.$(OBJEXT): ui_filter_dialog.h - -filter_expression_frame.$(OBJEXT): ui_filter_expression_frame.h - -firewall_rules_dialog.$(OBJEXT): ui_firewall_rules_dialog.h - -follow_stream_dialog.$(OBJEXT): ui_follow_stream_dialog.h - -font_color_preferences_frame.$(OBJEXT): ui_font_color_preferences_frame.h - -funnel_string_dialog.$(OBJEXT): ui_funnel_string_dialog.h - -funnel_text_dialog.$(OBJEXT): ui_funnel_text_dialog.h - -gsm_map_summary_dialog.$(OBJEXT): ui_gsm_map_summary_dialog.h - -iax2_analysis_dialog.$(OBJEXT): ui_iax2_analysis_dialog.h - -import_text_dialog.$(OBJEXT): ui_import_text_dialog.h - -io_graph_dialog.$(OBJEXT): ui_io_graph_dialog.h - -interface_frame.$(OBJEXT): ui_interface_frame.h - -interface_toolbar.$(OBJEXT): ui_interface_toolbar.h - -layout_preferences_frame.$(OBJEXT): ui_layout_preferences_frame.h - -lbm_lbtrm_transport_dialog.$(OBJEXT): ui_lbm_lbtrm_transport_dialog.h - -lbm_lbtru_transport_dialog.$(OBJEXT): ui_lbm_lbtru_transport_dialog.h - -lbm_stream_dialog.$(OBJEXT): ui_lbm_stream_dialog.h - -lte_rlc_graph_dialog.$(OBJEXT): ui_lte_rlc_graph_dialog.h - -main_welcome.$(OBJEXT): ui_main_welcome.h - -main_window.$(OBJEXT): ui_main_window.h - -main_window_preferences_frame.$(OBJEXT): ui_main_window_preferences_frame.h - -main_window_slots.$(OBJEXT): ui_main_window.h - -manage_interfaces_dialog.$(OBJEXT): ui_manage_interfaces_dialog.h - -module_preferences_scroll_area.$(OBJEXT): ui_module_preferences_scroll_area.h - -mtp3_summary_dialog.$(OBJEXT): ui_mtp3_summary_dialog.h - -packet_comment_dialog.$(OBJEXT): ui_packet_comment_dialog.h - -packet_dialog.$(OBJEXT): ui_packet_dialog.h - -packet_format_group_box.$(OBJEXT): ui_packet_format_group_box.h - -packet_range_group_box.$(OBJEXT): ui_packet_range_group_box.h - -preference_editor_frame.$(OBJEXT): ui_preference_editor_frame.h - -preferences_dialog.$(OBJEXT): ui_preferences_dialog.h - -print_dialog.$(OBJEXT): ui_print_dialog.h - -progress_frame.$(OBJEXT): ui_progress_frame.h - -profile_dialog.$(OBJEXT): ui_profile_dialog.h - -protocol_hierarchy_dialog.$(OBJEXT): ui_protocol_hierarchy_dialog.h - -remote_capture_dialog.$(OBJEXT): ui_remote_capture_dialog.h - -remote_settings_dialog.$(OBJEXT): ui_remote_settings_dialog.h - -resolved_addresses_dialog.$(OBJEXT): ui_resolved_addresses_dialog.h - -rtp_analysis_dialog.$(OBJEXT): ui_rtp_analysis_dialog.h - -rtp_player_dialog.$(OBJEXT): ui_rtp_player_dialog.h - -rtp_stream_dialog.$(OBJEXT): ui_rtp_stream_dialog.h - -search_frame.$(OBJEXT): ui_search_frame.h - -sequence_dialog.$(OBJEXT): ui_sequence_dialog.h - -sctp_all_assocs_dialog.$(OBJEXT): ui_sctp_all_assocs_dialog.h - -sctp_assoc_analyse_dialog.$(OBJEXT): ui_sctp_assoc_analyse_dialog.h - -sctp_chunk_statistics_dialog.$(OBJEXT): ui_sctp_chunk_statistics_dialog.h - -sctp_graph_dialog.$(OBJEXT): ui_sctp_graph_dialog.h - -sctp_graph_arwnd_dialog.$(OBJEXT): ui_sctp_graph_arwnd_dialog.h - -sctp_graph_byte_dialog.$(OBJEXT): ui_sctp_graph_byte_dialog.h - -show_packet_bytes_dialog.$(OBJEXT): ui_show_packet_bytes_dialog.h - -splash_overlay.$(OBJEXT): ui_splash_overlay.h - -supported_protocols_dialog.$(OBJEXT): ui_supported_protocols_dialog.h - -tap_parameter_dialog.$(OBJEXT): ui_tap_parameter_dialog.h - -tcp_stream_dialog.$(OBJEXT): ui_tcp_stream_dialog.h - -time_shift_dialog.$(OBJEXT): ui_time_shift_dialog.h - -traffic_table_dialog.$(OBJEXT): ui_traffic_table_dialog.h - -uat_dialog.$(OBJEXT): ui_uat_dialog.h - -uat_frame.$(OBJEXT): ui_uat_frame.h - -voip_calls_dialog.$(OBJEXT): ui_voip_calls_dialog.h - -wireless_frame.$(OBJEXT): ui_wireless_frame.h - -doxygen: -if HAVE_DOXYGEN - $(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -#checkapi: checkapi-base checkapi-todo - -EXTRA_DIST = \ - $(GENERATOR_FILES) \ - $(UI_FILES) \ - $(QRC_FILES) \ - $(TS_FILES) \ - CMakeLists.txt \ - doxygen.cfg.in \ - i18n.qrc.in \ - Makefile_custom.common \ - gpl-template.txt diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am deleted file mode 100644 index 1bf03c887b..0000000000 --- a/wiretap/Makefile.am +++ /dev/null @@ -1,233 +0,0 @@ -# Makefile.am -# Automake file for Wiretap -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) -DWS_BUILD_DLL $(GLIB_CFLAGS) \ - $(PCAP_CFLAGS) - -lib_LTLIBRARIES = libwiretap.la - -# C source files that are part of the Wiretap source; this includes only -# .c files, not YACC or Lex or... files (as Makefile.nmake maps this list -# into a list of object files by replacing ".c" with ".obj") or files -# generated from YACC or Lex files (as Automake doesn't want them in -# _SOURCES variables). -NONGENERATED_C_FILES = \ - 5views.c \ - aethra.c \ - ascendtext.c \ - atm.c \ - ber.c \ - btsnoop.c \ - camins.c \ - capsa.c \ - catapult_dct2000.c \ - commview.c \ - cosine.c \ - csids.c \ - daintree-sna.c \ - dbs-etherwatch.c \ - dct3trace.c \ - erf.c \ - eyesdn.c \ - file_access.c \ - file_wrappers.c \ - hcidump.c \ - i4btrace.c \ - ipfix.c \ - iptrace.c \ - iseries.c \ - mime_file.c \ - json.c \ - k12.c \ - lanalyzer.c \ - logcat_text.c \ - logcat.c \ - libpcap.c \ - merge.c \ - mpeg.c \ - mplog.c \ - mp2t.c \ - netmon.c \ - netscaler.c \ - netscreen.c \ - nettl.c \ - nettrace_3gpp_32_423.c \ - network_instruments.c \ - netxray.c \ - ngsniffer.c \ - packetlogger.c \ - pcap-common.c \ - pcapng.c \ - peekclassic.c \ - peektagged.c \ - pppdump.c \ - radcom.c \ - snoop.c \ - stanag4607.c \ - tnef.c \ - toshiba.c \ - visual.c \ - vms.c \ - vwr.c \ - wtap.c \ - wtap_opttypes.c - -# Header files that are not generated from other files -NONGENERATED_HEADER_FILES = \ - 5views.h \ - aethra.h \ - ascendtext.h \ - ascend-int.h \ - atm.h \ - ber.h \ - btsnoop.h \ - camins.h \ - capsa.h \ - catapult_dct2000.h \ - commview.h \ - cosine.h \ - csids.h \ - daintree-sna.h \ - dbs-etherwatch.h \ - dct3trace.h \ - erf.h \ - eyesdn.h \ - hcidump.h \ - i4btrace.h \ - i4b_trace.h \ - ipfix.h \ - iptrace.h \ - iseries.h \ - json.h \ - mime_file.h \ - k12.h \ - lanalyzer.h \ - libpcap.h \ - logcat.h \ - logcat_text.h \ - mpeg.h \ - mplog.h \ - mp2t.h \ - netmon.h \ - netscreen.h \ - netscaler.h \ - nettl.h \ - nettrace_3gpp_32_423.h \ - network_instruments.h \ - netxray.h \ - ngsniffer.h \ - packetlogger.h \ - pcap-common.h \ - pcapng.h \ - peekclassic.h \ - peektagged.h \ - pppdump.h \ - radcom.h \ - snoop.h \ - stanag4607.h \ - tnef.h \ - toshiba.h \ - visual.h \ - vms.h \ - vwr.h \ - wtap-int.h - -PUBLIC_HEADER_FILES = \ - file_wrappers.h \ - merge.h \ - pcap-encap.h \ - pcapng_module.h \ - wtap.h \ - wtap_opttypes.h - -# Files that generate compileable files -GENERATOR_FILES = \ - ascend.y \ - ascend_scanner.l \ - k12text.l - -# The C source files they generate. -GENERATED_C_FILES = \ - ascend.c \ - ascend_scanner.c \ - k12text.c - -# The header files that they generate. -GENERATED_HEADER_FILES = \ - ascend.h \ - ascend_scanner_lex.h \ - k12text_lex.h - -# All the generated files. -GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES) - -libwiretap_la_SOURCES = \ - $(NONGENERATED_C_FILES) \ - $(NONGENERATED_HEADER_FILES) \ - $(GENERATED_C_FILES) \ - version_info.c - -# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html -libwiretap_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@ - -libwiretap_la_LIBADD = ${top_builddir}/wsutil/libwsutil.la $(GLIB_LIBS) - -libwiretap_la_DEPENDENCIES = ${top_builddir}/wsutil/libwsutil.la - -subpkgincludedir = $(pkgincludedir)/wiretap - -subpkginclude_HEADERS = $(PUBLIC_HEADER_FILES) - -DISTCLEANFILES = \ - version_info.c - -MAINTAINERCLEANFILES = \ - $(GENERATED_FILES) - -BUILT_SOURCES = $(GENERATED_HEADER_FILES) version_info.c - -EXTRA_DIST = \ - .editorconfig \ - README.airmagnet \ - README.developer \ - CMakeLists.txt \ - $(GENERATOR_FILES) \ - $(GENERATED_FILES) - -k12text_lex.h : k12text.c - -ascend_scanner_lex.h : ascend_scanner.c - -ascend.h: ascend.c - -ascend.c: $(srcdir)/ascend.y ascend_scanner_lex.h - $(AM_V_YACC)$(YACC) -d -p ascend -o ascend.c $(srcdir)/ascend.y - -version_info.c: $(top_srcdir)/version_info.c - $(AM_V_LN_S)$(LN_S) $< $(builddir) - -checkapi: -## 'abort' checking disabled for now pending resolution of existing use of g_assert & g_error -## $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput \ - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) $(NONGENERATED_C_FILES) diff --git a/wiretap/README.developer b/wiretap/README.developer index d4a4e3cd53..9b5211fa22 100644 --- a/wiretap/README.developer +++ b/wiretap/README.developer @@ -86,5 +86,4 @@ To add the ability to write a new capture file format, you have to: put pointers to the "can_write_encap" and "dump_open" routines in the "dump_open_table_base[]" entry for that file type. -In the wiretap directory, add your source file to CMakelists.txt and -your source and header file to Makefile.am. +In the wiretap directory, add your source file to CMakelists.txt. diff --git a/writecap/Makefile.am b/writecap/Makefile.am deleted file mode 100644 index b3e5cf6122..0000000000 --- a/writecap/Makefile.am +++ /dev/null @@ -1,71 +0,0 @@ -# Makefile.am -# Automake file for the "write capture file" routines for Wireshark -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) - -noinst_LIBRARIES = libwritecap.a - -CLEANFILES = \ - doxygen-writecap.tag - -EXTRA_DIST = \ - .editorconfig \ - CMakeLists.txt \ - doxygen.cfg.in - -# All sources that should be put in the source distribution tarball -libwritecap_a_SOURCES = \ - pcapio.c \ - pcapio.h - -# -# This is used to build dumpcap, and dumpcap is, if possible, built as -# a position-independent executable (for address space layout randomization, -# as it might be running with extra privileges), so this library needs -# to be built that way as well. -# -libwritecap_a_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS) - -libwritecap_a_DEPENDENCIES = - -doxygen: -if HAVE_DOXYGEN - $(DOXYGEN) doxygen.cfg -endif # HAVE_DOXYGEN - -wsar_html: doxygen.cfg ../doxygen_global.cfg -if HAVE_DOXYGEN - (umask 022 ; $(DOXYGEN) doxygen.cfg) -endif - -checkapi: checkapi-base checkapi-todo - -checkapi-base: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \ - -sourcedir=$(srcdir) \ - $(libwritecap_a_SOURCES) - -checkapi-todo: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ - -sourcedir=$(srcdir) \ - $(libwritecap_a_SOURCES) diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am deleted file mode 100644 index 14474e57c7..0000000000 --- a/wsutil/Makefile.am +++ /dev/null @@ -1,224 +0,0 @@ -# Makefile.am -# -# Wireshark - Network traffic analyzer -# By Gerald Combs -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/Makefile.am.inc - -AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) -DWS_BUILD_DLL \ - -DTOP_SRCDIR=\"$(abs_top_srcdir)\" \ - -DDATAFILE_DIR=\"$(pkgdatadir)\" \ - -DEXTCAP_DIR=\"$(extcapdir)\" \ - -DPLUGIN_DIR=\"$(pkglibdir)/plugins\" \ - -DJSMN_STRICT \ - $(GLIB_CFLAGS) \ - $(PCAP_CFLAGS) \ - $(LIBGCRYPT_CFLAGS) \ - $(LIBGNUTLS_CFLAGS) - -WSUTIL_PUBLIC_INCLUDES = \ - adler32.h \ - base32.h \ - base64.h \ - bits_count_ones.h \ - bits_ctz.h \ - bitswap.h \ - buffer.h \ - clopts_common.h \ - cmdarg_err.h \ - color.h \ - copyright_info.h \ - cpu_info.h \ - crash_info.h \ - crc6.h \ - crc7.h \ - crc8.h \ - crc10.h \ - crc11.h \ - crc16.h \ - crc16-plain.h \ - crc32.h \ - eax.h \ - filesystem.h \ - frequency-utils.h \ - g711.h \ - inet_addr.h \ - inet_ipv4.h \ - inet_ipv6.h \ - interface.h \ - jsmn.h \ - mpeg-audio.h \ - nstime.h \ - os_version_info.h \ - pint.h \ - plugins.h \ - pow2.h \ - privileges.h \ - processes.h \ - report_message.h \ - rsa.h \ - sign_ext.h \ - sober128.h \ - socket.h \ - str_util.h \ - strnatcmp.h \ - strtoi.h \ - tempfile.h \ - time_util.h \ - type_util.h \ - unicode-utils.h \ - utf8_entities.h \ - ws_cpuid.h \ - ws_mempbrk.h \ - ws_mempbrk_int.h \ - ws_pipe.h \ - ws_printf.h \ - wsjsmn.h \ - wsgcrypt.h \ - wsgetopt.h \ - wspcap.h \ - xtea.h - -WSUTIL_PRIVATE_INCLUDES = - -subpkgincludedir = $(pkgincludedir)/wsutil - -subpkginclude_HEADERS = \ - $(WSUTIL_PUBLIC_INCLUDES) - -noinst_HEADERS = \ - $(WSUTIL_PRIVATE_INCLUDES) - -# Optional objects that I know how to build. These will be -# linked into libwsutil if necessary. -wsutil_optional_objects = - -if SSE42_SUPPORTED -wsutil_optional_objects += libwsutil_sse42.la -endif - -noinst_LTLIBRARIES = libwsutil_sse42.la - -lib_LTLIBRARIES = libwsutil.la - -libwsutil_sse42_la_SOURCES = \ - ws_mempbrk_sse42.c - -libwsutil_sse42_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_SSE42) - -libwsutil_la_SOURCES = \ - adler32.c \ - base32.c \ - base64.c \ - bitswap.c \ - buffer.c \ - clopts_common.c \ - cmdarg_err.c \ - copyright_info.c \ - cpu_info.c \ - crash_info.c \ - crc6.c \ - crc7.c \ - crc8.c \ - crc10.c \ - crc11.c \ - crc16.c \ - crc16-plain.c \ - crc32.c \ - dot11decrypt_wep.c \ - eax.c \ - filesystem.c \ - frequency-utils.c \ - g711.c \ - inet_addr.c \ - interface.c \ - jsmn.c \ - mpeg-audio.c \ - nstime.c \ - os_version_info.c \ - privileges.c \ - report_message.c \ - rsa.c \ - sober128.c \ - str_util.c \ - strtoi.c \ - strnatcmp.c \ - tempfile.c \ - time_util.c \ - type_util.c \ - unicode-utils.c \ - ws_mempbrk.c \ - ws_pipe.c \ - wsgcrypt.c \ - wsjsmn.c \ - xtea.c - -if HAVE_PLUGINS -libwsutil_la_SOURCES += plugins.c -endif - -# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html -libwsutil_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@ - -libwsutil_la_LIBADD = \ - $(LTLIBOBJS) \ - $(GLIB_LIBS) \ - $(LIBGCRYPT_LIBS) \ - $(LIBGNUTLS_LIBS) \ - $(wsutil_optional_objects) - -EXTRA_libwsutil_la_DEPENDENCIES = \ - $(wsutil_optional_objects) - -# Only source code files that may be built via LTLIBOBJS (besides files not -# built at all) must be added to EXTRA_DIST -EXTRA_DIST = \ - .editorconfig \ - cfutils.c \ - cfutils.h \ - CMakeLists.txt \ - file_util.c \ - file_util.h \ - getopt_long.c \ - getopt_long.h \ - strptime.c \ - strptime.h \ - win32-utils.c \ - win32-utils.h - -checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ - -sourcedir=$(srcdir) \ - $(libwsutil_la_SOURCES) - -# $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput \ -# -sourcedir=$(srcdir) \ -# file_util.c unicode-utils.c - -# -# Editor modelines - https://www.wireshark.org/tools/modelines.html -# -# Local variables: -# c-basic-offset: 8 -# tab-width: 8 -# indent-tabs-mode: t -# End: -# -# vi: set shiftwidth=8 tabstop=8 noexpandtab: -# :indentSize=8:tabSize=8:noTabs=false: -#