aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.common.inc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-02-08 05:31:13 +0000
committerGuy Harris <guy@alum.mit.edu>2013-02-08 05:31:13 +0000
commita52fedeece2fc40b06e115a6ac4a9122c805d2da (patch)
tree714c4f69e5d121b84810027f840d63873fd057cb /plugins/Makefile.common.inc
parentddd4e48890cf16a469053b928690b11e02a3dd38 (diff)
Stick NONGENERATED_ in the front of the macros listing non-generated
files. Define C_FILES and CPP_FILES in Makefile.common.inc to include *all* C and C++ files, respectively, including generated files. svn path=/trunk/; revision=47557
Diffstat (limited to 'plugins/Makefile.common.inc')
-rw-r--r--plugins/Makefile.common.inc24
1 files changed, 18 insertions, 6 deletions
diff --git a/plugins/Makefile.common.inc b/plugins/Makefile.common.inc
index e04357ac04..5ee80f5b7b 100644
--- a/plugins/Makefile.common.inc
+++ b/plugins/Makefile.common.inc
@@ -65,8 +65,8 @@ REGISTER_SRC_FILES = \
$(FLEX_GENERATED_REGISTER_CPP_FILES) \
$(LEMON_GENERATED_REGISTER_C_FILES) \
$(LEMON_GENERATED_REGISTER_CPP_FILES) \
- $(REGISTER_C_FILES) \
- $(REGISTER_CPP_FILES)
+ $(NONGENERATED_REGISTER_C_FILES) \
+ $(NONGENERATED_REGISTER_CPP_FILES)
#
# All distributed source files.
@@ -74,8 +74,8 @@ REGISTER_SRC_FILES = \
SRC_FILES = \
$(FLEX_GENERATED_C_FILES) \
$(FLEX_GENERATED_CPP_FILES) \
- $(C_FILES) \
- $(CPP_FILES)
+ $(NONGENERATED_C_FILES) \
+ $(NONGENERATED_CPP_FILES)
#
# All non-distributed source files.
@@ -100,5 +100,17 @@ GENERATED_SRC_FILES = \
# Lemon-generated files can currently be guaranteed to be clean.
#
CLEAN_SRC_FILES = \
- $(C_FILES) \
- $(CPP_FILES)
+ $(NONGENERATED_C_FILES) \
+ $(NONGENERATED_CPP_FILES)
+
+# C source files
+C_FILES = \
+ $(FLEX_GENERATED_C_FILES) \
+ $(LEMON_GENERATED_C_FILES) \
+ $(NONGENERATED_C_FILES)
+
+# C++ source files
+CPP_FILES = \
+ $(FLEX_GENERATED_CPP_FILES) \
+ $(LEMON_GENERATED_CPP_FILES) \
+ $(NONGENERATED_CPP_FILES)