s4:auth/gensec: remove unused dependencies to gensec_util
[samba.git] / source4 / auth / gensec / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('gensec_util',
4                     source='gensec_tstream.c',
5                     deps='tevent-util tevent samba-util LIBTSOCKET',
6                     autoproto='gensec_proto.h')
7
8 gensec_krb5_sources = 'gensec_krb5_heimdal.c'
9 if bld.CONFIG_SET('SAMBA_USES_MITKDC'):
10     gensec_krb5_sources = 'gensec_krb5_mit.c'
11
12 bld.SAMBA_MODULE('gensec_krb5',
13         source='gensec_krb5.c ' + gensec_krb5_sources,
14         subsystem='gensec',
15         init_function='gensec_krb5_init',
16         deps='samba-credentials authkrb5 com_err',
17         internal_module=False,
18         enabled=bld.AD_DC_BUILD_IS_ENABLED()
19         )
20
21
22 bld.SAMBA_MODULE('gensec_gssapi',
23         source='gensec_gssapi.c',
24         subsystem='gensec',
25         init_function='gensec_gssapi_init',
26         deps='gssapi samba-credentials authkrb5 com_err'
27         )
28
29 bld.SAMBA_PYTHON('pygensec',
30         source='pygensec.c',
31         deps='gensec pytalloc-util pyparam_util',
32         realname='samba/gensec.so'
33         )
34