Janitorial duties to make autogen.sh portable.
[Samba/gebeck_regimport.git] / source3 / tdb / Makefile
blob59fbb079bd041aae081db0e4ac18ec391b8618a3
2 # Makefile for tdb directory
5 CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1
6 CC = gcc
8 PROGS = tdbtest tdbtool tdbtorture
9 TDB_OBJ = tdb.o spinlock.o
11 default: $(PROGS)
13 tdbtest: tdbtest.o $(TDB_OBJ)
14 $(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm
16 tdbtool: tdbtool.o $(TDB_OBJ)
17 $(CC) $(CFLAGS) -o tdbtool tdbtool.o $(TDB_OBJ)
19 tdbtorture: tdbtorture.o $(TDB_OBJ)
20 $(CC) $(CFLAGS) -o tdbtorture tdbtorture.o $(TDB_OBJ)
22 tdbdump: tdbdump.o $(TDB_OBJ)
23 $(CC) $(CFLAGS) -o tdbdump tdbdump.o $(TDB_OBJ)
25 tdbbackup: tdbbackup.o $(TDB_OBJ)
26 $(CC) $(CFLAGS) -o tdbbackup tdbbackup.o $(TDB_OBJ)
28 clean:
29 rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm