ca941c0555bd92c0a15028ee12f95e3f8417624a
[ira/wip.git] / lib / talloc / wscript
1 VERSION = '2.0.1'
2
3 srcdir = '../..'
4 blddir = 'bin'
5
6 LIBREPLACE_DIR= srcdir + '/lib/replace'
7
8 def set_options(opt):
9     opt.recurse(LIBREPLACE_DIR)
10
11 def configure(conf):
12     conf.sub_config(LIBREPLACE_DIR)
13     conf.SAMBA_CONFIG_H()
14
15 def build(bld):
16     bld.add_subdirs(LIBREPLACE_DIR)
17
18     bld.SAMBA_LIBRARY('talloc',
19                       'talloc.c',
20                       deps='replace',
21                       vnum=VERSION)
22
23     bld.SAMBA_BINARY('talloc_testsuite',
24                      'testsuite.c testsuite_main.c',
25                      'talloc')