1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
samba-mirror/source3/passdb/wscript_build
Günther Deschner 10f95a4f1a s3-waf: fix pdb modules build.
Guenther
2010-10-18 15:57:03 +02:00

49 lines
1.8 KiB
Python

#!/usr/bin/env python
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='pdb_interface.c',
deps='',
vars=locals())
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',
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',
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',
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',
source=PDB_WBC_SAM_SRC,
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('PDB_WBC_SAM'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('PDB_WBC_SAM'))