1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/talloc/wscript

29 lines
616 B
Python

#!/usr/bin/env python
VERSION = '2.0.1'
srcdir = '../..'
blddir = 'bin'
LIBREPLACE_DIR= srcdir + '/lib/replace'
def set_options(opt):
opt.recurse(LIBREPLACE_DIR)
def configure(conf):
conf.sub_config(LIBREPLACE_DIR)
conf.SAMBA_CONFIG_H()
def build(bld):
bld.BUILD_SUBDIR(LIBREPLACE_DIR)
bld.SAMBA_LIBRARY('talloc',
'talloc.c',
deps='replace',
vnum=VERSION)
bld.SAMBA_BINARY('talloc_testsuite',
'testsuite.c testsuite_main.c',
deps='talloc',
install=False)