diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-14 20:33:57 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-14 20:33:57 +0000 |
commit | 1175d841a11fc804b8fe7c3a84d3bad967fdc944 (patch) | |
tree | 97ab3ed42dd7c943f067a2cb2243b19f8978aff5 /tools | |
parent | c214c529dbb4533026b329f0132d045b0d5c9681 (diff) |
Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13402 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/Makefile.nmake | 5 | ||||
-rw-r--r-- | tools/lemon/Makefile.nmake | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/Makefile.nmake b/tools/Makefile.nmake index 018733d60c..fa6e388e97 100755 --- a/tools/Makefile.nmake +++ b/tools/Makefile.nmake @@ -15,6 +15,11 @@ distclean: clean $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean cd .. +maintainer-clean: distclean + cd lemon + $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean + cd .. + lemon:: cd lemon $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake diff --git a/tools/lemon/Makefile.nmake b/tools/lemon/Makefile.nmake index bbbc7244b8..51d54a6594 100644 --- a/tools/lemon/Makefile.nmake +++ b/tools/lemon/Makefile.nmake @@ -16,3 +16,5 @@ clean: rm -f lemon.obj lemon.exe lemon.ilk $(PDB_FILE) lemon.pdb distclean: clean + +maintainer-clean: distclean |