s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flags
[Samba/wip.git] / source3 / passdb / wscript_build
blob4a41fe52382097e382afafe11380ff5d2371144f
1 #!/usr/bin/env python
3 PDB_TDBSAM_SRC = 'pdb_tdb.c'
4 PDB_LDAP_SRC = 'pdb_ldap.c pdb_nds.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.SAMBA_SUBSYSTEM('pdb',
10 source='pdb_interface.c',
11 deps='',
12 vars=locals())
14 bld.SAMBA_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.SAMBA_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'))
28 bld.SAMBA_MODULE('pdb_ads',
29 subsystem='pdb',
30 source=PDB_ADS_SRC,
31 deps='LIBCLI_LDAP_NDR',
32 init_function='',
33 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ads'),
34 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ads'))
36 bld.SAMBA_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.SAMBA_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'))