summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-08 06:09:57 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:40 -0700
commitdca0297941cd27117c23ea868caa82710a58948c (patch)
tree802c8d7ae82a8d7856b940ed3a3bddccc10a26bf
parente436917d9c7a157d62510fee9a4f80c1f3f77abf (diff)
[PATCH] do not build the tdb binary programs, only the objects.
Now it's not necessary to have gdbm to build properly.
-rw-r--r--tdb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdb/Makefile b/tdb/Makefile
index 06e31fcc7f..021cb35c95 100644
--- a/tdb/Makefile
+++ b/tdb/Makefile
@@ -7,7 +7,9 @@ CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1
PROGS = tdbtest tdbtool tdbtorture
TDB_OBJ = tdb.o spinlock.o
-default: $(PROGS)
+default: $(TDB_OBJ)
+
+progs: $(PROGS)
tdbtest: tdbtest.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm