summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/wscript_build
blob: 444608d644712e66a743f418f0bcf4a79502334a (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
bld.SAMBA_LIBRARY('gensec',
	source='gensec.c socket.c',
	# PC_FILES='gensec.pc',
	autoproto='gensec_proto.h',
	public_deps='CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba_socket LIBPACKET LIBTSOCKET UTIL_TEVENT',
	public_headers='gensec.h',
	vnum='0.0.1'
	)


bld.SAMBA_MODULE('gensec_krb5',
	source='gensec_krb5.c',
	subsystem='gensec',
	init_function='gensec_krb5_init',
	deps='CREDENTIALS KERBEROS auth_session'
	)


bld.SAMBA_MODULE('gensec_gssapi',
	source='gensec_gssapi.c',
	subsystem='gensec',
	init_function='gensec_gssapi_init',
	deps='HEIMDAL_GSSAPI CREDENTIALS KERBEROS'
	)


bld.SAMBA_MODULE('cyrus_sasl',
	source='cyrus_sasl.c',
	subsystem='gensec',
	init_function='gensec_sasl_init',
	deps='CREDENTIALS SASL'
	)


bld.SAMBA_MODULE('gensec_spnego',
	source='spnego.c ../../../libcli/auth/spnego_parse.c',
	autoproto='spnego_proto.h',
	subsystem='gensec',
	init_function='gensec_spnego_init',
	deps='ASN1_UTIL CREDENTIALS'
	)


bld.SAMBA_MODULE('gensec_schannel',
	source='schannel.c ../../../libcli/auth/schannel_sign.c',
	subsystem='gensec',
	deps='COMMON_SCHANNELDB NDR_SCHANNEL CREDENTIALS LIBNDR auth_session',
	internal_module=True,
	autoproto='schannel_proto.h',
	init_function='gensec_schannel_init'
	)


bld.SAMBA_PYTHON('pygensec',
	source='pygensec.c',
	deps='gensec PYTALLOC pyparam_util',
	realname='samba/gensec.so'
	)