rpc_server: Avoid casts in DBG statements
[Samba.git] / lib / ldb-samba / wscript_build
blob3264757e8b713b0e22f88b59fdb4bfdc0a279cd0
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 samba-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'
21 pyparam_util = bld.pyembed_libname('pyparam_util')
22 pyldb_util = bld.pyembed_libname('pyldb-util')
23 pyauth = 'pyauth'
24 bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
25 deps='ldbsamba %s ldbwrap %s %s' % (pyparam_util, pyldb_util, pyauth),
26 realname='samba/_ldb.so')
28 bld.SAMBA_MODULE('ldbsamba_extensions',
29 source='samba_extensions.c',
30 init_function='ldb_samba_extensions_init',
31 module_init_name='ldb_init_module',
32 subsystem='ldb',
33 deps='ldb ldbsamba POPT_SAMBA POPT_CREDENTIALS cmdline-credentials gensec',
34 internal_module=False)
37 # the s4-internal ldap backend
38 bld.SAMBA_MODULE('ldb_ildap',
39 source='ldb_ildap.c',
40 init_function='ldb_ildap_init',
41 module_init_name='ldb_init_module',
42 deps='talloc cli-ldap samba-credentials auth_system_session',
43 internal_module=False,
44 subsystem='ldb')