diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-21 00:24:40 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:33 +1000 |
commit | 8d6eb2a02c3468d568592c23196d91803f5904b4 (patch) | |
tree | a2ac1ace983ce14f0605b9c5db9679a81909dc33 | |
parent | 5c103b484f6c6dc9ba544d501e9f701076381655 (diff) | |
download | samba-8d6eb2a02c3468d568592c23196d91803f5904b4.tar.gz samba-8d6eb2a02c3468d568592c23196d91803f5904b4.tar.bz2 samba-8d6eb2a02c3468d568592c23196d91803f5904b4.zip |
build: added waf build for tdb
-rw-r--r-- | lib/tdb/wscript | 24 |
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') |