summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-06 09:06:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:41 -0500
commitdb7de36b70ade32c4e077b3af47ef11bae1b80da (patch)
tree7bc4092ddc943b072c0f86bf22b1ee401e04e3bf
parentce8ed3a961b1284d211d104e650ee56ba6ad11bc (diff)
downloadsamba-db7de36b70ade32c4e077b3af47ef11bae1b80da.tar.gz
samba-db7de36b70ade32c4e077b3af47ef11bae1b80da.tar.bz2
samba-db7de36b70ade32c4e077b3af47ef11bae1b80da.zip
r18148: - use PHONY for test
- don't try to install with make test - add make distclean and realdistclean metze (This used to be commit 67cb692a48726075f70b55e18e71d8fae6303d34)
-rw-r--r--source4/lib/tdb/Makefile.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in
index d305518370..63f32d9ea1 100644
--- a/source4/lib/tdb/Makefile.in
+++ b/source4/lib/tdb/Makefile.in
@@ -14,6 +14,8 @@ srcdir = @srcdir@
builddir = @builddir@
CFLAGS = -I$(srcdir)/include -Iinclude -I@libreplacedir@ @CFLAGS@
+.PHONY: test
+
PROGS = bin/tdbtool bin/tdbtorture
TDB_OBJ = @TDBOBJ@ @LIBREPLACEOBJ@
@@ -61,10 +63,18 @@ bin/tdbdump: tools/tdbdump.o libtdb.a
bin/tdbbackup: tools/tdbbackup.o libtdb.a
$(CC) $(CFLAGS) -o bin/tdbbackup tools/tdbbackup.o -L. -ltdb
+test: bin/tdbtorture
+ bin/tdbtorture
+
+installcheck: test install
+
clean:
- rm -f $(PROGS) common/*.o tools/*.o *~ *.bak */*~ */*.bak *% core test.db test.tdb test.gdbm
+ rm -f $(PROGS) common/*.o tools/*.o test.db test.tdb test.gdbm
-installcheck: install
- $(bindir)/tdbtorture
+distclean: clean
+ rm -f *~ */*~
+ rm -f config.log config.status config.h
+ rm -f Makefile
-test: installcheck
+realdistclean: distclean
+ rm -f configure config.h.in