python:tests: Use ‘False’ in boolean expression rather than ‘None’
[Samba.git] / source3 / passdb / wscript_build
blob7facc1fed79ab2beb913c4f4199315f3414beb9c
1 #!/usr/bin/env python
3 bld.SAMBA3_MODULE('pdb_tdbsam',
4 subsystem='pdb',
5 source='pdb_tdb.c',
6 deps='samba-util dbwrap tdb-wrap3',
7 init_function='',
8 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_tdbsam'),
9 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_tdbsam'))
11 bld.SAMBA3_MODULE('pdb_ldapsam',
12 subsystem='pdb',
13 deps='smbldap smbldaphelper LIBCLI_AUTH',
14 source='pdb_ldap.c pdb_nds.c',
15 init_function='',
16 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_ldapsam'),
17 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_ldapsam') and bld.CONFIG_SET('HAVE_LDAP'))
19 bld.SAMBA3_MODULE('pdb_smbpasswd',
20 subsystem='pdb',
21 source='pdb_smbpasswd.c',
22 deps='samba-util',
23 init_function='',
24 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_smbpasswd'),
25 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_smbpasswd'))
27 bld.SAMBA3_MODULE('pdb_samba_dsdb',
28 subsystem='pdb',
29 source='pdb_samba_dsdb.c',
30 init_function='',
31 deps='IDMAP samdb',
32 internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba_dsdb') and bld.AD_DC_BUILD_IS_ENABLED(),
33 enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba_dsdb') and bld.AD_DC_BUILD_IS_ENABLED())
35 pyrpc_util = bld.pyembed_libname('pyrpc_util')
36 pytalloc_util = bld.pyembed_libname('pytalloc-util')
37 bld.SAMBA3_PYTHON('pypassdb',
38 source='py_passdb.c',
39 deps='pdb',
40 public_deps=' '.join(['samba-util', 'tdb', 'talloc', pyrpc_util, pytalloc_util]),
41 realname='samba/samba3/passdb.so'