summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/wscript_build
blob: a3eff978c3c65d37a77fccc6d4ac891ba187a4bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('gensec_util',
                    source='socket.c gensec_tstream.c',
                    deps='tevent-util tevent samba-util LIBTSOCKET',
                    autoproto='gensec_proto.h')

bld.SAMBA_MODULE('gensec_krb5',
	source='gensec_krb5.c gensec_krb5_util.c',
	subsystem='gensec',
	init_function='gensec_krb5_init',
	deps='samba-credentials authkrb5 com_err gensec_util',
	internal_module=False,
        enabled=bld.AD_DC_BUILD_IS_ENABLED()
	)


bld.SAMBA_MODULE('gensec_gssapi',
	source='gensec_gssapi.c',
	subsystem='gensec',
	init_function='gensec_gssapi_init',
	deps='gssapi samba-credentials authkrb5 com_err gensec_util'
	)


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_PYTHON('pygensec',
	source='pygensec.c',
	deps='gensec pytalloc-util pyparam_util',
	realname='samba/gensec.so'
	)