# 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
+include $(top_srcdir)/Makefile.am.inc
if HAVE_LIBLUA
wslua_lib = wslua/libwslua.la
wslua_dist_dir = wslua
endif # HAVE_LIBLUA
-SUBDIRS = compress crypt ftypes dfilter dissectors nghttp2 wmem $(wslua_dir)
+SUBDIRS = compress crypt ftypes dfilter dissectors wmem $(wslua_dir)
DIST_SUBDIRS = $(SUBDIRS) $(wslua_dist_dir)
-ACLOCAL_AMFLAGS = `../aclocal-flags`
+AM_CPPFLAGS = $(INCLUDEDIRS) -I$(builddir)/wslua $(WS_CPPFLAGS) \
+ $(GLIB_CFLAGS) $(PCAP_CFLAGS) $(LUA_CFLAGS) $(LIBGNUTLS_CFLAGS) \
+ $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(LIBGEOIP_CFLAGS) \
+ $(LZ4_CFLAGS) $(KRB5_CFLAGS) $(SNAPPY_CFLAGS) $(LIBXML2_CFLAGS)
noinst_LTLIBRARIES = libwireshark_generated.la libwireshark_asmopt.la
lib_LTLIBRARIES = libwireshark.la
-# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
-libwireshark_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@
-include Makefile.common
+LIBWIRESHARK_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 \
+ circuit.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 \
+ dwarf.c \
+ epan.c \
+ ex-opt.c \
+ except.c \
+ expert.c \
+ export_object.c \
+ exported_pdu.c \
+ plugin_if.c \
+ filter_expressions.c \
+ follow.c \
+ frame_data.c \
+ frame_data_sequence.c \
+ funnel.c \
+ geoip_db.c \
+ golay.c \
+ guid-utils.c \
+ iana_charsets.c \
+ in_cksum.c \
+ ipproto.c \
+ ipv4.c \
+ media_params.c \
+ next_tvb.c \
+ oids.c \
+ osi-utils.c \
+ oui.c \
+ packet.c \
+ prefs.c \
+ print.c \
+ print_stream.c \
+ proto.c \
+ proto_data.c \
+ range.c \
+ reassemble.c \
+ reedsolomon.c \
+ req_resp_hdrs.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
-AM_CPPFLAGS = -I$(srcdir)/.. -I$(srcdir)/$(LEMON) -I$(builddir)/wslua \
- @LUA_CFLAGS@ $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) \
- $(LIBSMI_CFLAGS) $(LIBGEOIP_CFLAGS) $(PY_CFLAGS)
+#
+# 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
-AM_NON_GENERATED_CFLAGS =-DWS_BUILD_DLL
+NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES = \
+ dtd_grammar.h
-if HAVE_WARNINGS_AS_ERRORS
-AM_NON_GENERATED_CFLAGS += -Werror
-endif
+#
+# 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_ALL_SRC = \
+ $(LIBWIRESHARK_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 \
+ circuit.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 \
+ dwarf.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 \
+ plugin_if.h \
+ filter_expressions.h \
+ follow.h \
+ frame_data.h \
+ frame_data_sequence.h \
+ funnel.h \
+ garrayfix.h \
+ geoip_db.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 \
+ media_params.h \
+ next_tvb.h \
+ nlpid.h \
+ oids.h \
+ osi-utils.h \
+ oui.h \
+ packet.h \
+ packet_info.h \
+ params.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 \
+ 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 = \
+ epan-int.h \
+ to_str-int.h
+
+subpkgincludedir = $(pkgincludedir)/epan
+
+subpkginclude_HEADERS = $(LIBWIRESHARK_INCLUDES_PUBLIC)
#Since code generated by lex may trigger gcc warnings, we are now generating two
#libraries. A single library is generated with the lex code without the barrier
#"stop on warning". An other library is generated from the remaining source
#files with the "stop on warning" barrier.
libwireshark_la_SOURCES = \
- $(LIBWIRESHARK_SRC) \
- $(LIBWIRESHARK_INCLUDES)
-libwireshark_la_CFLAGS = $(AM_NON_GENERATED_CFLAGS) $(py_dissectors_dir)
+ $(LIBWIRESHARK_SRC) \
+ $(LIBWIRESHARK_INCLUDES_PRIVATE) \
+ version_info.c
+
+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@
+
+#
+# Add the object files for missing routines, if any.
+#
+libwireshark_la_LIBADD = \
+ libwireshark_generated.la \
+ libwireshark_asmopt.la \
+ crypt/libairpdcap.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@ \
+ @GEOIP_LIBS@ \
+ @KRB5_LIBS@ \
+ @LIBGCRYPT_LIBS@ \
+ @LIBGNUTLS_LIBS@ \
+ @LIBSMI_LDFLAGS@ \
+ @LZ4_LIBS@ \
+ @NGHTTP2_LIBS@ \
+ @SSL_LIBS@ \
+ @SNAPPY_LIBS@ \
+ @LIBXML2_LIBS@ \
+ @GLIB_LIBS@
+
+libwireshark_la_DEPENDENCIES = \
+ libwireshark_generated.la \
+ compress/liblzxpress.la \
+ libwireshark_asmopt.la \
+ crypt/libairpdcap.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
libwireshark_generated_la_SOURCES = \
$(LIBWIRESHARK_GENERATED_C_FILES) \
$(NODIST_LIBWIRESHARK_GENERATED_C_FILES) \
$(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES)
+libwireshark_generated_la_CFLAGS = $(GENERATED_CFLAGS)
+
# code optionally implemented in assembler
# only C source available for platforms other than Win32
libwireshark_asmopt_la_SOURCES = \
asm_utils_win32_x86.asm
EXTRA_DIST = \
+ .editorconfig \
diam_dict.l \
dtd_grammar.lemon \
dtd_parse.l \
dtd_parse.h \
dtd_preparse.l \
- enterprise-numbers \
- Makefile.common \
- Makefile.nmake \
radius_dict.l \
- tvbtest.c \
- reassemble_test.c \
uat_load.l \
- exntest.c \
- oids_test.c \
doxygen.cfg.in \
- CMakeLists.txt \
- CMakeListsCustom.txt.example
+ CMakeLists.txt \
+ print.ps
CLEANFILES = \
doxygen-epan.tag \
DISTCLEANFILES = \
$(NODIST_LIBWIRESHARK_GENERATED_C_FILES) \
$(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES) \
- dtd_grammar.out
+ dtd_grammar.out \
+ version_info.c
MAINTAINERCLEANFILES = \
$(LIBWIRESHARK_GENERATED_C_FILES) \
$(LIBWIRESHARK_GENERATED_HEADER_FILES) \
Makefile.in
-#
-# Add the object files for missing routines, if any.
-#
-libwireshark_la_LIBADD = \
- libwireshark_generated.la \
- libwireshark_asmopt.la crypt/libairpdcap.la \
- ftypes/libftypes.la dfilter/libdfilter.la dissectors/libdissectors.la \
- dissectors/libdirtydissectors.la dissectors/libfiledissectors.la \
- nghttp2/libnghttp2.la wmem/libwmem.la $(wslua_lib) \
- @SOCKET_LIBS@ @NSL_LIBS@ \
- @C_ARES_LIBS@ @ADNS_LIBS@ @LIBGCRYPT_LIBS@ @LIBGNUTLS_LIBS@ \
- @KRB5_LIBS@ @SSL_LIBS@ @LIBSMI_LDFLAGS@ @GEOIP_LIBS@ \
- ${top_builddir}/wiretap/libwiretap.la @GLIB_LIBS@ \
- ${top_builddir}/wsutil/libwsutil.la -lm
+BUILT_SOURCES = \
+ $(LIBWIRESHARK_GENERATED_HEADER_FILES) \
+ $(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES) \
+ version_info.c
-libwireshark_la_DEPENDENCIES = \
- libwireshark_generated.la compress/liblzxpress.la\
- libwireshark_asmopt.la crypt/libairpdcap.la \
- ftypes/libftypes.la dfilter/libdfilter.la dissectors/libdissectors.la \
- dissectors/libdirtydissectors.la nghttp2/libnghttp2.la \
- wmem/libwmem.la $(wslua_lib) \
- ${top_builddir}/wsutil/libwsutil.la \
- ${top_builddir}/wiretap/libwiretap.la
+EXTRA_PROGRAMS = reassemble_test tvbtest oids_test exntest
-EXTRA_PROGRAMS = reassemble_test tvbtest oids_test
reassemble_test_LDADD = \
libwireshark.la \
$(GLIB_LIBS) \
$(GLIB_LIBS) \
-lz
-exntest: exntest.o except.o
- $(LINK) $^ $(GLIB_LIBS)
+exntest_SOURCES = exntest.c except.c
-test-programs: $(EXTRA_PROGRAMS) exntest
- cd wmem && $(MAKE) $@
+exntest_LDADD = $(GLIB_LIBS)
-RUNLEX=$(top_srcdir)/tools/runlex.sh
+test-programs: $(EXTRA_PROGRAMS)
+ $(MAKE) -C wmem $@
diam_dict_lex.h: diam_dict.c
dtd_parse_lex.h: dtd_parse.c
-dtd_parse.lo: dtd_grammar.h
-
dtd_preparse_lex.h: dtd_preparse.c
radius_dict_lex.h: radius_dict.c
uat_load_lex.h: uat_load.c
-LEMON=../tools/lemon
-
dtd_grammar.h: dtd_grammar.c
-dtd_grammar.c : $(LEMON)/lemon$(EXEEXT) $(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
- $(AM_V_LEMON)$(LEMON)/lemon$(EXEEXT) T=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
+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
-tvbtest.o exntest.o oids_test.o: exceptions.h
+version_info.c: $(top_srcdir)/version_info.c
+ $(AM_V_LN_S)$(LN_S) $<
-update-sminmpec:
- $(PERL) $(srcdir)/../tools/make-sminmpec.pl
+tvbtest.o exntest.o oids_test.o: exceptions.h
ps.c: print.ps $(top_srcdir)/tools/rdps.py
- $(PYTHON) $(top_srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
+ $(AM_V_python)$(PYTHON) $(top_srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
if HAVE_PLUGINS
if ENABLE_STATIC
-include ../plugins/Custom.make
plugin_src = \
- ../plugins/asn1/packet-asn1.c \
- ../plugins/docsis/packet-bintrngreq.c \
- ../plugins/docsis/packet-bpkmattr.c \
- ../plugins/docsis/packet-bpkmreq.c \
- ../plugins/docsis/packet-bpkmrsp.c \
../plugins/docsis/packet-docsis.c \
- ../plugins/docsis/packet-dsaack.c \
- ../plugins/docsis/packet-dsareq.c \
- ../plugins/docsis/packet-dsarsp.c \
- ../plugins/docsis/packet-dscack.c \
- ../plugins/docsis/packet-dscreq.c \
- ../plugins/docsis/packet-dscrsp.c \
- ../plugins/docsis/packet-dsdreq.c \
- ../plugins/docsis/packet-dsdrsp.c \
- ../plugins/docsis/packet-intrngreq.c \
../plugins/docsis/packet-macmgmt.c \
- ../plugins/docsis/packet-map.c \
- ../plugins/docsis/packet-regack.c \
- ../plugins/docsis/packet-regreq.c \
- ../plugins/docsis/packet-regrsp.c \
- ../plugins/docsis/packet-rngreq.c \
- ../plugins/docsis/packet-rngrsp.c \
../plugins/docsis/packet-tlv.c \
- ../plugins/docsis/packet-type29ucd.c \
- ../plugins/docsis/packet-uccreq.c \
- ../plugins/docsis/packet-uccrsp.c \
- ../plugins/docsis/packet-ucd.c \
+ ../plugins/docsis/packet-vendor.c \
+ ../plugins/docsis/plugin.c \
+ ../plugins/easy_codec/codec-g722.c \
+ ../plugins/easy_codec/codec-g7231.c \
+ ../plugins/easy_codec/codec-g729a.c \
+ ../plugins/easy_codec/easy_codec_plugin.c \
+ ../plugins/ethercat/packet-ams.c \
+ ../plugins/ethercat/packet-ecatmb.c \
+ ../plugins/ethercat/packet-esl.c \
+ ../plugins/ethercat/packet-ethercat-datagram.c \
+ ../plugins/ethercat/packet-ethercat-frame.c \
+ ../plugins/ethercat/packet-ioraw.c \
+ ../plugins/ethercat/packet-nv.c \
+ ../plugins/ethercat/plugin.c \
../plugins/gryphon/packet-gryphon.c \
+ ../plugins/gryphon/plugin.c \
+ ../plugins/irda/packet-ircomm.c \
../plugins/irda/packet-irda.c \
+ ../plugins/irda/packet-sir.c \
+ ../plugins/irda/plugin.c \
../plugins/m2m/packet-m2m.c \
+ ../plugins/m2m/plugin.c \
../plugins/m2m/wimax_tlv.c \
+ ../plugins/Makefile.am.inc \
+ ../plugins/mate/mate_grammar.c \
+ ../plugins/mate/mate_parser.c \
+ ../plugins/mate/mate_runtime.c \
+ ../plugins/mate/mate_setup.c \
+ ../plugins/mate/mate_util.c \
+ ../plugins/mate/packet-mate.c \
+ ../plugins/mate/plugin.c \
+ ../plugins/opcua/opcua_application_layer.c \
+ ../plugins/opcua/opcua.c \
+ ../plugins/opcua/opcua_complextypeparser.c \
+ ../plugins/opcua/opcua_enumparser.c \
+ ../plugins/opcua/opcua_extensionobjecttable.c \
+ ../plugins/opcua/opcua_hfindeces.c \
+ ../plugins/opcua/opcua_security_layer.c \
+ ../plugins/opcua/opcua_serviceparser.c \
+ ../plugins/opcua/opcua_servicetable.c \
+ ../plugins/opcua/opcua_simpletypes.c \
+ ../plugins/opcua/opcua_statuscode.c \
+ ../plugins/opcua/opcua_transport_layer.c \
+ ../plugins/opcua/plugin.c \
+ ../plugins/pluginifdemo/pluginifdemo.c \
+ ../plugins/profinet/packet-dcerpc-pn-io.c \
+ ../plugins/profinet/packet-dcom-cba-acco.c \
+ ../plugins/profinet/packet-dcom-cba.c \
+ ../plugins/profinet/packet-pn.c \
+ ../plugins/profinet/packet-pn-dcp.c \
+ ../plugins/profinet/packet-pn-mrp.c \
+ ../plugins/profinet/packet-pn-mrrt.c \
+ ../plugins/profinet/packet-pn-ptcp.c \
+ ../plugins/profinet/packet-pn-rt.c \
+ ../plugins/profinet/packet-pn-rtc-one.c \
+ ../plugins/profinet/plugin.c \
+ ../plugins/stats_tree/pinfo_stats_tree.c \
+ ../plugins/stats_tree/stats_tree_plugin.c \
+ ../plugins/tpg/packet-http.c \
+ ../plugins/transum/decoders.c \
+ ../plugins/transum/extractors.c \
+ ../plugins/transum/packet-transum.c \
+ ../plugins/transum/plugin.c \
+ ../plugins/unistim/packet-unistim.c \
+ ../plugins/unistim/plugin.c \
+ ../plugins/wimaxasncp/packet-wimaxasncp.c \
+ ../plugins/wimaxasncp/plugin.c \
+ ../plugins/wimaxasncp/wimaxasncp_dict.c \
../plugins/wimax/crc.c \
../plugins/wimax/crc_data.c \
../plugins/wimax/mac_hd_generic_decoder.c \
../plugins/wimax/mac_hd_type1_decoder.c \
../plugins/wimax/mac_hd_type2_decoder.c \
../plugins/wimax/mac_mgmt_msg_decoder.c \
+ ../plugins/wimaxmacphy/packet-wimaxmacphy.c \
+ ../plugins/wimaxmacphy/plugin.c \
../plugins/wimax/msg_aas_beam.c \
../plugins/wimax/msg_aas_fbck.c \
../plugins/wimax/msg_arq.c \
../plugins/wimax/msg_ucd.c \
../plugins/wimax/msg_ulmap.c \
../plugins/wimax/packet-wmx.c \
+ ../plugins/wimax/plugin.c \
../plugins/wimax/wimax_cdma_code_decoder.c \
../plugins/wimax/wimax_compact_dlmap_ie_decoder.c \
../plugins/wimax/wimax_compact_ulmap_ie_decoder.c \
../plugins/wimax/wimax_tlv.c \
../plugins/wimax/wimax_utils.c
-
else # ENABLE_STATIC
plugin_src =
# ABI compliance checker can be obtained from
# http://ispras.linux-foundation.org/index.php/ABI_compliance_checker
# Checked using version 1.21.12
+# TODO: fix wrong headers and select ones providing external API
dumpabi-libwireshark: all abi-descriptor.xml
rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz
mkdir abi-check-headers
- cp ../color.h ../config.h ../register.h abi-check-headers/
+ cp ../config.h ../register.h abi-check-headers/
mkdir abi-check-headers/epan
cp *.h abi-check-headers/epan
mkdir abi-check-headers/crypt
mkdir abi-check-headers/dissectors
cp dissectors/*.h abi-check-headers/dissectors
rm \
+ abi-check-headers/*/*_lex.h \
abi-check-headers/dissectors/x11-extension-implementation.h \
abi-check-headers/dissectors/x11-glx-render-enum.h \
abi-check-headers/dissectors/x11-register-info.h \
+ abi-check-headers/dissectors/packet-lb* \
abi-check-headers/dissectors/packet-idmp.h
mkdir abi-check-headers/ftypes
cp ftypes/*.h abi-check-headers/ftypes
cp wmem/*.h abi-check-headers/wmem
abi-compliance-checker -log-path abi_logs/log.txt -l libwireshark -v1 `readlink .libs/libwireshark.so | sed 's/.*\.so\.//'` \
-relpath $(abs_srcdir) -dump-abi abi-descriptor.xml || \
- cat logs/libwireshark/[0-9]*/log.txt
+ cat abi_logs/log.txt
cp -f abi_dumps/libwireshark/libwireshark_* .libs/
cd .libs && ln -sf libwireshark_*.abi.tar.gz libwireshark.abi.tar.gz
.PHONY: clean-dumpabi-libwireshark
clean-dumpabi-libwireshark:
- rm -rf rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz abi_logs abi-descriptor.xml
+ rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz abi_logs abi-descriptor.xml
checkapi:
$(AM_V_GEN)$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \