mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3-waf: Build swat
This commit is contained in:
parent
8f9a3c9eb2
commit
be712a8eea
@ -32,6 +32,7 @@ def set_options(opt):
|
||||
action="store_true", dest='enable_selftest', default=False)
|
||||
|
||||
opt.SAMBA3_ADD_OPTION('winbind')
|
||||
opt.SAMBA3_ADD_OPTION('swat')
|
||||
opt.SAMBA3_ADD_OPTION('ads')
|
||||
opt.SAMBA3_ADD_OPTION('krb5')
|
||||
opt.SAMBA3_ADD_OPTION('ldap')
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user