2000-09-27 04:55:05 +00:00
|
|
|
# Makefile.am
|
2012-02-28 09:00:05 +00:00
|
|
|
# Automake file for the libwireshark library
|
|
|
|
# (EPAN is a historical name; it stands for Ethereal Protocol ANalyzer
|
|
|
|
# Library)
|
2000-09-27 04:55:05 +00:00
|
|
|
#
|
2006-05-21 05:12:17 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
2000-09-27 04:55:05 +00:00
|
|
|
# Copyright 1998 Gerald Combs
|
2008-01-17 18:42:19 +00:00
|
|
|
#
|
2000-09-27 04:55:05 +00:00
|
|
|
# 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.
|
2008-01-17 18:42:19 +00:00
|
|
|
#
|
2000-09-27 04:55:05 +00:00
|
|
|
# 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.
|
2008-01-17 18:42:19 +00:00
|
|
|
#
|
2000-09-27 04:55:05 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2007-08-01 20:35:05 +00:00
|
|
|
include ../Makefile.am.inc
|
|
|
|
|
2006-09-25 01:09:00 +00:00
|
|
|
if HAVE_LIBLUA
|
|
|
|
wslua_lib = wslua/libwslua.la
|
|
|
|
wslua_dir = wslua
|
2008-01-17 18:42:19 +00:00
|
|
|
wslua_dist_dir =
|
2014-03-12 14:43:05 +00:00
|
|
|
else # HAVE_LIBLUA
|
2006-09-25 01:09:00 +00:00
|
|
|
wslua_lib =
|
|
|
|
wslua_dir =
|
2006-09-26 22:24:50 +00:00
|
|
|
wslua_dist_dir = wslua
|
2014-03-12 14:43:05 +00:00
|
|
|
endif # HAVE_LIBLUA
|
2006-09-25 01:09:00 +00:00
|
|
|
|
2015-01-02 20:33:49 +00:00
|
|
|
SUBDIRS = compress crypt ftypes dfilter dissectors jsmn nghttp2 wmem $(wslua_dir)
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2014-06-16 18:43:27 +00:00
|
|
|
DIST_SUBDIRS = $(SUBDIRS) $(wslua_dist_dir)
|
2006-09-26 22:24:50 +00:00
|
|
|
|
Give libethereal its own configuration file, and have that configuration
file, rather than the top-level Ethereal configuration file, check for
"inet_aton()", "inet_pton()", and "inet_ntop()". Then make its
Makefile.am include the appropriate object files if necessary.
Otherwise, they don't get built and put into libethereal, and therefore
attempts to link with anything in libethereal that uses them fail on
platforms that lack ethem, causing the build to fail.
That means a bunch of things need to be fixed to cope with libethereal
having its own "config.h" file; this means removing the include of
"config.h" from some libethereal header files. Move the definitions of
the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so
"resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure
script (so we don't have to include it in "plugins.h" to check whether
HAVE_DLFCN_H is defined).
Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for
now, define that in the top-level configuration file, and have Ethereal
and Tethereal pass it as an argument to "epan_init()" - that should be
cleaned up at some point.
Remove from the top-level configure script checks for things used only
in libethereal.
svn path=/trunk/; revision=2498
2000-10-16 23:18:05 +00:00
|
|
|
ACLOCAL_AMFLAGS = `../aclocal-flags`
|
|
|
|
|
2007-11-28 14:39:51 +00:00
|
|
|
noinst_LTLIBRARIES = libwireshark_generated.la libwireshark_asmopt.la
|
2006-05-31 00:23:01 +00:00
|
|
|
lib_LTLIBRARIES = libwireshark.la
|
2011-06-06 21:40:40 +00:00
|
|
|
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
2014-05-23 20:56:41 +00:00
|
|
|
libwireshark_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2004-03-02 01:21:56 +00:00
|
|
|
include Makefile.common
|
|
|
|
|
2013-03-12 06:53:39 +00:00
|
|
|
AM_CPPFLAGS = -I$(srcdir)/.. -I$(srcdir)/$(LEMON) -I$(builddir)/wslua \
|
2011-01-07 18:32:17 +00:00
|
|
|
@LUA_INCLUDES@ $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) \
|
2013-11-17 02:55:14 +00:00
|
|
|
$(LIBSMI_CFLAGS) $(LIBGEOIP_CFLAGS) $(PY_CFLAGS)
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
AM_NON_GENERATED_CFLAGS =-DWS_BUILD_DLL
|
2007-05-17 17:08:11 +00:00
|
|
|
|
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
2013-03-01 23:53:11 +00:00
|
|
|
AM_NON_GENERATED_CFLAGS += -Werror
|
2007-05-17 17:08:11 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
#Since code generated by lex may trigger gcc warnings, we are now generating two
|
2014-03-12 14:43:05 +00:00
|
|
|
#libraries. A single library is generated with the lex code without the barrier
|
2007-05-17 17:08:11 +00:00
|
|
|
#"stop on warning". An other library is generated from the remaining source
|
|
|
|
#files with the "stop on warning" barrier.
|
2006-05-31 00:23:01 +00:00
|
|
|
libwireshark_la_SOURCES = \
|
|
|
|
$(LIBWIRESHARK_SRC) \
|
|
|
|
$(LIBWIRESHARK_INCLUDES)
|
2009-05-29 21:10:40 +00:00
|
|
|
libwireshark_la_CFLAGS = $(AM_NON_GENERATED_CFLAGS) $(py_dissectors_dir)
|
2007-05-17 17:08:11 +00:00
|
|
|
|
|
|
|
libwireshark_generated_la_SOURCES = \
|
2013-02-05 06:09:17 +00:00
|
|
|
$(LIBWIRESHARK_GENERATED_C_FILES) \
|
|
|
|
$(LIBWIRESHARK_GENERATED_HEADER_FILES)
|
|
|
|
|
|
|
|
nodist_libwireshark_generated_la_SOURCES = \
|
2013-02-09 23:35:30 +00:00
|
|
|
$(NODIST_LIBWIRESHARK_GENERATED_C_FILES) \
|
|
|
|
$(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES)
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2007-11-28 14:39:51 +00:00
|
|
|
# code optionally implemented in assembler
|
|
|
|
# only C source available for platforms other than Win32
|
|
|
|
libwireshark_asmopt_la_SOURCES = \
|
|
|
|
asm_utils.c \
|
2008-02-26 00:52:12 +00:00
|
|
|
asm_utils.h \
|
|
|
|
asm_utils_win32_x86.asm
|
2007-11-28 14:39:51 +00:00
|
|
|
|
2000-10-11 07:35:02 +00:00
|
|
|
EXTRA_DIST = \
|
2007-07-16 17:39:40 +00:00
|
|
|
diam_dict.l \
|
2014-03-12 14:43:05 +00:00
|
|
|
dtd_grammar.lemon \
|
|
|
|
dtd_parse.l \
|
|
|
|
dtd_parse.h \
|
|
|
|
dtd_preparse.l \
|
|
|
|
enterprise-numbers \
|
2007-05-17 17:08:11 +00:00
|
|
|
Makefile.common \
|
|
|
|
Makefile.nmake \
|
2014-03-12 14:43:05 +00:00
|
|
|
radius_dict.l \
|
2007-05-17 17:08:11 +00:00
|
|
|
tvbtest.c \
|
2014-03-12 14:43:05 +00:00
|
|
|
reassemble_test.c \
|
2007-05-17 17:08:11 +00:00
|
|
|
uat_load.l \
|
|
|
|
exntest.c \
|
2013-10-19 18:52:13 +00:00
|
|
|
oids_test.c \
|
2010-05-14 16:27:03 +00:00
|
|
|
doxygen.cfg.in \
|
|
|
|
CMakeLists.txt
|
2000-10-11 07:35:02 +00:00
|
|
|
|
2000-09-27 04:55:05 +00:00
|
|
|
CLEANFILES = \
|
2013-04-30 00:27:02 +00:00
|
|
|
doxygen-epan.tag \
|
2007-05-17 17:08:11 +00:00
|
|
|
libwireshark.a \
|
|
|
|
libwireshark.la \
|
2014-03-12 14:43:05 +00:00
|
|
|
libwireshark_generated.a \
|
|
|
|
libwireshark_generated.la \
|
|
|
|
libwireshark_asmopt.a \
|
|
|
|
libwireshark_asmopt.la \
|
2000-09-27 04:55:05 +00:00
|
|
|
*~
|
|
|
|
|
2005-07-17 13:55:46 +00:00
|
|
|
DISTCLEANFILES = \
|
2013-02-09 23:35:30 +00:00
|
|
|
$(NODIST_LIBWIRESHARK_GENERATED_C_FILES) \
|
|
|
|
$(NODIST_LIBWIRESHARK_GENERATED_HEADER_FILES) \
|
2007-05-17 17:08:11 +00:00
|
|
|
dtd_grammar.out
|
2005-07-17 13:55:46 +00:00
|
|
|
|
2005-07-10 08:04:27 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
2013-02-05 06:09:17 +00:00
|
|
|
$(LIBWIRESHARK_GENERATED_C_FILES) \
|
|
|
|
$(LIBWIRESHARK_GENERATED_HEADER_FILES) \
|
2014-05-05 18:50:24 +00:00
|
|
|
Makefile.in
|
2005-07-10 08:04:27 +00:00
|
|
|
|
Give libethereal its own configuration file, and have that configuration
file, rather than the top-level Ethereal configuration file, check for
"inet_aton()", "inet_pton()", and "inet_ntop()". Then make its
Makefile.am include the appropriate object files if necessary.
Otherwise, they don't get built and put into libethereal, and therefore
attempts to link with anything in libethereal that uses them fail on
platforms that lack ethem, causing the build to fail.
That means a bunch of things need to be fixed to cope with libethereal
having its own "config.h" file; this means removing the include of
"config.h" from some libethereal header files. Move the definitions of
the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so
"resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure
script (so we don't have to include it in "plugins.h" to check whether
HAVE_DLFCN_H is defined).
Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for
now, define that in the top-level configuration file, and have Ethereal
and Tethereal pass it as an argument to "epan_init()" - that should be
cleaned up at some point.
Remove from the top-level configure script checks for things used only
in libethereal.
svn path=/trunk/; revision=2498
2000-10-16 23:18:05 +00:00
|
|
|
#
|
|
|
|
# Add the object files for missing routines, if any.
|
|
|
|
#
|
2008-06-04 02:12:57 +00:00
|
|
|
libwireshark_la_LIBADD = \
|
2010-05-29 00:34:08 +00:00
|
|
|
libwireshark_generated.la \
|
2011-08-31 09:00:54 +00:00
|
|
|
libwireshark_asmopt.la crypt/libairpdcap.la \
|
2009-03-18 21:59:30 +00:00
|
|
|
ftypes/libftypes.la dfilter/libdfilter.la dissectors/libdissectors.la \
|
2013-06-21 00:08:20 +00:00
|
|
|
dissectors/libdirtydissectors.la dissectors/libfiledissectors.la \
|
2015-01-02 20:33:49 +00:00
|
|
|
jsmn/libjsmn.la nghttp2/libnghttp2.la wmem/libwmem.la $(wslua_lib) \
|
|
|
|
@SOCKET_LIBS@ @NSL_LIBS@ \
|
2008-09-16 19:24:25 +00:00
|
|
|
@C_ARES_LIBS@ @ADNS_LIBS@ @LIBGCRYPT_LIBS@ @LIBGNUTLS_LIBS@ \
|
2008-10-27 04:50:57 +00:00
|
|
|
@KRB5_LIBS@ @SSL_LIBS@ @LIBSMI_LDFLAGS@ @GEOIP_LIBS@ \
|
2009-08-07 18:47:56 +00:00
|
|
|
${top_builddir}/wiretap/libwiretap.la @GLIB_LIBS@ \
|
2008-09-16 19:24:25 +00:00
|
|
|
${top_builddir}/wsutil/libwsutil.la -lm
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2008-09-19 12:23:21 +00:00
|
|
|
libwireshark_la_DEPENDENCIES = \
|
2014-10-10 20:53:20 +00:00
|
|
|
libwireshark_generated.la compress/liblzxpress.la\
|
2011-08-31 09:00:54 +00:00
|
|
|
libwireshark_asmopt.la crypt/libairpdcap.la \
|
2009-03-18 21:59:30 +00:00
|
|
|
ftypes/libftypes.la dfilter/libdfilter.la dissectors/libdissectors.la \
|
2015-01-02 20:33:49 +00:00
|
|
|
dissectors/libdirtydissectors.la jsmn/libjsmn.la nghttp2/libnghttp2.la \
|
|
|
|
wmem/libwmem.la $(wslua_lib) \
|
2009-08-07 18:47:56 +00:00
|
|
|
${top_builddir}/wsutil/libwsutil.la \
|
2013-03-01 23:53:11 +00:00
|
|
|
${top_builddir}/wiretap/libwiretap.la
|
2008-09-19 12:23:21 +00:00
|
|
|
|
2013-10-19 18:52:13 +00:00
|
|
|
EXTRA_PROGRAMS = reassemble_test tvbtest oids_test
|
2012-02-28 09:00:05 +00:00
|
|
|
reassemble_test_LDADD = \
|
|
|
|
libwireshark.la \
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
-lz
|
2007-02-27 06:25:07 +00:00
|
|
|
|
2013-07-14 10:30:49 +00:00
|
|
|
tvbtest_LDADD = \
|
|
|
|
libwireshark.la \
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
-lz
|
2005-08-04 13:54:46 +00:00
|
|
|
|
2013-10-19 18:52:13 +00:00
|
|
|
oids_test_LDADD = \
|
|
|
|
libwireshark.la \
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
-lz
|
|
|
|
|
2005-08-04 13:54:46 +00:00
|
|
|
exntest: exntest.o except.o
|
|
|
|
$(LINK) $^ $(GLIB_LIBS)
|
2004-03-02 01:21:56 +00:00
|
|
|
|
2007-08-04 02:13:52 +00:00
|
|
|
RUNLEX=$(top_srcdir)/tools/runlex.sh
|
|
|
|
|
|
|
|
diam_dict_lex.h: diam_dict.c
|
|
|
|
|
|
|
|
dtd_parse_lex.h: dtd_parse.c
|
|
|
|
|
2013-02-01 20:16:31 +00:00
|
|
|
dtd_parse.lo: dtd_grammar.h
|
2013-01-30 19:58:12 +00:00
|
|
|
|
2007-08-04 02:13:52 +00:00
|
|
|
dtd_preparse_lex.h: dtd_preparse.c
|
|
|
|
|
|
|
|
radius_dict_lex.h: radius_dict.c
|
|
|
|
|
|
|
|
uat_load_lex.h: uat_load.c
|
2005-09-10 17:29:15 +00:00
|
|
|
|
|
|
|
LEMON=../tools/lemon
|
|
|
|
|
2013-02-01 18:20:17 +00:00
|
|
|
dtd_grammar.h: dtd_grammar.c
|
2013-02-12 17:25:28 +00:00
|
|
|
dtd_grammar.c : $(LEMON)/lemon$(EXEEXT) $(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
|
2015-01-11 19:53:11 +00:00
|
|
|
$(AM_V_LEMON)$(LEMON)/lemon$(EXEEXT) t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
|
2013-02-01 18:20:17 +00:00
|
|
|
|
2013-10-19 18:52:13 +00:00
|
|
|
tvbtest.o exntest.o oids_test.o: exceptions.h
|
2005-08-04 13:54:46 +00:00
|
|
|
|
2014-05-05 18:50:24 +00:00
|
|
|
update-sminmpec:
|
|
|
|
$(PERL) $(srcdir)/../tools/make-sminmpec.pl
|
2005-07-24 03:36:21 +00:00
|
|
|
|
2013-07-12 03:50:50 +00:00
|
|
|
ps.c: print.ps $(top_srcdir)/tools/rdps.py
|
|
|
|
$(PYTHON) $(top_srcdir)/tools/rdps.py $(srcdir)/print.ps ps.c
|
2011-10-16 17:24:50 +00:00
|
|
|
|
2004-03-02 01:21:56 +00:00
|
|
|
if HAVE_PLUGINS
|
|
|
|
|
|
|
|
if ENABLE_STATIC
|
2008-10-30 19:45:40 +00:00
|
|
|
-include ../plugins/Custom.make
|
2004-03-02 01:21:56 +00:00
|
|
|
plugin_src = \
|
2004-03-02 03:46:02 +00:00
|
|
|
../plugins/asn1/packet-asn1.c \
|
2009-08-21 05:37:33 +00:00
|
|
|
../plugins/docsis/packet-bintrngreq.c \
|
2004-03-02 03:46:02 +00:00
|
|
|
../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 \
|
2004-03-17 17:46:40 +00:00
|
|
|
../plugins/docsis/packet-intrngreq.c \
|
2004-03-02 03:46:02 +00:00
|
|
|
../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 \
|
2004-03-17 17:46:40 +00:00
|
|
|
../plugins/docsis/packet-type29ucd.c \
|
2004-03-02 03:46:02 +00:00
|
|
|
../plugins/docsis/packet-uccreq.c \
|
|
|
|
../plugins/docsis/packet-uccrsp.c \
|
|
|
|
../plugins/docsis/packet-ucd.c \
|
|
|
|
../plugins/gryphon/packet-gryphon.c \
|
|
|
|
../plugins/irda/packet-irda.c \
|
2007-05-25 23:40:42 +00:00
|
|
|
../plugins/m2m/packet-m2m.c \
|
|
|
|
../plugins/m2m/wimax_tlv.c \
|
2013-06-05 21:13:30 +00:00
|
|
|
../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/wimax/msg_aas_beam.c \
|
|
|
|
../plugins/wimax/msg_aas_fbck.c \
|
|
|
|
../plugins/wimax/msg_arq.c \
|
|
|
|
../plugins/wimax/msg_clk_cmp.c \
|
|
|
|
../plugins/wimax/msg_dcd.c \
|
|
|
|
../plugins/wimax/msg_dlmap.c \
|
|
|
|
../plugins/wimax/msg_dreg.c \
|
|
|
|
../plugins/wimax/msg_dsa.c \
|
|
|
|
../plugins/wimax/msg_dsc.c \
|
|
|
|
../plugins/wimax/msg_dsd.c \
|
|
|
|
../plugins/wimax/msg_dsx_rvd.c \
|
|
|
|
../plugins/wimax/msg_fpc.c \
|
|
|
|
../plugins/wimax/msg_pkm.c \
|
|
|
|
../plugins/wimax/msg_pmc.c \
|
|
|
|
../plugins/wimax/msg_prc_lt_ctrl.c \
|
|
|
|
../plugins/wimax/msg_reg_req.c \
|
|
|
|
../plugins/wimax/msg_reg_rsp.c \
|
|
|
|
../plugins/wimax/msg_rep.c \
|
|
|
|
../plugins/wimax/msg_res_cmd.c \
|
|
|
|
../plugins/wimax/msg_rng_req.c \
|
|
|
|
../plugins/wimax/msg_rng_rsp.c \
|
|
|
|
../plugins/wimax/msg_sbc.c \
|
|
|
|
../plugins/wimax/msg_ucd.c \
|
|
|
|
../plugins/wimax/msg_ulmap.c \
|
|
|
|
../plugins/wimax/packet-wmx.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_fch_decoder.c \
|
|
|
|
../plugins/wimax/wimax_ffb_decoder.c \
|
|
|
|
../plugins/wimax/wimax_hack_decoder.c \
|
|
|
|
../plugins/wimax/wimax_harq_map_decoder.c \
|
|
|
|
../plugins/wimax/wimax_pdu_decoder.c \
|
|
|
|
../plugins/wimax/wimax_phy_attributes_decoder.c \
|
|
|
|
../plugins/wimax/wimax_tlv.c \
|
|
|
|
../plugins/wimax/wimax_utils.c
|
2007-05-25 23:40:42 +00:00
|
|
|
|
2004-03-02 01:21:56 +00:00
|
|
|
|
|
|
|
else # ENABLE_STATIC
|
|
|
|
|
|
|
|
plugin_src =
|
|
|
|
|
|
|
|
endif # ENABLE_STATIC
|
|
|
|
|
|
|
|
else # HAVE_PLUGINS
|
|
|
|
plugin_src =
|
|
|
|
|
|
|
|
endif # HAVE_PLUGINS
|
|
|
|
|
2004-06-25 07:10:55 +00:00
|
|
|
doxygen:
|
2004-06-09 03:08:13 +00:00
|
|
|
if HAVE_DOXYGEN
|
2013-02-01 22:57:41 +00:00
|
|
|
$(AM_V_GEN)$(DOXYGEN) doxygen.cfg
|
2004-06-09 03:08:13 +00:00
|
|
|
endif # HAVE_DOXYGEN
|
2010-11-30 02:04:55 +00:00
|
|
|
|
2013-04-26 00:07:42 +00:00
|
|
|
wsar_html: doxygen.cfg ../doxygen_global.cfg
|
2013-04-26 17:49:00 +00:00
|
|
|
if HAVE_DOXYGEN
|
2013-04-26 18:23:05 +00:00
|
|
|
(umask 022 ; $(DOXYGEN) doxygen.cfg)
|
2013-04-26 17:49:00 +00:00
|
|
|
endif
|
2013-04-26 00:07:42 +00:00
|
|
|
|
2011-05-31 12:07:25 +00:00
|
|
|
# ABI compliance checker can be obtained from
|
|
|
|
# http://ispras.linux-foundation.org/index.php/ABI_compliance_checker
|
|
|
|
# Checked using version 1.21.12
|
2013-02-25 18:12:20 +00:00
|
|
|
dumpabi-libwireshark: all abi-descriptor.xml
|
2011-06-04 16:44:37 +00:00
|
|
|
rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz
|
2012-06-08 23:54:22 +00:00
|
|
|
mkdir abi-check-headers
|
|
|
|
cp ../color.h ../config.h ../register.h abi-check-headers/
|
|
|
|
mkdir abi-check-headers/epan
|
|
|
|
cp *.h abi-check-headers/epan
|
|
|
|
mkdir abi-check-headers/crypt
|
|
|
|
cp crypt/*.h abi-check-headers/crypt
|
2014-10-10 20:53:20 +00:00
|
|
|
mkdir abi-check-headers/compress
|
|
|
|
cp compress/*.h abi-check-headers/compress
|
2012-06-08 23:54:22 +00:00
|
|
|
mkdir abi-check-headers/dfilter
|
|
|
|
cp dfilter/*.h ../tools/lemon/cppmagic.h abi-check-headers/dfilter
|
|
|
|
mkdir abi-check-headers/dissectors
|
|
|
|
cp dissectors/*.h abi-check-headers/dissectors
|
|
|
|
rm \
|
|
|
|
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-idmp.h
|
|
|
|
mkdir abi-check-headers/ftypes
|
|
|
|
cp ftypes/*.h abi-check-headers/ftypes
|
2012-10-24 02:04:40 +00:00
|
|
|
mkdir abi-check-headers/wmem
|
|
|
|
cp wmem/*.h abi-check-headers/wmem
|
2013-01-29 01:06:24 +00:00
|
|
|
abi-compliance-checker -l libwireshark -v1 `readlink .libs/libwireshark.so | sed 's/.*\.so\.//'` \
|
2012-06-08 23:54:22 +00:00
|
|
|
-relpath $(abs_srcdir) -dump-abi abi-descriptor.xml || \
|
|
|
|
cat logs/libwireshark/[0-9]*/log.txt
|
|
|
|
cp -f abi_dumps/libwireshark/libwireshark_* .libs/
|
|
|
|
cd .libs && ln -sf libwireshark_*.abi.tar.gz libwireshark.abi.tar.gz
|
2011-05-31 12:07:25 +00:00
|
|
|
|
2010-11-30 02:04:55 +00:00
|
|
|
checkapi:
|
2014-04-23 08:50:27 +00:00
|
|
|
$(AM_V_GEN)$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \
|
|
|
|
-sourcedir=$(srcdir) \
|
|
|
|
$(LIBWIRESHARK_SRC)
|