From 4ebf2f97459b4214748255aa1f40015f8dc511cc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 4 Jan 2011 13:11:35 +0100 Subject: s3-waf: convert SAMBA_VERSION into a subsystem. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Jan 4 15:10:52 CET 2011 on sn-devel-104 --- source3/wscript_build | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'source3') 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', -- cgit