smbd: trigger NOTIFY_ACTION_DIRLEASE_BREAK when closing a modified file
[samba4-gss.git] / libcli / auth / wscript_build
blobc73e0d15e3cd61d23a85a6c079460908a603fb0f
1 #!/usr/bin/env python
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)
9 bld.SAMBA_SUBSYSTEM('MSRPC_PARSE',
10 source='msrpc_parse.c',
11 deps='talloc'
14 bld.SAMBA_SUBSYSTEM('NTLM_CHECK',
15 source='ntlm_check.c',
16 deps = 'talloc LIBCLI_AUTH'
19 bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
20 source='credentials.c session.c smbencrypt.c smbdes.c',
21 public_deps='MSRPC_PARSE gnutls GNUTLS_HELPERS util_str_escape',
22 public_headers='credentials.h:domain_credentials.h'
26 bld.SAMBA_SUBSYSTEM('COMMON_SCHANNEL',
27 source='schannel_state_tdb.c',
28 deps='dbwrap util_tdb samba-hostconfig NDR_NETLOGON'
31 bld.SAMBA_SUBSYSTEM('NETLOGON_CREDS_CLI',
32 source='netlogon_creds_cli.c',
33 deps='''
34 dbwrap
35 util_tdb
36 tevent-util
37 samba-hostconfig
38 gensec
39 RPC_NDR_NETLOGON
40 NDR_NETLOGON
41 '''
44 bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
45 source='pam_errors.c',
46 deps='talloc'
49 bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
50 source='spnego_parse.c',
51 deps='asn1util')
53 bld.SAMBA_BINARY(
54 'test_ntlm_check',
55 source='tests/ntlm_check.c',
56 deps='''
57 NTLM_CHECK
58 CREDENTIALS_NTLM
59 samba-credentials
60 cmocka
61 talloc
62 ''',
63 for_selftest=True
66 bld.SAMBA_BINARY('test_rc4_passwd_buffer',
67 source='tests/test_rc4_passwd_buffer.c',
68 deps='''
69 INIT_SAMR
70 LIBCLI_AUTH
71 cmocka
72 ''',
73 for_selftest=True)
75 bld.SAMBA_BINARY('test_schannel',
76 source='tests/test_schannel.c',
77 deps='''
78 gensec
79 cmocka
80 ''',
81 for_selftest=True)
83 bld.SAMBA_BINARY('test_gnutls',
84 source='tests/test_gnutls.c',
85 deps='''
86 gnutls
87 LIBCLI_AUTH
88 cmocka
89 samba-util
90 ''',
91 for_selftest=True)
93 bld.SAMBA_BINARY('test_encode_decode',
94 source='tests/test_encode_decode.c',
95 deps='''
96 LIBCLI_AUTH
97 cmocka
98 samba-util
99 ''',
100 for_selftest=True)