2010-09-26 21:43:43 +04:00
#!/usr/bin/env python
AUTH_BUILTIN_SRC = 'auth_builtin.c'
AUTH_DOMAIN_SRC = 'auth_domain.c'
2011-02-23 02:31:35 +03:00
AUTH_SAM_SRC = 'auth_sam.c'
2010-09-26 21:43:43 +04:00
AUTH_SERVER_SRC = 'auth_server.c'
AUTH_UNIX_SRC = 'auth_unix.c'
AUTH_WINBIND_SRC = 'auth_winbind.c'
AUTH_WBC_SRC = 'auth_wbc.c'
AUTH_SCRIPT_SRC = 'auth_script.c'
AUTH_NETLOGOND_SRC = 'auth_netlogond.c'
2011-02-23 02:31:35 +03:00
AUTH_SRC = '''auth.c
2010-09-26 21:43:43 +04:00
user_krb5.c
auth_compat.c auth_ntlmssp.c'''
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
2010-11-30 18:16:22 +03:00
source='token_util.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-11-30 18:16:22 +03:00
vars=locals())
2011-05-25 08:55:08 +04:00
bld.SAMBA3_SUBSYSTEM('USER_UTIL',
source='user_util.c',
deps='TOKEN_UTIL')
2011-02-23 02:31:35 +03:00
bld.SAMBA3_SUBSYSTEM('AUTH_COMMON',
source='''auth_util.c
check_samsec.c
server_info.c
server_info_sam.c
2011-05-25 08:55:08 +04:00
user_info.c''',
deps='TOKEN_UTIL DCUTIL USER_UTIL',
2011-02-23 02:31:35 +03:00
vars=locals())
2011-07-03 11:20:02 +04:00
bld.SAMBA3_LIBRARY('auth',
2010-09-26 21:43:43 +04:00
source=AUTH_SRC,
2011-02-23 02:31:35 +03:00
deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON''',
2011-07-03 11:20:02 +04:00
private_library=True)
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_sam',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_SAM_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 21:43:43 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_sam'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_sam'))
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_unix',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_UNIX_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 21:43:43 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_unix'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_winbind',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_WINBIND_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 21:43:43 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_winbind'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_winbind'))
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_wbc',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_WBC_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 21:43:43 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_server',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_SERVER_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 21:43:43 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_server'),
2011-07-04 12:30:25 +04:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_server'))
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_domain',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_DOMAIN_SRC,
2010-10-08 15:17:21 +04:00
deps='RPC_CLIENT_SCHANNEL',
2010-09-26 21:43:43 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_domain'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_domain'))
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_builtin',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_BUILTIN_SRC,
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 21:43:43 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_builtin'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_builtin'))
2010-09-26 21:43:43 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_netlogond',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_NETLOGOND_SRC,
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_netlogond'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_netlogond'))
2010-09-28 22:00:47 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('auth_script',
2010-10-07 23:28:04 +04:00
subsystem='auth',
2010-09-28 22:00:47 +04:00
source=AUTH_SCRIPT_SRC,
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_script'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_script'))
2011-05-08 16:48:11 +04:00
bld.SAMBA3_MODULE('auth_samba4',
subsystem='auth',
source='auth_samba4.c',
init_function='',
2011-07-21 08:48:59 +04:00
deps='auth4 samba_server_gensec gensec',
2011-05-08 16:48:11 +04:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_samba4'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_samba4'))