summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-23 06:45:56 -0700
committerGünther Deschner <gd@samba.org>2010-09-23 08:13:14 -0700
commit697090fb2d7644ac1e29c19fb9784c90b6860c5e (patch)
tree90b149639469608f1c90b2b6bb0ba5277c5659b7 /source3/wscript_build
parentd6121bdee06f32ffcf4a22ff50b728ea1e47c394 (diff)
downloadsamba-697090fb2d7644ac1e29c19fb9784c90b6860c5e.tar.gz
samba-697090fb2d7644ac1e29c19fb9784c90b6860c5e.tar.bz2
samba-697090fb2d7644ac1e29c19fb9784c90b6860c5e.zip
s3-waf: convert smbd into a subsystem.
Guenther
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build22
1 files changed, 12 insertions, 10 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 298895bf95..e59c0c11a7 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1086,7 +1086,7 @@ NSSTEST_SRC = '''torture/nsstest.c ${LIBSAMBAUTIL_SRC}'''
PDBTEST_SRC = '''torture/pdbtest.c
${LIBNDR_GEN_SRC0}'''
-VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c ${SMBD_SRC_BASE} ${READLINE_SRC}'''
+VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c ${READLINE_SRC}'''
SMBICONV_SRC = '''torture/smbiconv.c'''
@@ -1323,6 +1323,14 @@ bld.SAMBA_SUBSYSTEM('SMBLDAP',
deps='ldap lber',
vars=locals())
+bld.SAMBA_SUBSYSTEM('SMBD_BASE',
+ source=SMBD_SRC_BASE,
+ deps='''tdb tevent dl krb5 ldap gssapi gssapi_krb5
+ NSS_WRAPPER DYNCONFIG libwbclient crypt nsl cups cap resolv ZLIB PASSDB
+ PARAM_WITHOUT_REG LIBS LIBSMB POPT_SAMBA KRBCLIENT AVAHI
+ LIBMSRPC_GEN''',
+ vars=locals())
+
#FIXME
bld.SAMBA_SUBSYSTEM('LIBNDR',
source=LIBNDR_SRC,
@@ -1357,11 +1365,8 @@ bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',
########################## BINARIES #################################
bld.SAMBA_BINARY('smbd/smbd',
- source=SMBD_SRC,
- deps='''tdb tevent dl krb5 ldap gssapi gssapi_krb5
- NSS_WRAPPER DYNCONFIG libwbclient crypt nsl cups cap resolv ZLIB PASSDB
- PARAM_WITHOUT_REG LIBS LIBSMB POPT_SAMBA KRBCLIENT AVAHI
- LIBMSRPC_GEN''',
+ source='${SMBD_SRC_MAIN}',
+ deps='''SMBD_BASE''',
install_path='${SBINDIR}',
vars=locals())
@@ -1536,10 +1541,7 @@ bld.SAMBA_BINARY('pdbtest',
bld.SAMBA_BINARY('vfstest',
source=VFSTEST_SRC,
- deps='''talloc tdb tevent cap resolv libwbclient dl krb5 ldap gssapi gssapi_krb5
- NSS_WRAPPER DYNCONFIG libwbclient crypt nsl cups ZLIB PASSDB
- PARAM_WITHOUT_REG LIBS LIBSMB POPT_SAMBA KRBCLIENT AVAHI
- LIBMSRPC_GEN''',
+ deps='''SMBD_BASE''',
vars=locals())
bld.SAMBA_BINARY('smbiconv',