aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.am.inc
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-10-18 23:37:49 +0100
committerJoão Valverde <j@v6e.pt>2017-10-20 04:37:16 +0000
commite6e8b7b662419466a264201a6d08af2dc9a737e9 (patch)
treea4fbb48640dacaeaca3926ff7470a211d24b37d4 /plugins/Makefile.am.inc
parentd64c300522ffa830e061adeb81e75255b3f955ac (diff)
autotools: Sort out how we handle plugin.c
Change-Id: Ie9570a63a1479021753807f76dd5e98fbbec7b86 Reviewed-on: https://code.wireshark.org/review/23995 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'plugins/Makefile.am.inc')
-rw-r--r--plugins/Makefile.am.inc20
1 files changed, 1 insertions, 19 deletions
diff --git a/plugins/Makefile.am.inc b/plugins/Makefile.am.inc
index 5d905c2840..0f58a827b7 100644
--- a/plugins/Makefile.am.inc
+++ b/plugins/Makefile.am.inc
@@ -147,7 +147,7 @@ CPP_FILES = \
$(NONGENERATED_CPP_FILES)
#
-# Build plugin.c, which contains the plugin version[] string, a
+# Build plugin.c, which contains the plugin_version[] string, a
# function plugin_register() that calls the register routines for all
# protocols, and a function plugin_reg_handoff() that calls the handoff
# registration routines for all protocols.
@@ -179,24 +179,6 @@ plugin.c: $(REGISTER_SRC_FILES) $(top_srcdir)/tools/make-dissector-reg.py
@$(PYTHON) $(top_srcdir)/tools/make-dissector-reg.py $(srcdir) \
plugin $(REGISTER_SRC_FILES)
-#
-# Currently plugin.c can be included in the distribution because
-# we always build all protocol dissectors. We used to have to check
-# whether or not to build the snmp dissector. If we again need to
-# variably build something, making plugin.c non-portable, uncomment
-# the dist-hook line below.
-#
-# Oh, yuk. We don't want to include "plugin.c" in the distribution, as
-# its contents depend on the configuration, and therefore we want it
-# to be built when the first "make" is done; however, Automake insists
-# on putting *all* source into the distribution.
-#
-# We work around this by having a "dist-hook" rule that deletes
-# "plugin.c", so that "dist" won't pick it up.
-#
-#dist-hook:
-# @rm -f $(distdir)/plugin.c
-
checkapi:
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \
-sourcedir=$(srcdir) \