1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
samba-mirror/source4/lib/tdb/Makefile.tdb
Andrew Tridgell 70067ef957 r4467: - tdb standalone build doesn't need -DSTANDALONE any more
- fixed standalone build
(This used to be commit ade0b71e4194f99d807d26276592bc041d46df7b)
2007-10-10 13:07:54 -05:00

30 lines
824 B
Makefile

#
# Makefile for tdb directory
#
CFLAGS = -DTDB_DEBUG -g -DHAVE_MMAP=1 -Iinclude
CC = gcc
PROGS = bin/tdbtest bin/tdbtool bin/tdbtorture
TDB_OBJ = common/tdb.o common/spinlock.o
all: $(PROGS)
bin/tdbtest: tools/tdbtest.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o bin/tdbtest tools/tdbtest.o $(TDB_OBJ) -lgdbm
bin/tdbtool: tools/tdbtool.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o bin/tdbtool tools/tdbtool.o $(TDB_OBJ)
bin/tdbtorture: tools/tdbtorture.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o bin/tdbtorture tools/tdbtorture.o $(TDB_OBJ)
bin/tdbdump: tools/tdbdump.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o bin/tdbdump tools/tdbdump.o $(TDB_OBJ)
bin/tdbbackup: tools/tdbbackup.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o bin/tdbbackup tools/tdbbackup.o $(TDB_OBJ)
clean:
rm -f $(PROGS) common/*.o tools/*.o *~ *.bak */*~ */*.bak *% core test.db test.tdb test.gdbm