Tidy up assorted clean targets
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 1 Mar 2011 18:03:03 +0000 (18:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 3 Mar 2011 15:21:04 +0000 (07:21 -0800)
Improve assorted clean targets so that they properly clean up all of
the default build products.

Add rxosd to the list of directories to clean

Change-Id: Id4987ec00654d7b3bd3b42eddefbcc50b5bdb03e
Reviewed-on: http://gerrit.openafs.org/4114
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

Makefile.in
src/crypto/hcrypto/Makefile.in
src/roken/Makefile.in
src/venus/Makefile.in

index ed613ce..00bf881 100644 (file)
@@ -794,6 +794,7 @@ clean2:
        -${COMPILE_PART1} finale ${COMPILE_CLEAN}
        -${COMPILE_PART1} libafs ${COMPILE_CLEAN}
        -${COMPILE_PART1} libuafs ${COMPILE_CLEAN}
+       -${COMPILE_PART1} rxosd ${COMPILE_CLEAN}
        -${COMPILE_PART1} tests ${COMPILE_CLEAN}
        -${COMPILE_PART1} crypto/hcrypto ${COMPILE_CLEAN}
        -${COMPILE_PART1} roken ${COMPILE_CLEAN}
index 52a1c21..b480b0f 100644 (file)
@@ -53,7 +53,7 @@ dest: libafshcrypto.a ${SHLIBOBJ}
 
 clean:
        $(RM) -f ${OBJECTS} ${SHLIBOBJ} rand-fortuna_lwp.o \
-               libafshcrypto.a libafshcrypto.exp \
+               libafshcrypto.a libafshcrypto_lwp.a libafshcrypto.exp \
                test_cipher test_cipher.o
 
 COMMON_OBJS= aes.o camellia.o camellia-ntt.o des.o engine.o evp.o \
index 6a02158..ee6c876 100644 (file)
@@ -33,7 +33,8 @@ dest: librokenafs.a $(SHLIBOBJ)
        $(INSTALL_DATA) librokenafs.a $(DEST)/lib/librokenafs.a
 
 clean:
-       $(RM) -f $(OBJECTS) $(SHLIBOBJ) librokenafs.a librokenafs.exp
+       $(RM) -f $(OBJECTS) $(SHLIBOBJ) librokenafs.a librokenafs.exp \
+               err.h
 
 OBJECTS = $(ROKEN_LIBOBJS) \
          base64.o \
index dc05814..5b38c4d 100644 (file)
@@ -358,7 +358,9 @@ dest: kdump-build fs livesys up fstrace cmdebug
 #
 
 clean:
-       $(RM) -f *.o *.a up fs kdump-* kdump kdump64 core cmdebug AFS_component_version_number.c fstrace gcpags livesys dedebug
+       $(RM) -f *.o *.a up fs kdump-* kdump kdump64 core cmdebug \
+               AFS_component_version_number.c fstrace gcpags livesys dedebug \
+               cacheout
 
 test:
        cd test; $(MAKE)