aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-10 21:31:53 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-10 21:31:53 +0000
commit02e1d2680aaa15b86569be90846e95998d703162 (patch)
tree865029dcf9c7e8004063c95dc45f610149edf0bc /Makefile.nmake
parent04cd6b60742277df0002b89386696f2ebaa04df2 (diff)
Give every Makefile.nmake file a "distclean" rule, and have "distclean"
recurse into subdirectories doing "nmake -f Makefile.nmake distclean". Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean" doesn't remove (such as Flex/Bison output and config.h files) - and have "nmake -f Makefile.nmake distclean" remove stuff that "make distclean" removes, including "tethereal-tap-register.c" and "ethereal-tap-register.c". svn path=/trunk/; revision=8672
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake26
1 files changed, 22 insertions, 4 deletions
diff --git a/Makefile.nmake b/Makefile.nmake
index c669f3694e..c3b8bcdc99 100644
--- a/Makefile.nmake
+++ b/Makefile.nmake
@@ -1,7 +1,7 @@
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
-# $Id: Makefile.nmake,v 1.346 2003/10/10 21:16:23 guy Exp $
+# $Id: Makefile.nmake,v 1.347 2003/10/10 21:31:46 guy Exp $
include config.nmake
include <win32.mak>
@@ -668,8 +668,8 @@ clean:
rm -f $(ethereal_OBJECTS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS) \
$(EXECUTABLES) $(PDB_FILE) \
editcap.obj mergecap.obj text2pcap.obj \
- text2pcap-scanner.obj text2pcap-scanner.c register.c \
- rdps.obj rdps.pdb config.h ps.c \
+ text2pcap-scanner.obj text2pcap-scanner.c rdps.obj \
+ rdps.pdb config.h ps.c \
rdps.exe rdps.ilk dftest.obj dftest.exe randpkt.obj randpkt.ext \
$(RESOURCES)
cd wiretap
@@ -693,7 +693,25 @@ clean:
# Call distclean only, if you would like to remove ALL generated files.
# Be sure to have python and perl installed to regenerate them.
distclean: clean
- rm -f x11-declarations.h x11-register-info.h packet-ncp2222.c
+ rm -f x11-declarations.h x11-register-info.h packet-ncp2222.c \
+ register.c tethereal-tap-register.c
+ cd wiretap
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../gtk
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../epan
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../plugins
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../tools
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../image
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../doc
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../packaging/nsis
+ $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+ cd ../..
tools::
cd tools