diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-12 19:50:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-12 19:50:45 +0000 |
commit | 75b9062c448e89b78261c3fb856684f776cb302c (patch) | |
tree | 9d5a6645e8bfaf522aeb8ac52d00c8e9a26820ab | |
parent | 019ed9005f9ca0e450750eb303ef13511c945c39 (diff) |
Get rid of "dtd_grammar.out" on a "make distclean".
Get rid of all the Flex-generated (and Lemon-generated) files on a
"nmake -f Makefile.nmake distclean".
svn path=/trunk/; revision=15770
-rw-r--r-- | epan/Makefile.am | 7 | ||||
-rw-r--r-- | epan/Makefile.nmake | 16 |
2 files changed, 14 insertions, 9 deletions
diff --git a/epan/Makefile.am b/epan/Makefile.am index 9732d7a9da..ba7458e7fc 100644 --- a/epan/Makefile.am +++ b/epan/Makefile.am @@ -69,10 +69,11 @@ CLEANFILES = \ *~ DISTCLEANFILES = \ - dtd_grammar.c \ - dtd_grammar.h \ + dtd_grammar.out \ + dtd_grammar.c \ + dtd_grammar.h \ dtd_parse.c \ - dtd_preparse.c \ + dtd_preparse.c \ radius_dict.c diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake index 281d2fda55..480e6af33c 100644 --- a/epan/Makefile.nmake +++ b/epan/Makefile.nmake @@ -85,14 +85,18 @@ 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. +# We remove the Flex-generated files with "distclean" because they 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 build those scanners from the +# corresponding ".l" files with Flex. +# This might not be necessary for "dtd_grammar.{c,h}", but we handle them +# the same for now. # distclean: clean - rm -f config.h register.c mkstemp.c strptime.c radius_dict.c + rm -f config.h register.c mkstemp.c strptime.c radius_dict.c \ + dtd_grammar.out dtd_grammar.c dtd_grammar.h dtd_parse.c \ + dtd_preparse.c cd ftypes $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean cd ../dfilter |