build: provide tevent-util as a public library
[kai/samba-autobuild/.git] / source4 / auth / ntlm / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_MODULE('auth4_sam_module',
4         source='auth_sam.c',
5         subsystem='auth4',
6         init_function='auth4_sam_init',
7         deps='samdb auth4_sam NTLMSSP_COMMON samba-hostconfig'
8         )
9
10
11 bld.SAMBA_MODULE('auth4_anonymous',
12         source='auth_anonymous.c',
13         subsystem='auth4',
14         init_function='auth4_anonymous_init',
15         deps='talloc'
16         )
17
18
19 bld.SAMBA_MODULE('auth4_server',
20         source='auth_server.c',
21         subsystem='auth4',
22         init_function='auth4_server_init',
23         deps='samba-util LIBCLI_SMB CREDENTIALS_NTLM'
24         )
25
26
27 bld.SAMBA_MODULE('auth4_winbind',
28         source='auth_winbind.c',
29         subsystem='auth4',
30         init_function='auth4_winbind_init',
31         deps='RPC_NDR_WINBIND MESSAGING wbclient'
32         )
33
34
35 bld.SAMBA_MODULE('auth4_developer',
36         source='auth_developer.c',
37         subsystem='auth4',
38         init_function='auth4_developer_init',
39         deps='talloc'
40         )
41
42
43 bld.SAMBA_MODULE('auth4_unix',
44         source='auth_unix.c',
45         subsystem='auth4',
46         init_function='auth4_unix_init',
47         deps='pam PAM_ERRORS LIBTSOCKET'
48         )
49
50
51 bld.SAMBA_LIBRARY('auth4',
52         source='auth.c auth_util.c auth_simple.c',
53         autoproto='auth_proto.h',
54         deps='samba-util security samdb credentials tevent-util LIBWBCLIENT_OLD auth_unix_token',
55         private_library=True
56         )
57
58 bld.SAMBA_MODULE('service_auth',
59         source='auth_server_service.c',
60         subsystem='service',
61         init_function='server_service_auth_init',
62         deps='auth4',
63         internal_module=True
64         )
65