summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-04 22:22:53 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-04 22:22:53 +0000
commit3d1dfa4f67eabbb32c30776cfd40e66d3f8d93d9 (patch)
tree0a345f65d7d19dcfbc5a385508fcb9f3703d9880
parentcf3b50f1ce155dd61464bdbb5caabbe4db6392af (diff)
downloadwireshark-3d1dfa4f67eabbb32c30776cfd40e66d3f8d93d9.tar.gz
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. svn path=/trunk/; revision=15214
-rw-r--r--epan/Makefile.nmake7
-rw-r--r--plugins/mate/Makefile.nmake9
-rw-r--r--plugins/xml/Makefile.nmake10
3 files changed, 21 insertions, 5 deletions
diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake
index cc2a250e4a..1463a3ef9c 100644
--- a/epan/Makefile.nmake
+++ b/epan/Makefile.nmake
@@ -84,6 +84,13 @@ clean:
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ..
+#
+# We remove "radius_dict.c" with "distclean" because it 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 "radius_dict.c" from "radius_dict.l"
+# with Flex.
+#
distclean: clean
rm -f config.h register.c mkstemp.c strptime.c radius_dict.c
cd ftypes
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
diff --git a/plugins/xml/Makefile.nmake b/plugins/xml/Makefile.nmake
index 9d910c5909..e2820a15ea 100644
--- a/plugins/xml/Makefile.nmake
+++ b/plugins/xml/Makefile.nmake
@@ -34,11 +34,11 @@ clean:
rm -f $(OBJECTS) xml.dll xml.exp xml.lib *.pdb
#
-# We remove the generated files with "distclean" because one of them,
-# "xml_lexer.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 "xml_lexer.c" from "xml_lexer.l" with Flex.
+# We remove "xml_lexter.c" with "distclean" because it 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 "xml_lexer.c" from "xml_lexer.l" with
+# Flex.
#
distclean: clean
rm -f xml_lexer.c