86d958950f34c644f90c6a46c09b54b2607d17e7
[samba.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 gensec_util.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',
10         subsystem='gensec',
11         init_function='gensec_krb5_init',
12         deps='samba-credentials authkrb5 auth_session com_err',
13         internal_module=False,
14         )
15
16
17 bld.SAMBA_MODULE('gensec_gssapi',
18         source='gensec_gssapi.c',
19         subsystem='gensec',
20         init_function='gensec_gssapi_init',
21         deps='gssapi samba-credentials authkrb5 com_err'
22         )
23
24
25 bld.SAMBA_MODULE('cyrus_sasl',
26         source='cyrus_sasl.c',
27         subsystem='gensec',
28         init_function='gensec_sasl_init',
29         deps='samba-credentials sasl2',
30         enabled=bld.CONFIG_SET('HAVE_SASL')
31         )
32
33
34 bld.SAMBA_MODULE('gensec_spnego',
35         source='spnego.c',
36         autoproto='spnego_proto.h',
37         subsystem='gensec',
38         init_function='gensec_spnego_init',
39         deps='asn1util samba-credentials SPNEGO_PARSE'
40         )
41
42
43 bld.SAMBA_MODULE('gensec_schannel',
44         source='schannel.c',
45         subsystem='gensec',
46         deps='COMMON_SCHANNEL NDR_SCHANNEL samba-credentials ndr auth_session',
47         internal_module=True,
48         autoproto='schannel_proto.h',
49         init_function='gensec_schannel_init'
50         )
51
52
53 bld.SAMBA_PYTHON('pygensec',
54         source='pygensec.c',
55         deps='gensec pytalloc-util pyparam_util',
56         realname='samba/gensec.so'
57         )
58