s4:waf - fix the build on Gentoo platforms
[sfrench/samba-autobuild/.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 samba-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         deps='talloc'
16         )
17
18
19 bld.SAMBA_MODULE('auth_server',
20         source='auth_server.c',
21         subsystem='auth',
22         init_function='auth_server_init',
23         deps='samba-util LIBCLI_SMB CREDENTIALS_NTLM'
24         )
25
26
27 bld.SAMBA_MODULE('auth_winbind',
28         source='auth_winbind.c',
29         subsystem='auth',
30         init_function='auth_winbind_init',
31         deps='RPC_NDR_WINBIND MESSAGING wbclient'
32         )
33
34
35 bld.SAMBA_MODULE('auth_developer',
36         source='auth_developer.c',
37         subsystem='auth',
38         init_function='auth_developer_init',
39         deps='talloc'
40         )
41
42
43 bld.SAMBA_MODULE('auth_unix',
44         source='auth_unix.c',
45         subsystem='auth',
46         init_function='auth_unix_init',
47         deps='pam PAM_ERRORS LIBTSOCKET'
48         )
49
50
51 bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
52         source='pam_errors.c',
53         deps='talloc'
54         )
55
56
57 bld.SAMBA_LIBRARY('auth',
58         source='auth.c auth_util.c auth_simple.c',
59         autoproto='auth_proto.h',
60         deps='samba-util security SAMDB CREDENTIALS UTIL_TEVENT',
61         private_library=True
62         )
63
64 bld.SAMBA_MODULE('auth_server_service',
65         source='auth_server_service.c',
66         subsystem='service',
67         init_function='server_service_auth_init',
68         deps='auth',
69         internal_module=True
70         )
71