summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
blob: 879b37595a994d10423b4386e41a8a02d3ec64ad (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
25
srcdir = '.'
blddir = 'build'

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

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

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

    bld(
        features = 'cc cshlib',
        source = 'talloc.c',
        target='talloc',
        includes = '. ../replace')

    # test program
    bld(
        features = 'cc cprogram',
        source = 'testsuite.c testsuite_main.c',
        target = 'talloc_testsuite',
        uselib_local = 'replace talloc',
        includes = '. ../replace default /usr/include')