4eed751408de450ca10d17e2e9cbda6daa9385ed
[samba.git] / source4 / auth / gensec / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('gensec',
4         source='gensec_start.c socket.c gensec_tstream.c',
5         pc_files='gensec.pc',
6         autoproto='gensec_proto.h',
7         public_deps='UTIL_TEVENT samba-util errors LIBPACKET auth_system_session gensec_runtime',
8         deps='com_err',
9         vnum='0.0.1'
10         )
11
12 bld.SAMBA_MODULE('gensec_krb5',
13         source='gensec_krb5.c',
14         subsystem='gensec',
15         init_function='gensec_krb5_init',
16         deps='credentials authkrb5 auth_session com_err',
17         internal_module=False,
18         )
19
20
21 bld.SAMBA_MODULE('gensec_gssapi',
22         source='gensec_gssapi.c',
23         subsystem='gensec',
24         init_function='gensec_gssapi_init',
25         deps='gssapi credentials authkrb5 com_err'
26         )
27
28
29 bld.SAMBA_MODULE('cyrus_sasl',
30         source='cyrus_sasl.c',
31         subsystem='gensec',
32         init_function='gensec_sasl_init',
33         deps='credentials sasl2',
34         enabled=bld.CONFIG_SET('HAVE_SASL')
35         )
36
37
38 bld.SAMBA_MODULE('gensec_spnego',
39         source='spnego.c',
40         autoproto='spnego_proto.h',
41         subsystem='gensec',
42         init_function='gensec_spnego_init',
43         deps='asn1util credentials SPNEGO_PARSE'
44         )
45
46
47 bld.SAMBA_MODULE('gensec_schannel',
48         source='schannel.c',
49         subsystem='gensec',
50         deps='COMMON_SCHANNEL NDR_SCHANNEL credentials ndr auth_session',
51         internal_module=True,
52         autoproto='schannel_proto.h',
53         init_function='gensec_schannel_init'
54         )
55
56
57 bld.SAMBA_PYTHON('pygensec',
58         source='pygensec.c',
59         deps='gensec pytalloc-util pyparam_util',
60         realname='samba/gensec.so'
61         )
62