mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r849: move tdb/tools/Makefile to tdb/Makefile.tdb
like in ldb also fix the makefile to let it compile the tools fine metze (This used to be commit e3191b54ea583913a9fd21eeb4e57d82e996c847)
This commit is contained in:
parent
a3d61e0485
commit
1c43e84766
29
source4/lib/tdb/Makefile.tdb
Normal file
29
source4/lib/tdb/Makefile.tdb
Normal file
@ -0,0 +1,29 @@
|
||||
#
|
||||
# Makefile for tdb directory
|
||||
#
|
||||
|
||||
CFLAGS = -DSTANDALONE -DTDB_DEBUG -g -DHAVE_MMAP=1 -Iinclude
|
||||
CC = gcc
|
||||
|
||||
PROGS = bin/tdbtest bin/tdbtool bin/tdbtorture
|
||||
TDB_OBJ = common/tdb.o common/spinlock.o
|
||||
|
||||
default: $(PROGS)
|
||||
|
||||
bin/tdbtest: tools/tdbtest.o $(TDB_OBJ)
|
||||
$(CC) $(CFLAGS) -o tdbtest tools/tdbtest.o $(TDB_OBJ) -lgdbm
|
||||
|
||||
bin/tdbtool: tools/tdbtool.o $(TDB_OBJ)
|
||||
$(CC) $(CFLAGS) -o tdbtool tools/tdbtool.o $(TDB_OBJ)
|
||||
|
||||
bin/tdbtorture: tools/tdbtorture.o $(TDB_OBJ)
|
||||
$(CC) $(CFLAGS) -o tdbtorture tools/tdbtorture.o $(TDB_OBJ)
|
||||
|
||||
bin/tdbdump: tools/tdbdump.o $(TDB_OBJ)
|
||||
$(CC) $(CFLAGS) -o tdbdump tools/tdbdump.o $(TDB_OBJ)
|
||||
|
||||
bin/tdbbackup: tools/tdbbackup.o $(TDB_OBJ)
|
||||
$(CC) $(CFLAGS) -o tdbbackup tools/tdbbackup.o $(TDB_OBJ)
|
||||
|
||||
clean:
|
||||
rm -f $(PROGS) common/*.o *~ *.bak */*~ */*.bak *% core test.db test.tdb test.gdbm
|
@ -1,29 +0,0 @@
|
||||
#
|
||||
# Makefile for tdb directory
|
||||
#
|
||||
|
||||
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_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
|
Loading…
x
Reference in New Issue
Block a user