1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/auth/gensec/wscript_build
Andrew Bartlett fe02752ed6 auth: move gensec_start.c to the top level
This does not change who uses gensec for now, but makes it possible to
write new gensec modules outside source4/

Andrew Bartlett
2011-10-11 13:41:36 +11:00

59 lines
1.3 KiB
Python

#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('gensec_util',
source='socket.c gensec_tstream.c gensec_util.c',
deps='tevent-util tevent samba-util LIBTSOCKET',
autoproto='gensec_proto.h')
bld.SAMBA_MODULE('gensec_krb5',
source='gensec_krb5.c',
subsystem='gensec',
init_function='gensec_krb5_init',
deps='samba-credentials authkrb5 auth_session com_err',
internal_module=False,
)
bld.SAMBA_MODULE('gensec_gssapi',
source='gensec_gssapi.c',
subsystem='gensec',
init_function='gensec_gssapi_init',
deps='gssapi samba-credentials authkrb5 com_err'
)
bld.SAMBA_MODULE('cyrus_sasl',
source='cyrus_sasl.c',
subsystem='gensec',
init_function='gensec_sasl_init',
deps='samba-credentials sasl2',
enabled=bld.CONFIG_SET('HAVE_SASL')
)
bld.SAMBA_MODULE('gensec_spnego',
source='spnego.c',
autoproto='spnego_proto.h',
subsystem='gensec',
init_function='gensec_spnego_init',
deps='asn1util samba-credentials SPNEGO_PARSE'
)
bld.SAMBA_MODULE('gensec_schannel',
source='schannel.c',
subsystem='gensec',
deps='COMMON_SCHANNEL NDR_SCHANNEL samba-credentials ndr auth_session',
internal_module=True,
autoproto='schannel_proto.h',
init_function='gensec_schannel_init'
)
bld.SAMBA_PYTHON('pygensec',
source='pygensec.c',
deps='gensec pytalloc-util pyparam_util',
realname='samba/gensec.so'
)