summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-04-30 14:18:20 +0200
committerKai Blin <kai@samba.org>2010-05-20 22:16:14 +0200
commitbe712a8eea486d493d6e0c924d1d8e13312a52af (patch)
tree9705bcd07c988044b105f1f1c9d5ae712d4ae7f2 /source3/wscript_build
parent8f9a3c9eb2b79539d04c59ed4a5a570c692cd63c (diff)
downloadsamba-be712a8eea486d493d6e0c924d1d8e13312a52af.tar.gz
samba-be712a8eea486d493d6e0c924d1d8e13312a52af.tar.bz2
samba-be712a8eea486d493d6e0c924d1d8e13312a52af.zip
s3-waf: Build swat
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build20
1 files changed, 19 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index df677dffe3..5b2ab280ee 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -788,6 +788,15 @@ NMBD_SRC = '''${NMBD_SRC1} ${KRBCLIENT_SRC}
${PROFILE_SRC} ${POPT_LIB_SRC}
${LIBNDR_GEN_SRC0}'''
+SWAT_SRC1 = '''web/cgi.c web/diagnose.c web/startstop.c web/statuspage.c
+ web/swat.c web/neg_lang.c'''
+
+SWAT_SRC = '''${SWAT_SRC1} ${PRINTING_SRC} ${PRINTBASE_SRC}
+ ${LOCKING_SRC} ${KRBCLIENT_SRC}
+ ${PLAINTEXT_AUTH_SRC}
+ ${POPT_LIB_SRC} ${SMBLDAP_SRC} ${RPC_PARSE_SRC} ${LIBMSRPC_GEN_SRC} ${LIBMSRPC_SRC}
+ ${PASSCHANGE_SRC} ${FNAME_UTIL_SRC}'''
+
WBINFO_SRC = '../nsswitch/wbinfo.c ${POPT_LIB_SRC} ${AFS_SETTOKEN_SRC}'
TESTPARM_SRC = 'utils/testparm.c ${POPT_LIB_SRC}'
@@ -868,7 +877,7 @@ bld.SAMBA_SUBSYSTEM('PARAM',
bld.SAMBA_SUBSYSTEM('LIBS',
source=LIB_SRC,
- deps='tdb popt',
+ deps='tdb popt NSS_WRAPPER',
vars=locals())
bld.SAMBA_SUBSYSTEM('LIB_NONSMBD',
@@ -919,6 +928,15 @@ bld.SAMBA_BINARY('winbindd/winbindd',
install_path='${SBINDIR}',
vars=locals())
+bld.SAMBA_BINARY('web/swat',
+ source=SWAT_SRC,
+ deps='''talloc tevent DYNCONFIG LIBS LIBSMB LIBWBCLIENT PARAM
+ LIB_NONSMBD resolv LDB PASSDB''',
+ includes='lib',
+ enabled=Options.options.with_swat,
+ install_path='${SBINDIR}',
+ vars=locals())
+
bld.SAMBA_BINARY('wbinfo',
source=WBINFO_SRC,
deps='''talloc LIBWBCLIENT popt DYNCONFIG tevent tdb cap