3 PDB_TDBSAM_SRC
= 'pdb_tdb.c'
4 PDB_LDAP_SRC
= 'pdb_ldap.c pdb_nds.c pdb_ipa.c'
5 PDB_ADS_SRC
= 'pdb_ads.c'
6 PDB_SMBPASSWD_SRC
= 'pdb_smbpasswd.c'
7 PDB_WBC_SAM_SRC
= 'pdb_wbc_sam.c'
9 bld
.SAMBA3_SUBSYSTEM('pdb',
10 source
='pdb_interface.c',
14 bld
.SAMBA3_MODULE('pdb_tdbsam',
16 source
=PDB_TDBSAM_SRC
,
18 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
19 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
21 bld
.SAMBA3_MODULE('pdb_ldap',
25 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),
26 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld
.env
.HAVE_LDAP
)
28 bld
.SAMBA3_MODULE('pdb_ads',
31 deps
='LIBCLI_LDAP_NDR TLDAP',
33 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_ads'),
34 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_ads'))
36 bld
.SAMBA3_MODULE('pdb_smbpasswd',
38 source
=PDB_SMBPASSWD_SRC
,
40 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
41 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
43 bld
.SAMBA3_MODULE('pdb_wbc_sam',
45 source
=PDB_WBC_SAM_SRC
,
47 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
48 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))