From 8d6eb2a02c3468d568592c23196d91803f5904b4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 21 Feb 2010 00:24:40 +1100 Subject: build: added waf build for tdb --- lib/tdb/wscript | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lib/tdb/wscript (limited to 'lib/tdb/wscript') 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') -- cgit