diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-02-08 04:20:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-02-08 04:20:32 +0000 |
commit | ddd4e48890cf16a469053b928690b11e02a3dd38 (patch) | |
tree | e8596ed6eb57484b2b14652180dae00ac39d290a /plugins/mate/Makefile.nmake | |
parent | fad8b88242bf64663156c6bb13e354679115bec0 (diff) |
We don't care what source files are "dissector" source files, we only
need to care whether source files should be scanned for registration
functions.
Reduce the number of macros we define in Makefile.common.inc, getting
rid of some only used internally.
svn path=/trunk/; revision=47556
Diffstat (limited to 'plugins/mate/Makefile.nmake')
-rw-r--r-- | plugins/mate/Makefile.nmake | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake index 8f8708cdd4..c9fd4f4ad5 100644 --- a/plugins/mate/Makefile.nmake +++ b/plugins/mate/Makefile.nmake @@ -65,8 +65,7 @@ $(PLUGIN_NAME).dll $(PLUGIN_NAME).exp $(PLUGIN_NAME).lib : $(OBJECTS) $(LINK_PLU # preceded only by "void " starting in column zero, and must not be # inside #if. # -# DISSECTOR_SRC_FILES and NODIST_DISSECTOR_SRC_FILES are assumed to have -# all the files that need to be scanned. +# REGISTER_SRC_FILES is assumed to have all the files that need to be scanned. # # For some unknown reason, having a big "for" loop in the Makefile # to scan all the files doesn't work with some "make"s; they seem to @@ -85,13 +84,13 @@ $(PLUGIN_NAME).dll $(PLUGIN_NAME).exp $(PLUGIN_NAME).lib : $(OBJECTS) $(LINK_PLU # All subsequent arguments are the files to scan. # !IFDEF PYTHON -plugin.c: $(DISSECTOR_SRC_FILES) moduleinfo.h Makefile.common ../../tools/make-dissector-reg.py +plugin.c: $(REGISTER_SRC_FILES) moduleinfo.h Makefile.common ../../tools/make-dissector-reg.py @echo Making plugin.c (using python) - @$(PYTHON) "../../tools/make-dissector-reg.py" . plugin $(DISSECTOR_SRC_FILES) $(NODIST_DISSECTOR_SRC_FILES) + @$(PYTHON) "../../tools/make-dissector-reg.py" . plugin $(REGISTER_SRC_FILES) $(NODIST_REGISTER_SRC_FILES) !ELSE -plugin.c: $(DISSECTOR_SRC_FILES) moduleinfo.h Makefile.common ../../tools/make-dissector-reg +plugin.c: $(REGISTER_SRC_FILES) moduleinfo.h Makefile.common ../../tools/make-dissector-reg @echo Making plugin.c (using sh) - @$(SH) ../../tools/make-dissector-reg . plugin $(DISSECTOR_SRC_FILES) $(NODIST_DISSECTOR_SRC_FILES) + @$(SH) ../../tools/make-dissector-reg . plugin $(REGISTER_SRC_FILES) $(NODIST_REGISTER_SRC_FILES) !ENDIF !ENDIF |