summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-21 00:24:28 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:33 +1000
commit5c103b484f6c6dc9ba544d501e9f701076381655 (patch)
treee181d3822bcfd1dfc72eac4dbd8a3b0509bbf48b /lib/talloc
parent34b77a15d36e21c67d5493e45955358589f7b9c5 (diff)
downloadsamba-5c103b484f6c6dc9ba544d501e9f701076381655.tar.gz
samba-5c103b484f6c6dc9ba544d501e9f701076381655.tar.bz2
samba-5c103b484f6c6dc9ba544d501e9f701076381655.zip
build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functions
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/wscript18
1 files changed, 6 insertions, 12 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 879b37595a..bcbb844a97 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -10,16 +10,10 @@ def configure(conf):
def build(bld):
bld.recurse('../replace')
- bld(
- features = 'cc cshlib',
- source = 'talloc.c',
- target='talloc',
- includes = '. ../replace')
+ bld.SAMBA_LIBRARY('talloc',
+ 'talloc.c',
+ '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')
+ bld.SAMBA_BINARY('talloc_testsuite',
+ 'testsuite.c testsuite_main.c',
+ 'talloc')