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