38dde97517c3c3e1d9cbe87f8a8b6edbdb7dc020
[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.BUILD_SUBDIR(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')