libcli: Remove an unused variable
[Samba.git] / source3 / auth / wscript_build
blobe7a605177e78ed5a43513c365b48f5ee2397bde3
1 #!/usr/bin/env python
3 bld.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
4 source='token_util.c',
5 deps='samba-util pdb')
7 bld.SAMBA3_SUBSYSTEM('USER_UTIL',
8 source='user_util.c',
9 deps='TOKEN_UTIL')
11 bld.SAMBA3_SUBSYSTEM('AUTH_COMMON',
12 source='''auth_util.c
13 check_samsec.c
14 server_info.c
15 server_info_sam.c
16 user_info.c''',
17 deps='TOKEN_UTIL DCUTIL USER_UTIL')
19 bld.SAMBA3_LIBRARY('auth',
20 source='''auth.c
21 user_krb5.c
22 auth_ntlmssp.c
23 auth_generic.c''',
24 deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON libcli_netlogon3 samba-hostconfig''',
25 private_library=True)
27 bld.SAMBA3_MODULE('auth_sam',
28 subsystem='auth',
29 source='auth_sam.c',
30 deps='samba-util',
31 init_function='',
32 internal_module=True)
34 bld.SAMBA3_MODULE('auth_unix',
35 subsystem='auth',
36 source='auth_unix.c',
37 deps='samba-util',
38 init_function='',
39 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_unix'),
40 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
42 bld.SAMBA3_MODULE('auth_winbind',
43 subsystem='auth',
44 source='auth_winbind.c',
45 deps='samba-util',
46 init_function='',
47 internal_module=True)
49 bld.SAMBA3_MODULE('auth_wbc',
50 subsystem='auth',
51 source='auth_wbc.c',
52 deps='samba-util',
53 init_function='',
54 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
55 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
57 bld.SAMBA3_MODULE('auth_domain',
58 subsystem='auth',
59 source='auth_domain.c',
60 deps='RPC_CLIENT_SCHANNEL trusts_util',
61 init_function='',
62 internal_module=True)
64 bld.SAMBA3_MODULE('auth_builtin',
65 subsystem='auth',
66 source='auth_builtin.c',
67 deps='samba-util',
68 init_function='',
69 internal_module=True)
71 bld.SAMBA3_MODULE('auth_script',
72 subsystem='auth',
73 source='auth_script.c',
74 init_function='',
75 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_script'),
76 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_script'))
78 bld.SAMBA3_MODULE('auth_samba4',
79 subsystem='auth',
80 source='auth_samba4.c',
81 init_function='',
82 deps='auth4 samba_server_gensec gensec',
83 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
84 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_samba4') and bld.AD_DC_BUILD_IS_ENABLED())