mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
70067ef957
- fixed standalone build (This used to be commit ade0b71e4194f99d807d26276592bc041d46df7b)
30 lines
824 B
Makefile
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
|