aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mate/Makefile.common')
-rw-r--r--plugins/mate/Makefile.common47
1 files changed, 35 insertions, 12 deletions
diff --git a/plugins/mate/Makefile.common b/plugins/mate/Makefile.common
index e585b4c3e2..2f3a1e4f08 100644
--- a/plugins/mate/Makefile.common
+++ b/plugins/mate/Makefile.common
@@ -33,9 +33,15 @@ PLUGIN_NAME = mate
# from a tarball (e.g., make and a C compiler are assumed to be present,
# but Flex isn't).
#
-GENERATED_DISSECTOR_SUPPORT_C_FILES = \
+GENERATED_DISSECTOR_C_FILES =
+
+GENERATED_DISSECTOR_CPP_FILES =
+
+GENERATED_SUPPORT_C_FILES = \
mate_parser.c
+GENERATED_SUPPORT_CPP_FILES =
+
GENERATED_HEADER_FILES = \
mate_parser_lex.h
@@ -43,35 +49,52 @@ GENERATED_HEADER_FILES = \
# We distribute Lemon with Wireshark, so we don't distribute the files
# it produces.
#
-GENERATED_DISSECTOR_SUPPORT_NODIST_C_FILES = \
+NODIST_GENERATED_DISSECTOR_C_FILES =
+
+NODIST_GENERATED_DISSECTOR_CPP_FILES =
+
+NODIST_GENERATED_SUPPORT_C_FILES = \
mate_grammar.c
-GENERATED_NODIST_HEADER_FILES = \
+NODIST_GENERATED_SUPPORT_CPP_FILES =
+
+NODIST_GENERATED_HEADER_FILES = \
mate_grammar.h
# the dissector sources (without any helpers)
-DISSECTOR_SRC = \
- $(GENERATED_DISSECTOR_SRC) \
+DISSECTOR_C_FILES = \
+ $(GENERATED_DISSECTOR_C_FILES) \
packet-mate.c
+DISSECTOR_CPP_FILES = \
+ $(GENERATED_DISSECTOR_CPP_FILES)
+
# Dissector helpers that are distributed. They're included in the source
# files in this directory, but they're not dissectors themselves, i.e.
# they're not used to generate "register.c").
-DISSECTOR_SUPPORT_SRC = \
- $(GENERATED_DISSECTOR_SUPPORT_C_FILES) \
+SUPPORT_C_FILES = \
+ $(GENERATED_SUPPORT_C_FILES) \
mate_setup.c \
mate_runtime.c \
mate_util.c
+SUPPORT_CPP_FILES = \
+ $(GENERATED_SUPPORT_CPP_FILES)
+
# Dissector helpers that aren't distributed.
-DISSECTOR_SUPPORT_NODIST_SRC = \
- $(GENERATED_DISSECTOR_SUPPORT_NODIST_C_FILES)
+NODIST_SUPPORT_C_FILES = \
+ $(NODIST_GENERATED_SUPPORT_C_FILES)
+
+NODIST_SUPPORT_CPP_FILES = \
+ $(NODIST_GENERATED_SUPPORT_CPP_FILES)
# Headers.
-DISSECTOR_INCLUDES = \
+HEADER_FILES = \
$(GENERATED_HEADER_FILES) \
mate.h \
mate_util.h
-DISSECTOR_NODIST_INCLUDES = \
- $(GENERATED_NODIST_HEADER_FILES)
+NODIST_HEADER_FILES = \
+ $(NODIST_GENERATED_HEADER_FILES)
+
+include ../Makefile.common.inc