Clean up better after the testsuite check programs. Patch from J.W. Schultz.
authorDavid Dykstra <dwd@samba.org>
Fri, 10 Jan 2003 15:16:23 +0000 (15:16 +0000)
committerDavid Dykstra <dwd@samba.org>
Fri, 10 Jan 2003 15:16:23 +0000 (15:16 +0000)
.cvsignore
Makefile.in

index cda7639..9e5ac61 100644 (file)
@@ -9,6 +9,7 @@ config.status
 conftest.c
 conftest.log
 dox
+getgroups
 gmon.out
 rsync
 shconfig
@@ -17,4 +18,6 @@ tests-dont-exist
 testtmp
 testtmp.*
 tls
+trimslash
+t_unsafe
 zlib/dummy
index 3df63a9..253b76c 100644 (file)
@@ -43,6 +43,9 @@ TLS_OBJ = tls.o syscall.o lib/permstring.o
 # Programs we must have to run the test cases
 CHECK_PROGS = rsync tls getgroups trimslash t_unsafe
 
+# Objects for CHECK_PROGS to clean
+CHECK_OBJS=getgroups.o t_stub.o t_unsafe.o trimslash.o
+
 # note that the -I. is needed to handle config.h when using VPATH
 .c.o:
 @OBJ_SAVE@
@@ -106,7 +109,7 @@ proto:
        cat $(srcdir)/*.c $(srcdir)/lib/compat.c | awk -f $(srcdir)/mkproto.awk > $(srcdir)/proto.h
 
 clean: cleantests
-       rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS)
+       rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS) $(CHECK_OBJS)
 
 cleantests:
        rm -rf ./testtmp*