1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
samba-mirror/lib/tdb/wscript

44 lines
1.1 KiB
Plaintext
Raw Normal View History

VERSION='1.2.1'
2010-03-17 20:32:15 +11:00
srcdir = '../..'
blddir = 'bin'
2010-02-21 00:24:40 +11:00
2010-03-17 20:32:15 +11:00
LIBREPLACE_DIR= srcdir + '/lib/replace'
2010-02-21 00:24:40 +11:00
def set_options(opt):
opt.recurse(LIBREPLACE_DIR)
2010-02-21 00:24:40 +11:00
def configure(conf):
conf.sub_config(LIBREPLACE_DIR)
conf.SAMBA_CONFIG_H()
2010-02-21 00:24:40 +11:00
def build(bld):
2010-02-23 11:16:44 +11:00
bld.BUILD_SUBDIR(LIBREPLACE_DIR)
2010-02-21 00:24:40 +11:00
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''')
2010-02-21 00:24:40 +11:00
bld.SAMBA_LIBRARY('tdb',
COMMON_SRC,
deps='replace',
include_list='include',
vnum=VERSION)
2010-02-21 00:24:40 +11:00
bld.SAMBA_BINARY('tdbtorture',
'tools/tdbtorture.c',
'tdb')
2010-02-21 00:27:37 +11:00
bld.SAMBA_BINARY('tdbdump',
'tools/tdbdump.c',
'tdb')
bld.SAMBA_BINARY('tdbbackup',
'tools/tdbbackup.c',
'tdb')
bld.SAMBA_BINARY('tdbtool',
'tools/tdbtool.c',
'tdb')