build: moved spnego_parse.c into a common subsystem
[samba.git] / libcli / auth / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('cliauth',
4                   source='',
5                   deps='NTLMSSP_COMMON MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE',
6                   private_library=True,
7                   grouping_library=True)
8
9 bld.SAMBA_SUBSYSTEM('NTLMSSP_COMMON',
10                     source='ntlmssp.c ntlmssp_ndr.c ntlmssp_server.c ntlmssp_sign.c ntlm_check.c',
11                     deps='samba-util NDR_NTLMSSP MSRPC_PARSE')
12
13
14 bld.SAMBA_SUBSYSTEM('MSRPC_PARSE',
15         source='msrpc_parse.c',
16         deps='talloc'
17         )
18
19
20 bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
21         source='credentials.c session.c smbencrypt.c smbdes.c',
22         public_deps='MSRPC_PARSE',
23         public_headers='credentials.h:domain_credentials.h'
24         )
25
26
27 bld.SAMBA_SUBSYSTEM('COMMON_SCHANNEL',
28         source='schannel_state_tdb.c schannel_sign.c',
29         deps='tdb-wrap UTIL_TDB'
30         )
31
32
33 bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
34         source='pam_errors.c',
35         deps='talloc'
36         )
37
38 bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
39                     source='spnego_parse.c',
40                     deps='ASN1_UTIL')