From dfaa7a3baeafa401c5ee3490ef11f23870f65cf1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 1 May 2005 09:04:51 +0000 Subject: r6546: Fix ldb standalone build Add autoconf to tdb (This used to be commit 95fed657f458a856feec2fb256edd642e4179979) --- source4/lib/tdb/Makefile.in | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 source4/lib/tdb/Makefile.in (limited to 'source4/lib/tdb/Makefile.in') diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in new file mode 100644 index 0000000000..f9912cd6b1 --- /dev/null +++ b/source4/lib/tdb/Makefile.in @@ -0,0 +1,39 @@ +# +# Makefile for tdb directory +# + +CFLAGS = -DTDB_DEBUG -g -Iinclude +CC = @CC@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +includedir = @includedir@ +libdir = @libdir@ + +PROGS = bin/tdbtest bin/tdbtool bin/tdbtorture +TDB_OBJ = common/tdb.o common/spinlock.o + +all: $(PROGS) + +install: all + cp $(PROGS) $(bindir) + cp include/tdb.h $(includedir) + cp tdb.pc $(libdir)/pkgconfig + +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 -- cgit