summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-20 16:25:37 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:33 +1000
commit9757da515d4f9927255cfa293974ec6fe3437aa4 (patch)
tree631ca5b9747d2211ddf0c0e208d37aab8169cee2 /lib/talloc/wscript
parent55e1af856ee64670c7ee925676d13f48ffcdd6ad (diff)
downloadsamba-9757da515d4f9927255cfa293974ec6fe3437aa4.tar.gz
samba-9757da515d4f9927255cfa293974ec6fe3437aa4.tar.bz2
samba-9757da515d4f9927255cfa293974ec6fe3437aa4.zip
build: a first attempt at waf build for talloc and libreplace
very rough so far
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r--lib/talloc/wscript27
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')
+
+