mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-waf: fix pdb modules build.
Guenther
This commit is contained in:
parent
20c7e2b3a3
commit
10f95a4f1a
@ -1,48 +1,47 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
PDB_STATIC = ''
|
||||
PDB_TDBSAM_SRC = 'pdb_tdb.c'
|
||||
PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c'
|
||||
PDB_ADS_SRC = 'pdb_ads.c'
|
||||
PDB_SMBPASSWD_SRC = 'pdb_smbpasswd.c'
|
||||
PDB_WBC_SAM_SRC = 'pdb_wbc_sam.c'
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('PDB',
|
||||
source='',
|
||||
deps='''PDB_TDBSAM PDB_LDAP PDB_ADS PDB_SMBPASSWD PDB_WBC_SAM''',
|
||||
bld.SAMBA_SUBSYSTEM('pdb',
|
||||
source='pdb_interface.c',
|
||||
deps='',
|
||||
vars=locals())
|
||||
|
||||
bld.SAMBA_MODULE('PDB_TDBSAM',
|
||||
subsystem='PDB',
|
||||
bld.SAMBA_MODULE('pdb_tdbsam',
|
||||
subsystem='pdb',
|
||||
source=PDB_TDBSAM_SRC,
|
||||
init_function='',
|
||||
internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_TDBSAM'),
|
||||
enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_TDBSAM'))
|
||||
|
||||
bld.SAMBA_MODULE('PDB_LDAP',
|
||||
subsystem='PDB',
|
||||
bld.SAMBA_MODULE('pdb_ldap',
|
||||
subsystem='pdb',
|
||||
source=PDB_LDAP_SRC,
|
||||
init_function='',
|
||||
internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_LDAP'),
|
||||
enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_LDAP'))
|
||||
|
||||
bld.SAMBA_MODULE('PDB_ADS',
|
||||
subsystem='PDB',
|
||||
bld.SAMBA_MODULE('pdb_ads',
|
||||
subsystem='pdb',
|
||||
source=PDB_ADS_SRC,
|
||||
deps='LIBCLI_LDAP_NDR',
|
||||
init_function='',
|
||||
internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_ADS'),
|
||||
enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_ADS'))
|
||||
|
||||
bld.SAMBA_MODULE('PDB_SMBPASSWD',
|
||||
subsystem='PDB',
|
||||
bld.SAMBA_MODULE('pdb_smbpasswd',
|
||||
subsystem='pdb',
|
||||
source=PDB_SMBPASSWD_SRC,
|
||||
init_function='',
|
||||
internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_SMBPASSWD'),
|
||||
enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_SMBPASSWD'))
|
||||
|
||||
bld.SAMBA_MODULE('PDB_WBC_SAM',
|
||||
subsystem='PDB',
|
||||
bld.SAMBA_MODULE('pdb_wbc_sam',
|
||||
subsystem='pdb',
|
||||
source=PDB_WBC_SAM_SRC,
|
||||
init_function='',
|
||||
internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_WBC_SAM'),
|
||||
|
@ -451,7 +451,7 @@ PRIVILEGES_SRC = '''lib/privileges.c'''
|
||||
|
||||
PASSDB_GET_SET_SRC = '''passdb/pdb_get_set.c'''
|
||||
|
||||
PASSDB_SRC = '''${PASSDB_GET_SET_SRC} passdb/passdb.c passdb/pdb_interface.c
|
||||
PASSDB_SRC = '''${PASSDB_GET_SET_SRC} passdb/passdb.c
|
||||
passdb/util_wellknown.c passdb/util_builtin.c passdb/pdb_compat.c
|
||||
passdb/util_unixsids.c passdb/lookup_sid.c
|
||||
passdb/login_cache.c
|
||||
@ -1086,7 +1086,7 @@ bld.SAMBA_SUBSYSTEM('TLDAP',
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('PASSDB',
|
||||
source=PASSDB_SRC,
|
||||
deps='''GROUPDB TLDAP SECRETS SMBLDAP PDB''',
|
||||
deps='''GROUPDB TLDAP SECRETS SMBLDAP pdb''',
|
||||
vars=locals())
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('PARAM_WITHOUT_REG',
|
||||
|
Loading…
Reference in New Issue
Block a user