Final part of fix for bug #8679 - recvfile code path using splice() on Linux leaves...
[Samba.git] / source3 / passdb / wscript_build
blob2c0416f6815c622fcc2c820fed6d7f8ecaae609c
1 #!/usr/bin/env python
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',
11 deps='',
12 vars=locals())
14 bld.SAMBA3_MODULE('pdb_tdbsam',
15 subsystem='pdb',
16 source=PDB_TDBSAM_SRC,
17 init_function='',
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',
22 subsystem='pdb',
23 source=PDB_LDAP_SRC,
24 init_function='',
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',
29 subsystem='pdb',
30 source=PDB_ADS_SRC,
31 deps='LIBCLI_LDAP_NDR TLDAP',
32 init_function='',
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',
37 subsystem='pdb',
38 source=PDB_SMBPASSWD_SRC,
39 init_function='',
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',
44 subsystem='pdb',
45 source=PDB_WBC_SAM_SRC,
46 init_function='',
47 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_wbc_sam'),
48 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_wbc_sam'))