mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
0ac4f64928
This ensures that they don't include a duplicate copy of pdb_interface.c functions, because they will instead link the library. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jul 4 12:24:50 CEST 2011 on sn-devel-104
56 lines
2.1 KiB
Python
56 lines
2.1 KiB
Python
#!/usr/bin/env python
|
|
|
|
PDB_TDBSAM_SRC = 'pdb_tdb.c'
|
|
PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c pdb_ipa.c'
|
|
PDB_ADS_SRC = 'pdb_ads.c'
|
|
PDB_SMBPASSWD_SRC = 'pdb_smbpasswd.c'
|
|
PDB_WBC_SAM_SRC = 'pdb_wbc_sam.c'
|
|
|
|
bld.SAMBA3_MODULE('pdb_tdbsam',
|
|
subsystem='passdb',
|
|
source=PDB_TDBSAM_SRC,
|
|
deps='samba-util tdb',
|
|
init_function='',
|
|
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
|
|
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
|
|
|
|
bld.SAMBA3_MODULE('pdb_ldap',
|
|
subsystem='passdb',
|
|
source=PDB_LDAP_SRC,
|
|
init_function='',
|
|
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),
|
|
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld.env.HAVE_LDAP)
|
|
|
|
bld.SAMBA3_MODULE('pdb_ads',
|
|
subsystem='passdb',
|
|
source=PDB_ADS_SRC,
|
|
deps='cli-ldap-common TLDAP',
|
|
init_function='',
|
|
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ads'),
|
|
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ads'))
|
|
|
|
bld.SAMBA3_MODULE('pdb_smbpasswd',
|
|
subsystem='passdb',
|
|
source=PDB_SMBPASSWD_SRC,
|
|
deps='samba-util',
|
|
init_function='',
|
|
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
|
|
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
|
|
|
|
bld.SAMBA3_MODULE('pdb_wbc_sam',
|
|
subsystem='passdb',
|
|
source=PDB_WBC_SAM_SRC,
|
|
deps='samba-util',
|
|
init_function='',
|
|
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
|
|
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
|
|
|
|
bld.SAMBA3_MODULE('pdb_samba4',
|
|
subsystem='passdb',
|
|
source='pdb_samba4.c',
|
|
init_function='',
|
|
deps='IDMAP samdb',
|
|
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba4'),
|
|
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba4'))
|
|
|