aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am30
-rw-r--r--codecs/Makefile.am4
-rw-r--r--epan/Makefile.am3
-rw-r--r--epan/Makefile.nmake2
-rw-r--r--epan/crypt/Makefile.am4
-rw-r--r--epan/dfilter/Makefile.am43
-rw-r--r--epan/dfilter/Makefile.common80
-rw-r--r--epan/dfilter/Makefile.nmake41
-rw-r--r--epan/dissectors/Makefile.am5
-rw-r--r--epan/dissectors/Makefile.nmake4
-rw-r--r--epan/ftypes/Makefile.am22
-rw-r--r--epan/ftypes/Makefile.common47
-rw-r--r--epan/ftypes/Makefile.nmake27
-rw-r--r--epan/wslua/Makefile.am15
-rw-r--r--epan/wslua/Makefile.nmake11
-rw-r--r--gtk/Makefile.am7
-rw-r--r--gtk/Makefile.nmake2
-rw-r--r--plugins/Makefile.am6
-rw-r--r--plugins/agentx/Makefile.am3
-rw-r--r--plugins/artnet/Makefile.am3
-rw-r--r--plugins/asn1/Makefile.am3
-rw-r--r--plugins/ciscosm/Makefile.am3
-rw-r--r--plugins/docsis/Makefile.am3
-rw-r--r--plugins/enttec/Makefile.am3
-rw-r--r--plugins/ethercat/Makefile.am3
-rw-r--r--plugins/giop/Makefile.am7
-rw-r--r--plugins/giop/Makefile.nmake1
-rw-r--r--plugins/gryphon/Makefile.am3
-rw-r--r--plugins/infiniband/Makefile.am3
-rw-r--r--plugins/irda/Makefile.am3
-rw-r--r--plugins/lwres/Makefile.am3
-rw-r--r--plugins/m2m/Makefile.am3
-rw-r--r--plugins/mate/Makefile.am3
-rw-r--r--plugins/opcua/Makefile.am3
-rw-r--r--plugins/opsi/Makefile.am3
-rw-r--r--plugins/pcli/Makefile.am3
-rw-r--r--plugins/profinet/Makefile.am3
-rw-r--r--plugins/rlm/Makefile.am3
-rw-r--r--plugins/rtnet/Makefile.am3
-rw-r--r--plugins/rudp/Makefile.am3
-rw-r--r--plugins/sbus/Makefile.am3
-rw-r--r--plugins/sercosiii/Makefile.am3
-rw-r--r--plugins/stats_tree/Makefile.am3
-rw-r--r--plugins/tpg/Makefile.am3
-rw-r--r--plugins/unistim/Makefile.am3
-rw-r--r--plugins/v5ua/Makefile.am3
-rw-r--r--plugins/wimax/Makefile.am3
-rw-r--r--plugins/wimaxasncp/Makefile.am3
-rw-r--r--wiretap/Makefile.am3
-rw-r--r--wsutil/Makefile.am4
50 files changed, 322 insertions, 130 deletions
diff --git a/Makefile.am b/Makefile.am
index 45bc71d9b8..be4acf4b04 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -986,3 +986,33 @@ osx-package: osx-app
clean-local:
rm -rf $(top_stagedir)
+checkapi_local:
+ $(PERL) tools/checkAPIs.pl \
+ $(TSHARK_TAP_SRC)
+# $(wireshark_SOURCES)
+# $(EXTRA_wireshark_SOURCES)
+
+checkapi: checkapi_local
+ cd wiretap
+ $(MAKE) checkapi
+ cd ../codecs
+ $(MAKE) checkapi
+ cd ../gtk
+## $(MAKE) checkapi
+ cd ../epan
+## $(MAKE) checkapi
+ cd ../epan/crypt
+## $(MAKE) checkapi
+ cd ../dfilter
+ $(MAKE) checkapi
+ cd ../ftypes
+## $(MAKE) checkapi
+ cd ../wslua
+## $(MAKE) checkapi
+ cd ../dissectors
+ $(MAKE) checkapi
+ cd ..
+ cd ../plugins
+ $(MAKE) checkapi
+ cd ../wsutil
+ $(MAKE) checkapi
diff --git a/codecs/Makefile.am b/codecs/Makefile.am
index 07dc6098a2..86cff8debf 100644
--- a/codecs/Makefile.am
+++ b/codecs/Makefile.am
@@ -43,3 +43,7 @@ libcodec_a_DEPENDENCIES =
EXTRA_DIST = \
Makefile.nmake
+checkapi:
+ $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \
+ G711a/G711adecode.c \
+ G711u/G711udecode.c
diff --git a/epan/Makefile.am b/epan/Makefile.am
index 014dcb578d..577a1dbccd 100644
--- a/epan/Makefile.am
+++ b/epan/Makefile.am
@@ -293,3 +293,6 @@ doxygen:
if HAVE_DOXYGEN
$(DOXYGEN) doxygen.cfg
endif # HAVE_DOXYGEN
+
+checkapi:
+ $(PERL) ../tools/checkAPIs.pl -g termoutput $(LIBWIRESHARK_SRC)
diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake
index 5287dcc37d..8a302c2e4f 100644
--- a/epan/Makefile.nmake
+++ b/epan/Makefile.nmake
@@ -310,4 +310,4 @@ dtd_grammar.c: $(LEMON)\lemon.exe $(LEMON)\lempar.c dtd_grammar.lemon
$(LEMON)\lemon t=$(LEMON)\lempar.c dtd_grammar.lemon
checkapi:
- $(PERL) ../tools/checkAPIs.pl -g termoutput $(LIBWIRESHARK_SRC) \
+ $(PERL) ../tools/checkAPIs.pl -g termoutput $(LIBWIRESHARK_SRC)
diff --git a/epan/crypt/Makefile.am b/epan/crypt/Makefile.am
index 6ef883ddfd..8db3475004 100644
--- a/epan/crypt/Makefile.am
+++ b/epan/crypt/Makefile.am
@@ -48,3 +48,7 @@ libairpdcap_la_SOURCES = \
EXTRA_DIST = \
Makefile.common \
Makefile.nmake
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g termoutput \
+ $(LIBAIRPDCAP_SRC)
diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am
index 155256fb22..2f10f0c05b 100644
--- a/epan/dfilter/Makefile.am
+++ b/epan/dfilter/Makefile.am
@@ -5,7 +5,6 @@
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# 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
@@ -28,6 +27,8 @@ if HAVE_WARNINGS_AS_ERRORS
AM_NON_GENERATED_CFLAGS = -Werror
endif
+include Makefile.common
+
noinst_LTLIBRARIES = libdfilter_generated.la libdfilter.la
CLEANFILES = \
@@ -53,49 +54,19 @@ INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/.. -I$(srcdir)/$(LEMON)
#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.
-libdfilter_la_SOURCES = \
- dfilter.c \
- dfilter.h \
- dfilter-int.h \
- dfilter-macro.h \
- dfilter-macro.c \
- dfunctions.c \
- dfunctions.h \
- dfvm.c \
- dfvm.h \
- drange.c \
- drange.h \
- gencode.c \
- gencode.h \
- glib-util.c \
- glib-util.h \
- semcheck.c \
- semcheck.h \
- sttype-function.c \
- sttype-function.h \
- sttype-integer.c \
- sttype-pointer.c \
- sttype-range.c \
- sttype-range.h \
- sttype-string.c \
- sttype-test.c \
- sttype-test.h \
- syntax-tree.c \
- syntax-tree.h
+libdfilter_la_SOURCES = $(NONGENERATED_C_FILES) $(NONGENERATED_HEADER_FILES)
libdfilter_la_CFLAGS = $(AM_NON_GENERATED_CFLAGS)
libdfilter_generated_la_SOURCES = \
- grammar.c \
- grammar.h \
- scanner.c \
- scanner_lex.h
+ $(GENERATED_C_FILES) \
+ $(GENERATED_HEADER_FILES)
libdfilter_la_LIBADD = libdfilter_generated.la
libdfilter_la_DEPENDENCIES = libdfilter_generated.la
EXTRA_DIST = \
- grammar.lemon \
- scanner.l \
+ $(GENERATOR_FILES) \
+ Makefile.common \
Makefile.nmake
RUNLEX=$(top_srcdir)/tools/runlex.sh
diff --git a/epan/dfilter/Makefile.common b/epan/dfilter/Makefile.common
new file mode 100644
index 0000000000..5dd4411502
--- /dev/null
+++ b/epan/dfilter/Makefile.common
@@ -0,0 +1,80 @@
+# Makefile.common
+# Contains the stuff from Makefile.am and Makefile.nmake that is
+# a) common to both files and
+# b) portable between both files
+#
+# $Id$
+#
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
+# Copyright 1998 Gerald Combs
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# 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 \
+ glib-util.c \
+ semcheck.c \
+ sttype-function.c \
+ sttype-integer.c \
+ sttype-pointer.c \
+ sttype-range.c \
+ sttype-string.c \
+ sttype-test.c \
+ syntax-tree.c
+
+# Header files that are not generated from other files
+NONGENERATED_HEADER_FILES = \
+ dfilter.h \
+ dfilter-macro.h \
+ dfilter-int.h \
+ dfunctions.h \
+ dfvm.h \
+ drange.h \
+ gencode.h \
+ glib-util.h \
+ semcheck.h \
+ sttype-function.h \
+ sttype-range.h \
+ sttype-test.h \
+ syntax-tree.h
+
+# Files that generate compileable files
+GENERATOR_FILES = \
+ grammar.lemon \
+ scanner.l
+
+# The C source files they generate.
+GENERATED_C_FILES = \
+ grammar.c \
+ scanner.c
+
+# The header files that they generate.
+GENERATED_HEADER_FILES = \
+ grammar.h \
+ scanner_lex.h
+
+# All the generated files.
+GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
diff --git a/epan/dfilter/Makefile.nmake b/epan/dfilter/Makefile.nmake
index c0b28c83af..a8893640c5 100644
--- a/epan/dfilter/Makefile.nmake
+++ b/epan/dfilter/Makefile.nmake
@@ -16,24 +16,7 @@ CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
.c.obj::
$(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
-OBJECTS = \
- dfilter.obj \
- dfilter-macro.obj \
- dfunctions.obj \
- dfvm.obj \
- drange.obj \
- gencode.obj \
- glib-util.obj \
- grammar.obj \
- scanner.obj \
- semcheck.obj \
- sttype-function.obj \
- sttype-integer.obj \
- sttype-pointer.obj \
- sttype-range.obj \
- sttype-string.obj \
- sttype-test.obj \
- syntax-tree.obj
+OBJECTS=$(NONGENERATED_C_FILES:.c=.obj) $(GENERATED_C_FILES:.c=.obj)
dfilter.lib : $(OBJECTS)
link /lib /out:dfilter.lib $(OBJECTS)
@@ -58,7 +41,7 @@ clean:
# the same for now.
#
distclean: clean
- rm -f scanner.c scanner_lex.h grammar.c grammar.h grammar.out
+ rm -f $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES) grammar.out
maintainer-clean: distclean
@@ -78,21 +61,5 @@ $(LEMON)\lemon.exe:
checkapi:
$(PERL) ../../tools/checkAPIs.pl -g termoutput \
- scanner.l \
- grammar.lemon \
- dfilter.c \
- dfilter-macro.c \
- dfunctions.c \
- dfvm.c \
- drange.c \
- gencode.c \
- glib-util.c \
- semcheck.c \
- sttype-function.c \
- sttype-integer.c \
- sttype-pointer.c \
- sttype-range.c \
- sttype-string.c \
- sttype-test.c \
- syntax-tree.c
-
+ $(GENERATOR_FILES) \
+ $(NONGENERATED_C_FILES)
diff --git a/epan/dissectors/Makefile.am b/epan/dissectors/Makefile.am
index eadfcd4c3b..4b478980ce 100644
--- a/epan/dissectors/Makefile.am
+++ b/epan/dissectors/Makefile.am
@@ -150,3 +150,8 @@ CLEANFILES = \
MAINTAINERCLEANFILES = \
$(GENERATED_FILES) \
Makefile.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput \
+ $(ALL_DISSECTORS_SRC) \
+ packet-dcerpc-nt.c
diff --git a/epan/dissectors/Makefile.nmake b/epan/dissectors/Makefile.nmake
index 9d8b06a008..33e5985a56 100644
--- a/epan/dissectors/Makefile.nmake
+++ b/epan/dissectors/Makefile.nmake
@@ -112,5 +112,5 @@ maintainer-clean: distclean
checkapi:
$(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput \
- $(ALL_DISSECTORS_SRC) \
- packet-dcerpc-nt.c
+ $(ALL_DISSECTORS_SRC) \
+ packet-dcerpc-nt.c
diff --git a/epan/ftypes/Makefile.am b/epan/ftypes/Makefile.am
index c0b6665e97..67f39d22c6 100644
--- a/epan/ftypes/Makefile.am
+++ b/epan/ftypes/Makefile.am
@@ -6,7 +6,6 @@
# By Gerald Combs <gerald@wireshark.org>
# 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
@@ -25,6 +24,8 @@ if HAVE_WARNINGS_AS_ERRORS
AM_CFLAGS = -Werror
endif
+include Makefile.common
+
noinst_LTLIBRARIES = libftypes.la
CLEANFILES = \
@@ -37,23 +38,14 @@ MAINTAINERCLEANFILES = \
INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/..
-libftypes_la_SOURCES = \
- ftypes.c \
- ftypes.h \
- ftypes-int.h \
- ftype-bytes.c \
- ftype-double.c \
- ftype-integer.c \
- ftype-ipv4.c \
- ftype-guid.c \
- ftype-none.c \
- ftype-pcre.c \
- ftype-string.c \
- ftype-time.c \
- ftype-tvbuff.c
+libftypes_la_SOURCES = $(NONGENERATED_C_FILES) $(NONGENERATED_HEADER_FILES)
libftypes_la_LIBADD = @GLIB_LIBS@ @PCRE_LIBS@
EXTRA_DIST = \
+ Makefile.common \
Makefile.nmake
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g termoutput \
+ $(NONGENERATED_C_FILES)
diff --git a/epan/ftypes/Makefile.common b/epan/ftypes/Makefile.common
new file mode 100644
index 0000000000..53d3b6728f
--- /dev/null
+++ b/epan/ftypes/Makefile.common
@@ -0,0 +1,47 @@
+# Makefile.common
+# Contains the stuff from Makefile.am and Makefile.nmake that is
+# a) common to both files and
+# b) portable between both files
+#
+# $Id$
+#
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
+# Copyright 1998 Gerald Combs
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# 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 = \
+ ftypes.c \
+ ftype-bytes.c \
+ ftype-double.c \
+ ftype-integer.c \
+ ftype-ipv4.c \
+ ftype-guid.c \
+ ftype-none.c \
+ ftype-pcre.c \
+ ftype-string.c \
+ ftype-time.c \
+ ftype-tvbuff.c
+
+# Header files that are not generated from other files
+NONGENERATED_HEADER_FILES = \
+ ftypes.h \
+ ftypes-int.h
diff --git a/epan/ftypes/Makefile.nmake b/epan/ftypes/Makefile.nmake
index 5cd5571b6f..7125476c24 100644
--- a/epan/ftypes/Makefile.nmake
+++ b/epan/ftypes/Makefile.nmake
@@ -15,20 +15,7 @@ CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
.c.obj::
$(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
-
-OBJECTS = \
- ftypes.obj \
- ftype-bytes.obj \
- ftype-double.obj \
- ftype-integer.obj \
- ftype-ipv4.obj \
- ftype-guid.obj \
- ftype-none.obj \
- ftype-pcre.obj \
- ftype-string.obj \
- ftype-time.obj \
- ftype-tvbuff.obj
-
+OBJECTS=$(NONGENERATED_C_FILES:.c=.obj)
ftypes.lib : $(OBJECTS)
link /lib /out:ftypes.lib $(OBJECTS)
@@ -42,14 +29,4 @@ maintainer-clean: distclean
checkapi:
$(PERL) ../../tools/checkAPIs.pl -g termoutput \
- ftypes.c \
- ftype-bytes.c \
- ftype-double.c \
- ftype-integer.c \
- ftype-ipv4.c \
- ftype-guid.c \
- ftype-none.c \
- ftype-pcre.c \
- ftype-string.c \
- ftype-time.c \
- ftype-tvbuff.c
+ $(NONGENERATED_C_FILES)
diff --git a/epan/wslua/Makefile.am b/epan/wslua/Makefile.am
index f476d20f2e..9482c0a27d 100644
--- a/epan/wslua/Makefile.am
+++ b/epan/wslua/Makefile.am
@@ -109,3 +109,18 @@ dummy:
init.lua: template-init.lua make-init-lua.pl ../ftypes/ftypes.h ../../wiretap/wtap.h ../proto.h ../../stat_menu.h
$(PERL) $(srcdir)/make-init-lua.pl $(srcdir) $(srcdir)/template-init.lua > init.lua
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g termoutput \
+ init_wslua.c \
+ register_wslua.c \
+ taps_wslua.c \
+ wslua_dumper.c \
+ wslua_field.c \
+ wslua_gui.c \
+ wslua_pinfo.c \
+ wslua_proto.c \
+ wslua_listener.c \
+ wslua_tree.c \
+ wslua_tvb.c \
+ wslua_util.c
diff --git a/epan/wslua/Makefile.nmake b/epan/wslua/Makefile.nmake
index 1631937f90..75bb183d12 100644
--- a/epan/wslua/Makefile.nmake
+++ b/epan/wslua/Makefile.nmake
@@ -86,13 +86,4 @@ checkapi:
$(MODULES) \
init_wslua.c \
register_wslua.c \
- taps_wslua.c \
- wslua_dumper.c \
- wslua_field.c \
- wslua_gui.c \
- wslua_pinfo.c \
- wslua_proto.c \
- wslua_listener.c \
- wslua_tree.c \
- wslua_tvb.c \
- wslua_util.c
+ taps_wslua.c
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index ed67ca417e..fef0ca8036 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -58,3 +58,10 @@ if HAVE_DOXYGEN
$(DOXYGEN) doxygen.cfg
endif # HAVE_DOXYGEN
+checkapi:
+ $(PERL) ../tools/checkAPIs.pl \
+ $(WIRESHARK_GTK_SRC) \
+ $(WIRESHARK_TAP_SRC) \
+ capture_if_details_dlg_win32.c \
+ file_dlg_win32.c \
+ print_win32.c
diff --git a/gtk/Makefile.nmake b/gtk/Makefile.nmake
index 559f2aabf5..11218b7510 100644
--- a/gtk/Makefile.nmake
+++ b/gtk/Makefile.nmake
@@ -153,4 +153,4 @@ checkapi:
$(WIRESHARK_TAP_SRC) \
capture_if_details_dlg_win32.c \
file_dlg_win32.c \
- print_win32.c \
+ print_win32.c
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 7454dc2bad..af5fa67a93 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -51,14 +51,16 @@ SUBDIRS = \
wimax \
wimaxasncp
-
plugindir = @plugindir@
-
EXTRA_DIST = \
Makefile.nmake
MAINTAINERCLEANFILES = \
Makefile.in
+checkapi:
+ for i in $(SUBDIRS); do \
+ (cd "$i"; $(MAKE) checkapi); \
+ done
diff --git a/plugins/agentx/Makefile.am b/plugins/agentx/Makefile.am
index 5f9de64cd3..d923004e4b 100644
--- a/plugins/agentx/Makefile.am
+++ b/plugins/agentx/Makefile.am
@@ -123,3 +123,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/artnet/Makefile.am b/plugins/artnet/Makefile.am
index 99a4cff757..708b4a6610 100644
--- a/plugins/artnet/Makefile.am
+++ b/plugins/artnet/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/asn1/Makefile.am b/plugins/asn1/Makefile.am
index 9574d9f461..30211fb98a 100644
--- a/plugins/asn1/Makefile.am
+++ b/plugins/asn1/Makefile.am
@@ -121,3 +121,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/ciscosm/Makefile.am b/plugins/ciscosm/Makefile.am
index fb76caf3d1..e9c3a8c745 100644
--- a/plugins/ciscosm/Makefile.am
+++ b/plugins/ciscosm/Makefile.am
@@ -124,3 +124,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/docsis/Makefile.am b/plugins/docsis/Makefile.am
index 116ae51a9c..844872af94 100644
--- a/plugins/docsis/Makefile.am
+++ b/plugins/docsis/Makefile.am
@@ -123,3 +123,6 @@ EXTRA_DIST = \
moduleinfo.nmake \
plugin.rc.in \
README
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/enttec/Makefile.am b/plugins/enttec/Makefile.am
index c9105cc25d..867e79ab3b 100644
--- a/plugins/enttec/Makefile.am
+++ b/plugins/enttec/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/ethercat/Makefile.am b/plugins/ethercat/Makefile.am
index c58cc1350f..f49afdeb84 100644
--- a/plugins/ethercat/Makefile.am
+++ b/plugins/ethercat/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/giop/Makefile.am b/plugins/giop/Makefile.am
index 9dcbf3e543..6fed5059cc 100644
--- a/plugins/giop/Makefile.am
+++ b/plugins/giop/Makefile.am
@@ -64,3 +64,10 @@ MAINTAINERCLEANFILES = \
EXTRA_DIST = \
Makefile.nmake
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput \
+ packet-cosnaming.c \
+ packet-coseventcomm.c \
+ packet-tango.c \
+ packet-parlay.c
diff --git a/plugins/giop/Makefile.nmake b/plugins/giop/Makefile.nmake
index 11cd17094f..ee8bdf777c 100644
--- a/plugins/giop/Makefile.nmake
+++ b/plugins/giop/Makefile.nmake
@@ -56,4 +56,3 @@ checkapi:
packet-coseventcomm.c \
packet-tango.c \
packet-parlay.c
-
diff --git a/plugins/gryphon/Makefile.am b/plugins/gryphon/Makefile.am
index 69ce541614..e505dbe98b 100644
--- a/plugins/gryphon/Makefile.am
+++ b/plugins/gryphon/Makefile.am
@@ -124,3 +124,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/infiniband/Makefile.am b/plugins/infiniband/Makefile.am
index d066afd8bd..2b4f001ad2 100644
--- a/plugins/infiniband/Makefile.am
+++ b/plugins/infiniband/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/irda/Makefile.am b/plugins/irda/Makefile.am
index b64f10f9c2..221bf3ba2e 100644
--- a/plugins/irda/Makefile.am
+++ b/plugins/irda/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/lwres/Makefile.am b/plugins/lwres/Makefile.am
index 1c5fa4a2fc..da1e8d4758 100644
--- a/plugins/lwres/Makefile.am
+++ b/plugins/lwres/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/m2m/Makefile.am b/plugins/m2m/Makefile.am
index 54fd96178a..a8ff6d66e4 100644
--- a/plugins/m2m/Makefile.am
+++ b/plugins/m2m/Makefile.am
@@ -123,3 +123,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/mate/Makefile.am b/plugins/mate/Makefile.am
index bb027aeacc..13edc84a3d 100644
--- a/plugins/mate/Makefile.am
+++ b/plugins/mate/Makefile.am
@@ -143,3 +143,6 @@ mate_grammar.h : mate_grammar.c
mate_grammar.c : mate_grammar.lemon mate.h mate_util.h $(LEMON)/lemon$(EXEEXT)
$(LEMON)/lemon$(EXEEXT) t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/mate_grammar.lemon || \
(rm -f grammar.c grammar.h ; false)
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/opcua/Makefile.am b/plugins/opcua/Makefile.am
index e95e7100a4..ec29130921 100644
--- a/plugins/opcua/Makefile.am
+++ b/plugins/opcua/Makefile.am
@@ -125,3 +125,6 @@ EXTRA_DIST = \
moduleinfo.nmake \
plugin.rc.in \
README
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/opsi/Makefile.am b/plugins/opsi/Makefile.am
index caf3e5fa97..c1454eb22c 100644
--- a/plugins/opsi/Makefile.am
+++ b/plugins/opsi/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/pcli/Makefile.am b/plugins/pcli/Makefile.am
index 11b6b6e9f3..989c7ef32a 100644
--- a/plugins/pcli/Makefile.am
+++ b/plugins/pcli/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/profinet/Makefile.am b/plugins/profinet/Makefile.am
index 61fef3b3ad..66239ac3e5 100644
--- a/plugins/profinet/Makefile.am
+++ b/plugins/profinet/Makefile.am
@@ -123,3 +123,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/rlm/Makefile.am b/plugins/rlm/Makefile.am
index f858b6f2d0..faf807b8d0 100644
--- a/plugins/rlm/Makefile.am
+++ b/plugins/rlm/Makefile.am
@@ -123,3 +123,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/rtnet/Makefile.am b/plugins/rtnet/Makefile.am
index 68052aa5d4..03d64ac681 100644
--- a/plugins/rtnet/Makefile.am
+++ b/plugins/rtnet/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/rudp/Makefile.am b/plugins/rudp/Makefile.am
index ce700dd182..0bb3185b0e 100644
--- a/plugins/rudp/Makefile.am
+++ b/plugins/rudp/Makefile.am
@@ -123,3 +123,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/sbus/Makefile.am b/plugins/sbus/Makefile.am
index 96f6fdaaec..5a899e74de 100644
--- a/plugins/sbus/Makefile.am
+++ b/plugins/sbus/Makefile.am
@@ -121,3 +121,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/sercosiii/Makefile.am b/plugins/sercosiii/Makefile.am
index d5e0ac7cb0..574912ceee 100644
--- a/plugins/sercosiii/Makefile.am
+++ b/plugins/sercosiii/Makefile.am
@@ -124,3 +124,6 @@ EXTRA_DIST = \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/stats_tree/Makefile.am b/plugins/stats_tree/Makefile.am
index 0ce23fa85e..6c60e3c8ba 100644
--- a/plugins/stats_tree/Makefile.am
+++ b/plugins/stats_tree/Makefile.am
@@ -55,3 +55,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/tpg/Makefile.am b/plugins/tpg/Makefile.am
index e0f6df7579..9092aa92e3 100644
--- a/plugins/tpg/Makefile.am
+++ b/plugins/tpg/Makefile.am
@@ -73,3 +73,6 @@ $(TPG)/TPG.pm: $(TPG)/TPG.yp
http-parser.c: http.tpg $(TPG)/tpg.pl $(TPG)/TPG.pm
$(PERL) -I$(TPG) $(TPG)/tpg.pl http.tpg
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/unistim/Makefile.am b/plugins/unistim/Makefile.am
index 0fb2fdb700..84122c3ef0 100644
--- a/plugins/unistim/Makefile.am
+++ b/plugins/unistim/Makefile.am
@@ -124,3 +124,6 @@ EXTRA_DIST = \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/v5ua/Makefile.am b/plugins/v5ua/Makefile.am
index 6ab2e7a781..77a7a592b0 100644
--- a/plugins/v5ua/Makefile.am
+++ b/plugins/v5ua/Makefile.am
@@ -122,3 +122,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/wimax/Makefile.am b/plugins/wimax/Makefile.am
index 70976f51ed..67e275001a 100644
--- a/plugins/wimax/Makefile.am
+++ b/plugins/wimax/Makefile.am
@@ -123,3 +123,6 @@ EXTRA_DIST = \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/plugins/wimaxasncp/Makefile.am b/plugins/wimaxasncp/Makefile.am
index 98cec54a60..e88d7aae81 100644
--- a/plugins/wimaxasncp/Makefile.am
+++ b/plugins/wimaxasncp/Makefile.am
@@ -143,3 +143,6 @@ wimaxasncp_dict.c: wimaxasncp_dict.h
wimaxasncpdir = $(pkgdatadir)/wimaxasncp
+
+checkapi:
+ $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC)
diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am
index 0aeccfe9f5..07929cb17b 100644
--- a/wiretap/Makefile.am
+++ b/wiretap/Makefile.am
@@ -83,3 +83,6 @@ ascend-grammar.c ascend-grammar.h: ascend-grammar.y
exit 1; \
fi
$(YACC) -d -p ascend -o ascend-grammar.c $(srcdir)/ascend-grammar.y
+
+checkapi:
+ $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput $(NONGENERATED_C_FILES) $(GENERATOR_FILES)
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am
index 0db6f97601..08944cc917 100644
--- a/wsutil/Makefile.am
+++ b/wsutil/Makefile.am
@@ -52,3 +52,7 @@ CLEANFILES = \
MAINTAINERCLEANFILES = \
Makefile.in
+checkapi:
+ $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \
+ $(LIBWSUTIL_SRC)
+# file_util.c