diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/wscript_build | 46 |
1 files changed, 13 insertions, 33 deletions
diff --git a/source3/winbindd/wscript_build b/source3/winbindd/wscript_build index 738d42fde9..b1aa65efbd 100644 --- a/source3/winbindd/wscript_build +++ b/source3/winbindd/wscript_build @@ -1,23 +1,7 @@ #!/usr/bin/env python -IDMAP_AD_SRC = '''idmap_ad.c''' -IDMAP_RFC2307_SRC = '''idmap_rfc2307.c''' -IDMAP_RID_SRC = '''idmap_rid.c''' -IDMAP_PASSDB_SRC = '''idmap_passdb.c''' -IDMAP_LDAP_SRC = '''idmap_ldap.c''' -IDMAP_NSS_SRC = '''idmap_nss.c''' -IDMAP_TDB_SRC = '''idmap_tdb.c''' -IDMAP_TDB2_SRC = '''idmap_tdb2.c''' - -IDMAP_HASH_SRC = '''idmap_hash/idmap_hash.c - idmap_hash/mapfile.c''' - -IDMAP_AUTORID_SRC = '''idmap_autorid.c''' - -IDMAP_SRC = 'idmap.c idmap_util.c' - bld.SAMBA3_LIBRARY('idmap', - source=IDMAP_SRC, + source='idmap.c idmap_util.c', deps='samba-util', allow_undefined_symbols=True, private_library=True) @@ -31,12 +15,12 @@ bld.SAMBA3_SUBSYSTEM('IDMAP_TDB_COMMON', deps='tdb IDMAP_RW') bld.SAMBA3_SUBSYSTEM('IDMAP_HASH', - source=IDMAP_HASH_SRC, + source='idmap_hash/idmap_hash.c idmap_hash/mapfile.c', deps='samba-util krb5samba', vars=locals()) bld.SAMBA3_SUBSYSTEM('IDMAP_AD', - source=IDMAP_AD_SRC, + source='idmap_ad.c', deps='ads nss_info', enabled=bld.CONFIG_SET("HAVE_LDAP")) @@ -52,7 +36,7 @@ bld.SAMBA3_MODULE('idmap_ad', bld.SAMBA3_MODULE('idmap_rfc2307', subsystem='idmap', allow_undefined_symbols=True, - source=IDMAP_RFC2307_SRC, + source='idmap_rfc2307.c', init_function='', deps='ads', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'), @@ -61,14 +45,14 @@ bld.SAMBA3_MODULE('idmap_rfc2307', bld.SAMBA3_MODULE('idmap_rid', subsystem='idmap', allow_undefined_symbols=True, - source=IDMAP_RID_SRC, + source='idmap_rid.c', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rid'), enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rid')) bld.SAMBA3_MODULE('idmap_passdb', subsystem='idmap', - source=IDMAP_PASSDB_SRC, + source='idmap_passdb.c', deps='samba-util pdb', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_passdb'), @@ -76,7 +60,7 @@ bld.SAMBA3_MODULE('idmap_passdb', bld.SAMBA3_MODULE('idmap_ldap', subsystem='idmap', - source=IDMAP_LDAP_SRC, + source='idmap_ldap.c', deps='smbldap smbldaphelper pdb IDMAP_RW', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ldap'), @@ -85,7 +69,7 @@ bld.SAMBA3_MODULE('idmap_ldap', bld.SAMBA3_MODULE('idmap_nss', subsystem='idmap', - source=IDMAP_NSS_SRC, + source='idmap_nss.c', deps='samba-util', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_nss'), @@ -93,7 +77,7 @@ bld.SAMBA3_MODULE('idmap_nss', bld.SAMBA3_MODULE('idmap_tdb', subsystem='idmap', - source=IDMAP_TDB_SRC, + source='idmap_tdb.c', deps='samba-util tdb IDMAP_TDB_COMMON', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb'), @@ -101,7 +85,7 @@ bld.SAMBA3_MODULE('idmap_tdb', bld.SAMBA3_MODULE('idmap_tdb2', subsystem='idmap', - source=IDMAP_TDB2_SRC, + source='idmap_tdb2.c', deps='samba-util tdb IDMAP_TDB_COMMON', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'), @@ -118,26 +102,22 @@ bld.SAMBA3_MODULE('idmap_hash', bld.SAMBA3_MODULE('idmap_autorid', subsystem='idmap', - source=IDMAP_AUTORID_SRC, + source='idmap_autorid.c', deps='samba-util tdb IDMAP_TDB_COMMON', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_autorid'), enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'), allow_undefined_symbols=True) - -NSS_INFO_TEMPLATE_SRC = 'nss_info_template.c' -NSS_INFO_SRC = 'nss_info.c' - bld.SAMBA3_LIBRARY('nss_info', - source=NSS_INFO_SRC, + source='nss_info.c', deps='samba-util param', vars=locals(), private_library=True) bld.SAMBA3_MODULE('nss_info_template', subsystem='nss_info', - source=NSS_INFO_TEMPLATE_SRC, + source='nss_info_template.c', deps='samba-util krb5samba', init_function='', internal_module=bld.SAMBA3_IS_STATIC_MODULE('nss_info_template'), |