summaryrefslogtreecommitdiff
path: root/lib/tdb/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/wscript')
-rw-r--r--lib/tdb/wscript24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
new file mode 100644
index 0000000000..326e3c3035
--- /dev/null
+++ b/lib/tdb/wscript
@@ -0,0 +1,24 @@
+srcdir = '.'
+blddir = 'build'
+
+def set_options(opt):
+ opt.recurse('../talloc')
+
+def configure(conf):
+ conf.recurse('../talloc')
+
+def build(bld):
+ bld.recurse('../talloc')
+
+ COMMON_SOURCE = '''common/check.c common/error.c common/tdb.c common/traverse.c
+ common/freelistcheck.c common/lock.c common/dump.c common/freelist.c
+ common/io.c common/open.c common/transaction.c'''
+
+ bld.SAMBA_LIBRARY('tdb',
+ COMMON_SOURCE,
+ 'replace talloc',
+ 'include')
+
+ bld.SAMBA_BINARY('tdbtorture',
+ 'tools/tdbtorture.c',
+ 'tdb')