summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-01-04 13:11:35 +0100
committerGünther Deschner <gd@samba.org>2011-01-04 15:10:52 +0100
commit4ebf2f97459b4214748255aa1f40015f8dc511cc (patch)
treed2ada606a6c7c153e2776645ed34ceea6411619f /source3/wscript_build
parent589d1bf57eb8f561de3cf2a05990a5d2edf69095 (diff)
downloadsamba-4ebf2f97459b4214748255aa1f40015f8dc511cc.tar.gz
samba-4ebf2f97459b4214748255aa1f40015f8dc511cc.tar.bz2
samba-4ebf2f97459b4214748255aa1f40015f8dc511cc.zip
s3-waf: convert SAMBA_VERSION into a subsystem.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 4 15:10:52 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build11
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 875b937932..d670ecb593 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -87,7 +87,7 @@ LIB_SRC = '''${LIBSAMBAUTIL_SRC}
lib/serverid.c
lib/util_transfer_file.c
${TDB_LIB_SRC}
- ${VERSION_SRC} lib/debug.c lib/fault.c
+ lib/debug.c lib/fault.c
lib/interface.c lib/pidfile.c
lib/system.c lib/sendfile.c lib/recvfile.c lib/time.c
lib/username.c
@@ -863,7 +863,7 @@ bld.SAMBA_SUBSYSTEM('KRBCLIENT',
bld.SAMBA_SUBSYSTEM('LIBS',
source=LIB_SRC,
- deps='LIBCRYPTO ndr security NDR_SECURITY charset NDR_MESSAGING LIBASYNC_REQ tdb-wrap samba-util CHARSET UTIL_TDB',
+ deps='LIBCRYPTO ndr security NDR_SECURITY charset NDR_MESSAGING LIBASYNC_REQ tdb-wrap samba-util CHARSET UTIL_TDB SAMBA_VERSION',
vars=locals())
bld.SAMBA_SUBSYSTEM('LIB_NONSMBD',
@@ -1027,6 +1027,10 @@ bld.SAMBA_SUBSYSTEM('PASSCHANGE',
deps='LIBCLI_SAMR',
vars=locals())
+bld.SAMBA_SUBSYSTEM('SAMBA_VERSION',
+ source=VERSION_SRC,
+ vars=locals())
+
bld.SAMBA_SUBSYSTEM('SLCACHE',
source=SLCACHE_SRC,
vars=locals())
@@ -1429,7 +1433,8 @@ bld.SAMBA_BINARY('smbfilter',
vars=locals())
bld.SAMBA_BINARY('versiontest',
- source='lib/version_test.c ${VERSION_SRC}',
+ source='lib/version_test.c',
+ deps='SAMBA_VERSION',
vars=locals())
bld.SAMBA_BINARY('wbinfo',