diff options
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r-- | lib/talloc/wscript | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript new file mode 100644 index 0000000000..36d61c005a --- /dev/null +++ b/lib/talloc/wscript @@ -0,0 +1,27 @@ +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 default /usr/include') + + # test program + bld( + features = 'cc cprogram', + source = 'testsuite.c testsuite_main.c', + target = 'talloc_testsuite', + uselib_local = 'replace talloc', + includes = '. ../replace default /usr/include') + + |