vfs: Remove files_struct->posix_flags
[Samba.git] / lib / ldb-samba / wscript_build
blobd02bc9564deffc31d8c35cf9dd3a8cff52c39c25
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 CMDLINE_S4 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')