summaryrefslogtreecommitdiff
path: root/libcli/auth/wscript_build
blob: 2afab44ac24ee9a1de6c8fb4ed11017e975c7392 (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
#!/usr/bin/env python

bld.SAMBA_LIBRARY('cliauth',
                  source='',
                  deps='NTLMSSP_COMMON MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE KRB5_WRAP errors',
                  private_library=True,
                  grouping_library=True)

bld.SAMBA_SUBSYSTEM('NTLMSSP_COMMON',
                    source='ntlmssp.c ntlmssp_ndr.c ntlmssp_server.c ntlmssp_sign.c ntlm_check.c',
                    deps='samba-util NDR_NTLMSSP MSRPC_PARSE')


bld.SAMBA_SUBSYSTEM('MSRPC_PARSE',
	source='msrpc_parse.c',
	deps='talloc'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
	source='credentials.c session.c smbencrypt.c smbdes.c',
	public_deps='MSRPC_PARSE',
	public_headers='credentials.h:domain_credentials.h'
	)


bld.SAMBA_SUBSYSTEM('COMMON_SCHANNEL',
	source='schannel_state_tdb.c schannel_sign.c',
	deps='tdb-wrap UTIL_TDB samba-hostconfig'
	)


bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
	source='pam_errors.c',
	deps='talloc'
	)

bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
                    source='spnego_parse.c',
                    deps='asn1util')

bld.SAMBA_SUBSYSTEM('KRB5_WRAP',
                    source='krb5_wrap.c',
                    deps='gssapi_krb5 krb5 ndr-krb5pac com_err KRB5_PAC')