summaryrefslogtreecommitdiff
path: root/lib/tdb/wscript
blob: 326e3c30355c4c17fda5e8a14a303d715c1f36a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
srcdir = '.'
blddir = 'build'

def set_options(opt):
    opt.recurse('../talloc')

def configure(conf):
    conf.recurse('../talloc')

def build(bld):
    bld.recurse('../talloc')

    COMMON_SOURCE = '''common/check.c common/error.c common/tdb.c common/traverse.c
                       common/freelistcheck.c common/lock.c common/dump.c common/freelist.c
                       common/io.c common/open.c  common/transaction.c'''

    bld.SAMBA_LIBRARY('tdb',
                      COMMON_SOURCE,
                      'replace talloc',
                      'include')

    bld.SAMBA_BINARY('tdbtorture',
                     'tools/tdbtorture.c',
                     'tdb')