From db7de36b70ade32c4e077b3af47ef11bae1b80da Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 6 Sep 2006 09:06:49 +0000 Subject: 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) --- source4/lib/tdb/Makefile.in | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'source4/lib') 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 -- cgit