build: updates to waf scripts for replace and talloc
[nivanova/samba-autobuild/.git] / lib / talloc / wscript
1 srcdir = '.'
2 blddir = 'build'
3
4 def set_options(opt):
5     opt.recurse('../replace')
6
7 def configure(conf):
8     conf.recurse('../replace')
9
10 def build(bld):
11     bld.recurse('../replace')
12
13     bld(
14         features = 'cc cshlib',
15         source = 'talloc.c',
16         target='talloc',
17         includes = '. ../replace')
18
19     # test program
20     bld(
21         features = 'cc cprogram',
22         source = 'testsuite.c testsuite_main.c',
23         target = 'talloc_testsuite',
24         uselib_local = 'replace talloc',
25         includes = '. ../replace default /usr/include')