r19758: remove the LDAP_SCOPE_ONELEVEL define (not needed after svnup)
[Samba.git] / source / tdb / Makefile
blobf779aa2017f9b4e2c68008c5373baac91d1de4c6
2 # Makefile for tdb directory
5 CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1 -I../include
6 CC = gcc
8 ADMINPROGS = tdbdump tdbbackup
9 PROGS = tdbtest tdbtool tdbtorture
10 TDB_OBJ = tdb.o spinlock.o tdbback.o
12 all: $(PROGS) $(ADMINPROGS)
13 default: $(PROGS)
15 admintools: $(ADMINPROGS)
17 tdbtest: tdbtest.o $(TDB_OBJ)
18 $(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm
20 tdbtool: tdbtool.o $(TDB_OBJ)
21 $(CC) $(CFLAGS) -o tdbtool tdbtool.o $(TDB_OBJ)
23 tdbtorture: tdbtorture.o $(TDB_OBJ)
24 $(CC) $(CFLAGS) -o tdbtorture tdbtorture.o $(TDB_OBJ)
26 tdbdump: tdbdump.o $(TDB_OBJ)
27 $(CC) $(CFLAGS) -o tdbdump tdbdump.o $(TDB_OBJ)
29 tdbbackup: tdbbackup.o $(TDB_OBJ)
30 $(CC) $(CFLAGS) -o tdbbackup tdbbackup.o $(TDB_OBJ)
32 clean:
33 rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm