Rename 'errors' to 'samba-errors' and make it public.
[obnox/samba/samba-obnox.git] / libcli / auth / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('cliauth',
4                   source='',
5                   deps='MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE krb5samba samba-errors NTLM_CHECK UTIL_LSARPC',
6                   private_library=True,
7                   grouping_library=True)
8
9 bld.SAMBA_SUBSYSTEM('MSRPC_PARSE',
10         source='msrpc_parse.c',
11         deps='talloc'
12         )
13
14 bld.SAMBA_SUBSYSTEM('NTLM_CHECK',
15                     source='ntlm_check.c',
16                     deps = 'talloc'
17                     )
18
19 bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
20         source='credentials.c session.c smbencrypt.c smbdes.c',
21         public_deps='MSRPC_PARSE',
22         public_headers='credentials.h:domain_credentials.h'
23         )
24
25
26 bld.SAMBA_SUBSYSTEM('COMMON_SCHANNEL',
27         source='schannel_state_tdb.c',
28         deps='dbwrap util_tdb samba-hostconfig NDR_NETLOGON'
29         )
30
31 bld.SAMBA_SUBSYSTEM('NETLOGON_CREDS_CLI',
32         source='netlogon_creds_cli.c',
33         deps='dbwrap util_tdb tevent-util samba-hostconfig RPC_NDR_NETLOGON NDR_NETLOGON'
34         )
35
36 bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
37         source='pam_errors.c',
38         deps='talloc'
39         )
40
41 bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
42                     source='spnego_parse.c',
43                     deps='asn1util')