2010-09-26 19:59:18 +02:00
#!/usr/bin/env python
2011-07-03 09:20:02 +02:00
bld.SAMBA3_LIBRARY('idmap',
2013-09-22 23:03:10 +02:00
source='idmap.c idmap_util.c',
2011-07-03 09:20:02 +02:00
deps='samba-util',
allow_undefined_symbols=True,
private_library=True)
2010-09-26 19:59:18 +02:00
2013-09-22 22:49:22 +02:00
bld.SAMBA3_SUBSYSTEM('IDMAP_RW',
source='idmap_rw.c',
deps='samba-util')
bld.SAMBA3_SUBSYSTEM('IDMAP_TDB_COMMON',
source='idmap_tdb_common.c',
deps='tdb IDMAP_RW')
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('IDMAP_HASH',
2013-09-22 23:03:10 +02:00
source='idmap_hash/idmap_hash.c idmap_hash/mapfile.c',
2013-09-22 23:20:12 +02:00
deps='samba-util krb5samba')
2010-11-30 21:44:25 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('IDMAP_AD',
2013-09-22 23:03:10 +02:00
source='idmap_ad.c',
2012-06-14 12:55:55 +02:00
deps='ads nss_info',
2012-09-21 22:27:24 -07:00
enabled=bld.CONFIG_SET("HAVE_LDAP"))
2010-11-30 21:46:31 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_ad',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2012-06-14 12:55:55 +02:00
allow_undefined_symbols=True,
2010-11-30 21:46:31 +01:00
source='',
deps='IDMAP_AD',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2012-09-21 22:27:24 -07:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
2010-09-26 19:59:18 +02:00
2013-02-21 12:32:37 -07:00
bld.SAMBA3_MODULE('idmap_rfc2307',
subsystem='idmap',
allow_undefined_symbols=True,
2013-09-22 23:03:10 +02:00
source='idmap_rfc2307.c',
2013-02-21 12:32:37 -07:00
init_function='',
deps='ads',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rfc2307') and bld.CONFIG_SET("HAVE_LDAP"))
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_rid',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2011-08-31 17:56:51 +02:00
allow_undefined_symbols=True,
2013-09-22 23:03:10 +02:00
source='idmap_rid.c',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rid'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rid'))
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_passdb',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_passdb.c',
2011-07-28 14:41:56 +10:00
deps='samba-util pdb',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_passdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_passdb'))
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_ldap',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_ldap.c',
2013-09-22 22:49:22 +02:00
deps='smbldap smbldaphelper pdb IDMAP_RW',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ldap'),
2013-01-22 11:54:19 +01:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ldap') and bld.CONFIG_SET("HAVE_LDAP"),
2013-09-23 01:55:09 +02:00
allow_undefined_symbols=True)
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_nss',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_nss.c',
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 23:38:36 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_nss'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_nss'))
2010-09-26 23:38:36 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_tdb',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_tdb.c',
2013-09-22 22:49:22 +02:00
deps='samba-util tdb IDMAP_TDB_COMMON',
2010-09-26 23:38:36 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb'))
2010-09-26 23:38:36 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_tdb2',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_tdb2.c',
2013-09-22 22:49:22 +02:00
deps='samba-util tdb IDMAP_TDB_COMMON',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb2'))
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_hash',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2010-11-30 21:44:25 +01:00
source='',
deps='IDMAP_HASH',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_autorid',
2010-11-08 14:34:51 +01:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_autorid.c',
2013-09-22 22:49:22 +02:00
deps='samba-util tdb IDMAP_TDB_COMMON',
2010-11-08 14:34:51 +01:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_autorid'),
2011-07-03 09:20:02 +02:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'),
2013-09-22 21:11:40 +02:00
allow_undefined_symbols=True)
2010-11-08 14:34:51 +01:00
2011-08-31 12:43:57 +02:00
bld.SAMBA3_LIBRARY('nss_info',
2013-09-22 23:03:10 +02:00
source='nss_info.c',
2011-08-31 12:43:57 +02:00
deps='samba-util param',
private_library=True)
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_template',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2013-09-22 23:03:10 +02:00
source='nss_info_template.c',
2012-05-21 12:45:12 +03:00
deps='samba-util krb5samba',
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('nss_info_template'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('nss_info_template'))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_hash',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:44:25 +01:00
source='',
deps='IDMAP_HASH',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_rfc2307',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:46:31 +01:00
source='',
deps='IDMAP_AD',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2012-09-21 22:27:24 -07:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_sfu20',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:46:31 +01:00
source='',
deps='IDMAP_AD',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2012-09-21 22:27:24 -07:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_sfu',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:46:31 +01:00
source='',
deps='IDMAP_AD',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2012-09-21 22:27:24 -07:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))