Introduce system MIT krb5 build with --with-system-mitkrb5 option.
[kai/samba-autobuild/.git] / source4 / auth / gensec / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('gensec_util',
4                     source='socket.c gensec_tstream.c',
5                     deps='tevent-util tevent samba-util LIBTSOCKET',
6                     autoproto='gensec_proto.h')
7
8 bld.SAMBA_MODULE('gensec_krb5',
9         source='gensec_krb5.c gensec_krb5_util.c',
10         subsystem='gensec',
11         init_function='gensec_krb5_init',
12         deps='samba-credentials authkrb5 com_err gensec_util',
13         internal_module=False,
14         enabled=bld.AD_DC_BUILD_IS_ENABLED()
15         )
16
17
18 bld.SAMBA_MODULE('gensec_gssapi',
19         source='gensec_gssapi.c',
20         subsystem='gensec',
21         init_function='gensec_gssapi_init',
22         deps='gssapi samba-credentials authkrb5 com_err gensec_util'
23         )
24
25
26 bld.SAMBA_MODULE('cyrus_sasl',
27         source='cyrus_sasl.c',
28         subsystem='gensec',
29         init_function='gensec_sasl_init',
30         deps='samba-credentials sasl2',
31         enabled=bld.CONFIG_SET('HAVE_SASL')
32         )
33
34
35 bld.SAMBA_MODULE('gensec_schannel',
36         source='schannel.c',
37         subsystem='gensec',
38         deps='COMMON_SCHANNEL NDR_SCHANNEL samba-credentials ndr auth_session',
39         internal_module=True,
40         autoproto='schannel_proto.h',
41         init_function='gensec_schannel_init'
42         )
43
44
45 bld.SAMBA_PYTHON('pygensec',
46         source='pygensec.c',
47         deps='gensec pytalloc-util pyparam_util',
48         realname='samba/gensec.so'
49         )
50