2010-09-26 21:59:18 +04:00
#!/usr/bin/env python
IDMAP_AD_SRC = '''idmap_ad.c'''
IDMAP_RID_SRC = '''idmap_rid.c'''
IDMAP_PASSDB_SRC = '''idmap_passdb.c'''
IDMAP_LDAP_SRC = '''idmap_ldap.c'''
2010-09-27 01:38:36 +04:00
IDMAP_NSS_SRC = '''idmap_nss.c'''
IDMAP_TDB_SRC = '''idmap_tdb.c'''
2010-09-26 21:59:18 +04:00
IDMAP_TDB2_SRC = '''idmap_tdb2.c'''
IDMAP_HASH_SRC = '''idmap_hash/idmap_hash.c
idmap_hash/mapfile.c'''
IDMAP_ADEX_SRC = '''idmap_adex/idmap_adex.c
idmap_adex/cell_util.c
idmap_adex/likewise_cell.c
idmap_adex/provider_unified.c
idmap_adex/gc_util.c
idmap_adex/domain_util.c'''
2010-11-08 16:34:51 +03:00
IDMAP_AUTORID_SRC = '''idmap_autorid.c'''
2010-09-26 21:59:18 +04:00
IDMAP_RW_SRC = 'idmap_rw.c'
IDMAP_SRC = 'idmap.c idmap_util.c ${IDMAP_RW_SRC}'
2010-10-07 23:28:04 +04:00
bld.SAMBA_SUBSYSTEM('idmap',
2010-09-26 21:59:18 +04:00
source=IDMAP_SRC,
vars=locals())
2010-11-30 23:42:17 +03:00
bld.SAMBA_SUBSYSTEM('IDMAP_ADEX',
source=IDMAP_ADEX_SRC,
vars=locals())
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_ad',
subsystem='idmap',
2010-09-26 21:59:18 +04:00
source=IDMAP_AD_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_rid',
subsystem='idmap',
2010-09-26 21:59:18 +04:00
source=IDMAP_RID_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_RID'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_RID'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_passdb',
subsystem='idmap',
2010-09-26 21:59:18 +04:00
source=IDMAP_PASSDB_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_PASSDB'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_PASSDB'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_ldap',
subsystem='idmap',
2010-09-26 21:59:18 +04:00
source=IDMAP_LDAP_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_LDAP'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_LDAP'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_nss',
subsystem='idmap',
2010-09-27 01:38:36 +04:00
source=IDMAP_NSS_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_NSS'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_NSS'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_tdb',
subsystem='idmap',
2010-09-27 01:38:36 +04:00
source=IDMAP_TDB_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_TDB'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_TDB'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_tdb2',
subsystem='idmap',
2010-09-26 21:59:18 +04:00
source=IDMAP_TDB2_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_TDB2'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_TDB2'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_hash',
subsystem='idmap',
2010-09-26 21:59:18 +04:00
source=IDMAP_HASH_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_HASH'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_HASH'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('idmap_adex',
subsystem='idmap',
2010-11-30 23:42:17 +03:00
source='',
deps='IDMAP_ADEX',
2010-09-26 21:59:18 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_ADEX'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_ADEX'))
2010-10-05 13:38:45 +04:00
2010-11-08 16:34:51 +03:00
bld.SAMBA_MODULE('idmap_autorid',
subsystem='idmap',
source=IDMAP_AUTORID_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AUTORID'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AUTORID'))
2010-10-05 13:38:45 +04:00
NSS_INFO_TEMPLATE_SRC = 'nss_info_template.c'
NSS_INFO_SRC = 'nss_info.c'
2010-10-07 23:28:04 +04:00
bld.SAMBA_SUBSYSTEM('nss_info',
2010-10-05 13:38:45 +04:00
source=NSS_INFO_SRC,
vars=locals())
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('nss_info_template',
subsystem='nss_info',
2010-10-05 13:38:45 +04:00
source=NSS_INFO_TEMPLATE_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('NSS_INFO_TEMPLATE'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('NSS_INFO_TEMPLATE'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('nss_info_adex',
subsystem='nss_info',
2010-11-30 23:42:17 +03:00
source='',
deps='IDMAP_ADEX',
2010-10-05 13:38:45 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_ADEX'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_ADEX'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('nss_info_hash',
subsystem='nss_info',
2010-10-05 13:38:45 +04:00
source=IDMAP_HASH_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_HASH'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_HASH'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('nss_info_rfc2307',
subsystem='nss_info',
2010-10-05 13:38:45 +04:00
source=IDMAP_AD_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('nss_info_sfu20',
subsystem='nss_info',
2010-10-05 13:38:45 +04:00
source=IDMAP_AD_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))
2010-10-07 23:28:04 +04:00
bld.SAMBA_MODULE('nss_info_sfu',
subsystem='nss_info',
2010-10-05 13:38:45 +04:00
source=IDMAP_AD_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('IDMAP_AD'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('IDMAP_AD'))