nt-makefile-clean-targets-20010917
authorWalter Wong <wcw@cmu.edu>
Mon, 17 Sep 2001 20:35:09 +0000 (20:35 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 17 Sep 2001 20:35:09 +0000 (20:35 +0000)
more work on providing a clean target for nt

14 files changed:
src/WINNT/afsadmsvr/NTMakefile
src/WINNT/license/lang/NTMakefile
src/auth/NTMakefile
src/bozo/NTMakefile
src/bucoord/NTMakefile
src/budb/NTMakefile
src/cmd/NTMakefile
src/des/NTMakefile
src/kauth/NTMakefile
src/rxstat/NTMakefile
src/tbutc/NTMakefile
src/ubik/NTMakefile
src/update/NTMakefile
src/volser/NTMakefile

index 6e58104..0e5de4c 100644 (file)
@@ -123,11 +123,21 @@ afsapplib_primary :
        nmake /nologo /f ntmakefile primary
        $(CD) ..\afsadmsvr
 
+afsapplib_clean :
+       $(CD) ..\afsapplib
+       nmake /nologo /f ntmakefile clean
+       $(CD) ..\afsadmsvr
+
 afsclass_primary :
        $(CD) ..\afsclass
        nmake /nologo /f ntmakefile primary
        $(CD) ..\afsadmsvr
 
+afsclass_clean :
+       $(CD) ..\afsclass
+       nmake /nologo /f ntmakefile clean
+       $(CD) ..\afsadmsvr
+
 $(EXEFILE) : $(EXEOBJS) $(EXELIBS)
        $(EXECONLINK)  $(VCLIBS)
        $(EXEPREP) 
@@ -141,7 +151,7 @@ install : \
        afsclass_primary \
        $(EXEFILE)
 
-clean::
+clean:: afsclass_clean afsapplib_clean
        if exist ITaAfsAdmSvr*.cpp del ITaAfsAdmSvr*.cpp
        if exist ITaAfsAdmSvr*.c del ITaAfsAdmSvr*.c
        if exist ITaAfsAdmSvr*.h del ITaAfsAdmSvr*.h
index 09c3572..89c7844 100644 (file)
@@ -24,3 +24,5 @@ install :
     @$(DESTDIR)\bin\sgml2rtf -1252 es_ES.ide
     @$(DESTDIR)\bin\sgml2rtf -1252 de_DE.ide
 
+clean :: 
+       $(DEL) *.rtf
index c9aa3af..5d9cb48 100644 (file)
@@ -108,6 +108,7 @@ install9x: install
 clean::
        $(DEL) acfg_errors.c ktc_errors.c
        $(DEL) $(INCFILEDIR)\auth.h  $(INCFILEDIR)\cellconfig.h
-
+       $(DEL) auth.h  cellconfig.h
 
 setkey: $(SETKEY_EXEFILE)
+
index bccef34..4653dc8 100644 (file)
@@ -144,3 +144,4 @@ install: $(BOS_LIBFILE) $(BOSSERVER_EXEFILE) $(CL_BOS_EXEFILE) $(INCFILES)
 # Local clean target; augments predefined clean target
 
 clean::
+       $(DEL) bnode.h boserr.c bosint.cs.c bosint.h bosint.ss.c bosint.xdr.c
index 79c59d8..bc2437b 100644 (file)
@@ -110,4 +110,5 @@ install: $(INCFILES) $(LIBFILE) $(EXEFILE)
 # Local clean target; augments predefined clean target
 
 clean::
+       $(DEL) bc.h bucoord_errs.c
 
index 08da52d..278bf71 100644 (file)
@@ -116,5 +116,4 @@ install: $(INCFILES) $(LIBFILE) $(EXEFILE)
 
 clean::
        $(DEL) budb_errs.c budb_errs.h budb.h budb_client.h     
-
-
+       $(DEL) budb.cs.c budb.ss.c budb.xdr.c
index 2661949..2d2fa57 100644 (file)
@@ -38,7 +38,7 @@ install: $(LIBFILE) $(INCFILES)
 install9x: install
 
 clean::
-       $(DEL) cmd_errors.c
+       $(DEL) cmd_errors.c cmd.h
        $(DEL) $(LIBFILE)
 
 test tests:
index 1f15d97..2c47be4 100644 (file)
@@ -138,4 +138,5 @@ install: $(GENERATED_FILES) $(LIBFILE) $(INCFILES)
 install9x: install
 
 clean::
-       $(DEL) $(LIBFILE)
\ No newline at end of file
+       $(DEL) $(LIBFILE) $(GENERATED_FILES)
+
index 7a48d4c..def0154 100644 (file)
@@ -219,6 +219,6 @@ $(DESTDIR)\etc\kas.exe:  $(DESTDIR)\root.server\usr\afs\bin\kas.exe
 
 clean::
        $(DEL) $(KPASSWD_EXEFILE)
-
-
+       $(DEL) kauth.cs.c kauth.h kauth.ss.c kauth.xdr.c kautils.h
+       $(DEL) kaerrors.c
 
index b1359e9..0037dc5 100644 (file)
@@ -35,3 +35,7 @@ rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h: rxstat.xg
 install: $(LIBFILE) $(INCFILES)
 
 install9x: install
+
+clean::
+       $(DEL) rxstat.cs.c rxstat.h rxstat.ss.c rxstat.xdr.c
+
index 15afcf4..6d3ec64 100644 (file)
@@ -56,12 +56,10 @@ BUTCLIBS=$(DESTDIR)\lib\afs\afsbudb.lib  \
             $(DESTDIR)\lib\afs\afskauth.lib \
             $(DESTDIR)\lib\afsubik.lib \
             $(DESTDIR)\lib\afs\afsauth.lib \
-\
             $(DESTDIR)\lib\afsrpc.lib \
              $(DESTDIR)\lib\afsrxkad.lib \
             $(DESTDIR)\lib\afsrx.lib \
              $(DESTDIR)\lib\afslwp.lib \
-\
              $(DESTDIR)\lib\afs\afsutil.lib \
              $(DESTDIR)\lib\afs\afsusd.lib \
             $(DESTDIR)\lib\afs\afspioctl.lib \
@@ -77,6 +75,7 @@ BUTCLIBS=$(DESTDIR)\lib\afs\afsbudb.lib  \
 !ENDIF
             $(DESTDIR)\lib\afsdes.lib
 
+
 #      $(DESTDIR)\lib\afsauthent.lib \
 #      $(DESTDIR)\lib\afsrpc.lib \
 #      $(DESTDIR)\lib\afs\afscmd.lib \
index 3f373f3..7346f4b 100644 (file)
@@ -105,6 +105,7 @@ install: $(INCFILES) $(LIBFILE)  $(CL_UDBG_EXEFILE)
 clean::
        $(DEL) ubik_int.ss.c ubik_int.cs.c ubik_int.xdr.c 
        $(DEL) $(INCFILEDIR)\ubik_int.h uerrors.c $(INCFILEDIR)\ubik.h
+       $(DEL) ubik_int.h ubik.h
 
 ############################################################################
 # test ubik
index 9411c41..607c745 100644 (file)
@@ -77,3 +77,4 @@ install: update.h $(UPCLIENT) $(UPSERVER)
 # Local clean target; augments predefined clean target
 
 clean::
+       $(DEL) update.cs.c update.ss.c update.xdr.c update.h
index f490efd..90d4038 100644 (file)
@@ -158,5 +158,5 @@ install: $(LOCAL_INCFILES) $(LIBFILE) $(VOLSERVER_EXEFILE) $(CL_VOS_EXEFILE) \
 # Local clean target; augments predefined clean target
 
 clean::
-
-
+       $(DEL) volerr.c volser.h
+       $(DEL) volint.cs.c volint.h volint.ss.c volint.xdr.c volser.h