summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 20:31:46 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:33 +1000
commit8f062f4a0f781b351e361ce07d0701f312069851 (patch)
tree25a71819137eafbc12ecd080e0af517d6fd52cb2 /lib/talloc
parent8fd62757d25133cda01b38823040e05ac16ca7dc (diff)
downloadsamba-8f062f4a0f781b351e361ce07d0701f312069851.tar.gz
samba-8f062f4a0f781b351e361ce07d0701f312069851.tar.bz2
samba-8f062f4a0f781b351e361ce07d0701f312069851.zip
build: neater way to find libreplace and start on tevent waf build
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/wscript14
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index bcbb844a97..989a8a8b41 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -1,18 +1,24 @@
+VERSION = '2.0.1'
+
srcdir = '.'
blddir = 'build'
+LIBREPLACE_DIR='../replace'
+
def set_options(opt):
- opt.recurse('../replace')
+ opt.recurse(LIBREPLACE_DIR)
def configure(conf):
- conf.recurse('../replace')
+ conf.sub_config(LIBREPLACE_DIR)
+ conf.SAMBA_CONFIG_H()
def build(bld):
- bld.recurse('../replace')
+ bld.add_subdirs(LIBREPLACE_DIR)
bld.SAMBA_LIBRARY('talloc',
'talloc.c',
- 'replace')
+ libdeps='replace',
+ vnum=VERSION)
bld.SAMBA_BINARY('talloc_testsuite',
'testsuite.c testsuite_main.c',