1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/lib/talloc/wscript
2010-04-06 20:27:12 +10:00

35 lines
794 B
Python

#!/usr/bin/env python
VERSION = '2.0.1'
srcdir = '../..'
blddir = 'bin'
LIBREPLACE_DIR= srcdir + '/lib/replace'
import sys
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba
def set_options(opt):
opt.BUILTIN_DEFAULT('replace')
opt.BUNDLED_EXTENSION_DEFAULT('talloc', noextenion='talloc')
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)