1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/tdb/wscript
2010-04-06 20:26:34 +10:00

44 lines
1.1 KiB
Python

VERSION='1.2.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.add_subdirs(LIBREPLACE_DIR)
COMMON_SRC = bld.SUBDIR('common',
'''check.c error.c tdb.c traverse.c
freelistcheck.c lock.c dump.c freelist.c
io.c open.c transaction.c''')
bld.SAMBA_LIBRARY('tdb',
COMMON_SRC,
deps='replace',
include_list='include',
vnum=VERSION)
bld.SAMBA_BINARY('tdbtorture',
'tools/tdbtorture.c',
'tdb')
bld.SAMBA_BINARY('tdbdump',
'tools/tdbdump.c',
'tdb')
bld.SAMBA_BINARY('tdbbackup',
'tools/tdbbackup.c',
'tdb')
bld.SAMBA_BINARY('tdbtool',
'tools/tdbtool.c',
'tdb')