git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81435bf
)
s3-waf: only compile common.c in netapi examples code once.
author
Günther Deschner
<gd@samba.org>
Fri, 21 Oct 2011 09:31:57 +0000
(11:31 +0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 21 Oct 2011 09:31:57 +0000
(11:31 +0200)
Guenther
source3/lib/netapi/examples/wscript_build
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/examples/wscript_build
b/source3/lib/netapi/examples/wscript_build
index 26f4e769eb9e10d270e44e2567febab74e75ba3f..a445467352b33520c43c9732a3f7411bae05e585 100644
(file)
--- a/
source3/lib/netapi/examples/wscript_build
+++ b/
source3/lib/netapi/examples/wscript_build
@@
-56,9
+56,15
@@
names = [
("netlogon", "netlogon_control2"),
("netlogon", "nltest")]
+
+bld.SAMBA_SUBSYSTEM('LIBNETAPI_EXAMPLES_COMMON',
+ source='common.c',
+ deps='netapi popt',
+ vars=locals())
+
for pattern in names:
(subdir, name) = pattern
bld.SAMBA_BINARY('%s/%s' % (subdir, name),
- source='%s/%s.c
common.c
' % (subdir, name),
- deps='netapi popt',
+ source='%s/%s.c' % (subdir, name),
+ deps='netapi popt
LIBNETAPI_EXAMPLES_COMMON
',
install=False)