2010-09-26 19:51:40 +02:00
#!/usr/bin/env python
PDB_TDBSAM_SRC = 'pdb_tdb.c'
2010-07-14 15:08:02 +02:00
PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.c pdb_ipa.c'
2010-09-26 19:51:40 +02:00
PDB_ADS_SRC = 'pdb_ads.c'
PDB_SMBPASSWD_SRC = 'pdb_smbpasswd.c'
PDB_WBC_SAM_SRC = 'pdb_wbc_sam.c'
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('pdb',
2010-10-12 00:26:03 +02:00
source='pdb_interface.c',
deps='',
2010-09-26 19:51:40 +02:00
vars=locals())
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_tdbsam',
2010-10-12 00:26:03 +02:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_TDBSAM_SRC,
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:51:40 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
2010-09-26 19:51:40 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_ldap',
2010-10-12 00:26:03 +02:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_LDAP_SRC,
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldap'),
2011-02-11 12:09:25 +01:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldap') and bld.env.HAVE_LDAP)
2010-09-26 19:51:40 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_ads',
2010-10-12 00:26:03 +02:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_ADS_SRC,
2011-04-08 11:16:45 +10:00
deps='cli-ldap-common TLDAP',
2010-09-26 19:51:40 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ads'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ads'))
2010-09-26 19:51:40 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_smbpasswd',
2010-10-12 00:26:03 +02:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_SMBPASSWD_SRC,
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:51:40 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
2010-09-26 19:51:40 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('pdb_wbc_sam',
2010-10-12 00:26:03 +02:00
subsystem='pdb',
2010-09-26 19:51:40 +02:00
source=PDB_WBC_SAM_SRC,
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:51:40 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))
2011-05-07 00:50:04 +10:00
bld.SAMBA3_MODULE('pdb_samba4',
subsystem='pdb',
source='pdb_samba4.c',
init_function='',
deps='IDMAP samdb',
allow_undefined_symbols=False,
internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba4'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba4'))