e315d93ab94d01f80dbbfcd8e6c60dfe33908ce7
[kai/samba.git] / source4 / auth / ntlm / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_MODULE('auth_sam_module',
4         source='auth_sam.c',
5         subsystem='auth',
6         init_function='auth_sam_init',
7         deps='SAMDB auth_sam ntlm_check LIBSAMBA-HOSTCONFIG'
8         )
9
10
11 bld.SAMBA_MODULE('auth_anonymous',
12         source='auth_anonymous.c',
13         subsystem='auth',
14         init_function='auth_anonymous_init'
15         )
16
17
18 bld.SAMBA_MODULE('auth_server',
19         source='auth_server.c',
20         subsystem='auth',
21         init_function='auth_server_init',
22         deps='LIBSAMBA-UTIL LIBCLI_SMB CREDENTIALS_NTLM'
23         )
24
25
26 bld.SAMBA_MODULE('auth_winbind',
27         source='auth_winbind.c',
28         subsystem='auth',
29         init_function='auth_winbind_init',
30         deps='RPC_NDR_WINBIND MESSAGING LIBWBCLIENT'
31         )
32
33
34 bld.SAMBA_MODULE('auth_developer',
35         source='auth_developer.c',
36         subsystem='auth',
37         init_function='auth_developer_init'
38         )
39
40
41 bld.SAMBA_MODULE('auth_unix',
42         source='auth_unix.c',
43         subsystem='auth',
44         init_function='auth_unix_init',
45         deps='pam PAM_ERRORS NSS_WRAPPER LIBTSOCKET'
46         )
47
48
49 bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
50         source='pam_errors.c',
51         deps='talloc'
52         )
53
54
55 bld.SAMBA_LIBRARY('auth',
56                   source='auth.c auth_util.c auth_simple.c',
57                   autoproto='auth_proto.h',
58                   deps='LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS UTIL_TEVENT',
59                   private_library=True
60                   )
61
62 bld.SAMBA_MODULE('auth_server_service',
63         source='auth_server_service.c',
64         subsystem='service',
65         init_function='server_service_auth_init',
66         deps='auth',
67         internal_module=True
68         )
69