1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
John Terpstra 73b9376e26 r923: Fixes so tdbtool and tdbtest can be built. Added build specs for tdbdump and tdbbackup.
(This used to be commit c5dc3da3406541891f412d32c292765d7b650f0f)
2007-10-10 10:51:49 -05:00

33 lines
737 B
Makefile

#
# Makefile for tdb directory
#
CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1
CC = gcc
ADMINPROGS = tdbdump tdbbackup
PROGS = tdbtest tdbtool tdbtorture
TDB_OBJ = tdb.o spinlock.o tdbback.o
default: $(PROGS)
admintools: $(ADMINPROGS)
tdbtest: tdbtest.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm
tdbtool: tdbtool.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o tdbtool tdbtool.o $(TDB_OBJ)
tdbtorture: tdbtorture.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o tdbtorture tdbtorture.o $(TDB_OBJ)
tdbdump: tdbdump.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o tdbdump tdbdump.o $(TDB_OBJ)
tdbbackup: tdbbackup.o $(TDB_OBJ)
$(CC) $(CFLAGS) -o tdbbackup tdbbackup.o $(TDB_OBJ)
clean:
rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm