diff options
Diffstat (limited to 'source3/tdb/Makefile')
-rw-r--r-- | source3/tdb/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/tdb/Makefile b/source3/tdb/Makefile index 01de7d244b..196187eef1 100644 --- a/source3/tdb/Makefile +++ b/source3/tdb/Makefile @@ -4,18 +4,20 @@ CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1 CC = gcc + PROGS = tdbtest tdbtool tdbtorture +TDB_OBJ = tdb.o spinlock.o default: $(PROGS) -tdbtest: tdbtest.o tdb.o spinlock.o - $(CC) $(CFLAGS) -o tdbtest tdbtest.o tdb.o spinlock.o -lgdbm +tdbtest: tdbtest.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm -tdbtool: tdbtool.o tdb.o spinlock.o - $(CC) $(CFLAGS) -o tdbtool tdbtool.o tdb.o spinlock.o +tdbtool: tdbtool.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o tdbtool tdbtool.o $(TDB_OBJ) -tdbtorture: tdbtorture.o tdb.o - $(CC) $(CFLAGS) -o tdbtorture tdbtorture.o tdb.o spinlock.o +tdbtorture: tdbtorture.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o tdbtorture tdbtorture.o $(TDB_OBJ) clean: rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm |