summaryrefslogtreecommitdiff
path: root/tdb/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 15:16:31 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 15:16:31 +0200
commit7111645d3c46e55b2c180e3db0ba8a3c670a3c31 (patch)
tree2c68d65b55dc5829939fbd960742da6cd35de9db /tdb/config.mk
parentec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff)
downloadsamba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.tar.gz
samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.tar.bz2
samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.zip
Use single copy of tdb in both samba3 and samba4.
Diffstat (limited to 'tdb/config.mk')
-rw-r--r--tdb/config.mk57
1 files changed, 57 insertions, 0 deletions
diff --git a/tdb/config.mk b/tdb/config.mk
new file mode 100644
index 0000000000..90c9ba2863
--- /dev/null
+++ b/tdb/config.mk
@@ -0,0 +1,57 @@
+################################################
+# Start SUBSYSTEM LIBTDB
+[LIBRARY::LIBTDB]
+OUTPUT_TYPE = STATIC_LIBRARY
+CFLAGS = -I$(tdbsrcdir)/include
+#
+# End SUBSYSTEM ldb
+################################################
+
+LIBTDB_OBJ_FILES = $(addprefix $(tdbsrcdir)/common/, \
+ tdb.o dump.o io.o lock.o \
+ open.o traverse.o freelist.o \
+ error.o transaction.o)
+
+################################################
+# Start BINARY tdbtool
+[BINARY::tdbtool]
+INSTALLDIR = BINDIR
+PRIVATE_DEPENDENCIES = \
+ LIBTDB
+# End BINARY tdbtool
+################################################
+
+tdbtool_OBJ_FILES = $(tdbsrcdir)/tools/tdbtool.o
+
+################################################
+# Start BINARY tdbtorture
+[BINARY::tdbtorture]
+INSTALLDIR = BINDIR
+PRIVATE_DEPENDENCIES = \
+ LIBTDB
+# End BINARY tdbtorture
+################################################
+
+tdbtorture_OBJ_FILES = $(tdbsrcdir)/tools/tdbtorture.o
+
+################################################
+# Start BINARY tdbdump
+[BINARY::tdbdump]
+INSTALLDIR = BINDIR
+PRIVATE_DEPENDENCIES = \
+ LIBTDB
+# End BINARY tdbdump
+################################################
+
+tdbdump_OBJ_FILES = $(tdbsrcdir)/tools/tdbdump.o
+
+################################################
+# Start BINARY tdbbackup
+[BINARY::tdbbackup]
+INSTALLDIR = BINDIR
+PRIVATE_DEPENDENCIES = \
+ LIBTDB
+# End BINARY tdbbackup
+################################################
+
+tdbbackup_OBJ_FILES = $(tdbsrcdir)/tools/tdbbackup.o