aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-04 22:22:53 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-04 22:22:53 +0000
commit3072c087f4bb860d2568a6584a91c438aa430c0f (patch)
tree0a345f65d7d19dcfbc5a385508fcb9f3703d9880 /plugins/mate
parent5fcd5c218f9cb4e389764ccafe5a7e91d995b6fe (diff)
Put in comments explaining why we're removing some generated files with
"make distclean", even though they come with the distribution, and make the one in plugins/xml/Makefile.nmake match the one in some other files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15214 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/mate')
-rw-r--r--plugins/mate/Makefile.nmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake
index 63d22bc16a..318391e303 100644
--- a/plugins/mate/Makefile.nmake
+++ b/plugins/mate/Makefile.nmake
@@ -38,6 +38,15 @@ mate.dll mate.exp mate.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
clean:
rm -f $(OBJECTS) mate.dll mate.exp mate.lib *.pdb
+#
+# We remove the generated files with "distclean" because one of them,
+# "mate_parser.c", needs 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 build "mate_parser.c" from "mate_parser.l" with Flex.
+# This might not be necessary for "mate_grammar.{c,h}", but we handle them
+# the same for now.
+#
distclean: clean
rm -f mate_parser.c mate_grammar.c mate_grammar.h mate_grammar.out