aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-02-19 18:59:08 +0000
committerGuy Harris <guy@alum.mit.edu>2012-02-19 18:59:08 +0000
commitb4ffaa9be048df48747f247031eb2a27aa3be607 (patch)
tree151db6f05e8351b67b3350d657084187f15a5519
parent9bbaa4875625b9626159f1134a1aefc4fee18ad1 (diff)
Put back the comment for the rule to generate wireshark-tap-register.c.
svn path=/trunk/; revision=41069
-rw-r--r--ui/gtk/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/gtk/Makefile.am b/ui/gtk/Makefile.am
index e98e07d260..1b01c736ee 100644
--- a/ui/gtk/Makefile.am
+++ b/ui/gtk/Makefile.am
@@ -43,6 +43,20 @@ RUNLEX=$(top_srcdir)/tools/runlex.sh
text_import_scanner_lex.h: text_import_scanner.c
+#
+# Build "wireshark-tap-register.c", which contains a function
+# "register_all_tap_listeners()"
+# that calls the register routines for all wireshark tap listeners.
+#
+# We do this by grepping through sources.
+#
+# Formatting conventions: The name of the tap_listener_register_*
+# routines must start in column zero, or must be preceded only by
+# "void " starting in column zero, and must not be inside #if.
+#
+# The first argument is the directory in which the source files live.
+# All subsequent arguments are the files to scan.
+#
wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/tools/make-tapreg-dotc
@echo Making wireshark-tap-register.c
@$(top_srcdir)/tools/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC)