From 9757da515d4f9927255cfa293974ec6fe3437aa4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 20 Feb 2010 16:25:37 +1100 Subject: build: a first attempt at waf build for talloc and libreplace very rough so far --- lib/talloc/wscript | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/talloc/wscript (limited to 'lib/talloc') 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') + + -- cgit