2010-09-26 21:43:43 +04:00
#!/usr/bin/env python
AUTH_BUILTIN_SRC = 'auth_builtin.c'
AUTH_DOMAIN_SRC = 'auth_domain.c'
AUTH_SAM_SRC = 'auth_sam.c check_samsec.c'
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'
2010-11-30 18:16:22 +03:00
AUTH_SRC = '''auth.c auth_util.c
2010-09-26 21:43:43 +04:00
server_info.c
server_info_sam.c
user_info.c
user_util.c
user_krb5.c
auth_compat.c auth_ntlmssp.c'''
2010-11-30 18:16:22 +03:00
bld.SAMBA_SUBSYSTEM('TOKEN_UTIL',
source='token_util.c',
vars=locals())
2010-10-07 23:28:04 +04:00
bld.SAMBA_SUBSYSTEM('auth',
2010-09-26 21:43:43 +04:00
source=AUTH_SRC,
2010-11-30 18:16:22 +03:00
deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL''',
2010-09-26 21:43:43 +04:00
vars=locals())
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_sam',
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_SAM_SRC,
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
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_unix',
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_UNIX_SRC,
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
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_winbind',
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_WINBIND_SRC,
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
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_wbc',
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_WBC_SRC,
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
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_server',
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_SERVER_SRC,
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_server'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_server'))
2010-09-26 21:43:43 +04:00
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_domain',
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
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_builtin',
subsystem='auth',
2010-09-26 21:43:43 +04:00
source=AUTH_BUILTIN_SRC,
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
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_netlogond',
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
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('auth_script',
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'))