ctdb-tests: Extend ctdb stub to support "ptrans", "pdelete", "catdb"
[Samba.git] / lib / ldb-samba / wscript_build
blob6ad96986c66fa6994f10990962f19689d0ec3b9a
1 #!/usr/bin/env python
3 # LDBSAMBA gets included in the ldb build when we are building ldb_ildap
4 # as a built-in module and this delutes the symbols in the ldb library with
5 # the symbols of all of ldb_ildap's dependencies.
7 bld.SAMBA_LIBRARY('ldbsamba',
8 source='ldif_handlers.c ldb_matching_rules.c',
9 autoproto='ldif_handlers_proto.h',
10 public_deps='ldb',
11 deps='samba-security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb errors',
12 private_library=True
15 bld.SAMBA_SUBSYSTEM('ldbwrap',
16 source='ldb_wrap.c',
17 public_headers='ldb_wrap.h',
18 deps='ldb samba-util ldbsamba samba-hostconfig'
22 bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
23 deps='ldbsamba pyparam_util ldbwrap pyldb-util',
24 realname='samba/_ldb.so')
26 bld.SAMBA_MODULE('ldbsamba_extensions',
27 source='samba_extensions.c',
28 init_function='ldb_samba_extensions_init',
29 module_init_name='ldb_init_module',
30 subsystem='ldb',
31 deps='ldb ldbsamba POPT_SAMBA POPT_CREDENTIALS cmdline-credentials gensec',
32 internal_module=False)
35 # the s4-internal ldap backend
36 bld.SAMBA_MODULE('ldb_ildap',
37 source='ldb_ildap.c',
38 init_function='ldb_ildap_init',
39 module_init_name='ldb_init_module',
40 deps='talloc cli-ldap samba-credentials auth_system_session',
41 internal_module=False,
42 subsystem='ldb')