s3-waf: avoid module name uppercasing.
[Samba.git] / source3 / auth / wscript_build
blobe9010fffcbdd5f0c2a90ad92013e4e49cd08e0fa
1 #!/usr/bin/env python
3 AUTH_BUILTIN_SRC = 'auth_builtin.c'
4 AUTH_DOMAIN_SRC = 'auth_domain.c'
5 AUTH_SAM_SRC = 'auth_sam.c check_samsec.c'
6 AUTH_SERVER_SRC = 'auth_server.c'
7 AUTH_UNIX_SRC = 'auth_unix.c'
8 AUTH_WINBIND_SRC = 'auth_winbind.c'
9 AUTH_WBC_SRC = 'auth_wbc.c'
10 AUTH_SCRIPT_SRC = 'auth_script.c'
11 AUTH_NETLOGOND_SRC = 'auth_netlogond.c'
13 AUTH_SRC = '''auth.c auth_util.c
14 server_info.c
15 server_info_sam.c
16 user_info.c
17 user_util.c
18 user_krb5.c
19 auth_compat.c auth_ntlmssp.c'''
21 bld.SAMBA_SUBSYSTEM('TOKEN_UTIL',
22 source='token_util.c',
23 vars=locals())
25 bld.SAMBA_SUBSYSTEM('auth',
26 source=AUTH_SRC,
27 deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL''',
28 vars=locals())
30 bld.SAMBA_MODULE('auth_sam',
31 subsystem='auth',
32 source=AUTH_SAM_SRC,
33 init_function='',
34 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_sam'),
35 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_sam'))
37 bld.SAMBA_MODULE('auth_unix',
38 subsystem='auth',
39 source=AUTH_UNIX_SRC,
40 init_function='',
41 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_unix'),
42 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
44 bld.SAMBA_MODULE('auth_winbind',
45 subsystem='auth',
46 source=AUTH_WINBIND_SRC,
47 init_function='',
48 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_winbind'),
49 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_winbind'))
51 bld.SAMBA_MODULE('auth_wbc',
52 subsystem='auth',
53 source=AUTH_WBC_SRC,
54 init_function='',
55 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
56 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
58 bld.SAMBA_MODULE('auth_server',
59 subsystem='auth',
60 source=AUTH_SERVER_SRC,
61 init_function='',
62 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_server'),
63 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_server'))
65 bld.SAMBA_MODULE('auth_domain',
66 subsystem='auth',
67 source=AUTH_DOMAIN_SRC,
68 deps='RPC_CLIENT_SCHANNEL',
69 init_function='',
70 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_domain'),
71 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_domain'))
73 bld.SAMBA_MODULE('auth_builtin',
74 subsystem='auth',
75 source=AUTH_BUILTIN_SRC,
76 init_function='',
77 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_builtin'),
78 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_builtin'))
80 bld.SAMBA_MODULE('auth_netlogond',
81 subsystem='auth',
82 source=AUTH_NETLOGOND_SRC,
83 init_function='',
84 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_netlogond'),
85 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_netlogond'))
87 bld.SAMBA_MODULE('auth_script',
88 subsystem='auth',
89 source=AUTH_SCRIPT_SRC,
90 init_function='',
91 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_script'),
92 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_script'))