diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-02-06 09:51:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-02-06 09:51:33 +0000 |
commit | c0afc1df765007e451ee1a06410111b7346b01f0 (patch) | |
tree | 34a0dc69529ad653492ca449bc6458d16119301f /plugins/mate | |
parent | a7ae83ff953200dff01910a06fc925b346a6dbc5 (diff) | |
download | wireshark-c0afc1df765007e451ee1a06410111b7346b01f0.tar.gz |
Only remove Flex-generated files with "nmake distclean", not all
generated files.
Remove all generated files with "nmake maintainer-clean".
svn path=/trunk/; revision=47514
Diffstat (limited to 'plugins/mate')
-rw-r--r-- | plugins/mate/Makefile.nmake | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake index 5f857e1a0e..8f8708cdd4 100644 --- a/plugins/mate/Makefile.nmake +++ b/plugins/mate/Makefile.nmake @@ -101,23 +101,23 @@ clean: $(PLUGIN_NAME).dll $(PLUGIN_NAME).dll.manifest $(PLUGIN_NAME).lib \ $(PLUGIN_NAME).exp $(PLUGIN_NAME).rc -# We remove the generated files with "distclean" because files generated -# by Flex need different #includes for UN*X and Windows (UN*X versions of -# Flex make it include <unistd.h>, but that's a UN*X-only header), so if -# you're going to build from source, you need to re-generate the files -# from the distribution that were generated by Flex. # -# This might not be necessary for files generated by other tools not -# distributed with Wireshark, but we handle them the same for now. +# We remove the Flex-generated files with "distclean" because files +# generated by Flex need different #includes for UN*X and Windows (UN*X +# versions of Flex make it include <unistd.h>, but that's a UN*X-only +# header), so if you're going to build from source, you need to re-generate +# the files from the distribution that were generated by Flex. # distclean: clean - rm -f $(GENERATED_SRC_FILES) \ - $(GENERATED_HEADER_FILES) \ + rm -f $(FLEX_GENERATED_SRC_FILES) \ + $(FLEX_GENERATED_HEADER_FILES) \ $(NODIST_GENERATED_SRC_FILES) \ $(NODIST_GENERATED_HEADER_FILES) \ mate_grammar.out maintainer-clean: distclean + rm -f $(GENERATED_SRC_FILES) \ + $(GENERATED_HEADER_FILES) RUNLEX = ..\..\tools\runlex.sh |