s4-dbcheck: support the 'none' option for prompts
[kai/samba-autobuild/.git] / lib / ldb-samba / wscript_build
1 #!/usr/bin/env python
2
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. 
6
7 bld.SAMBA_LIBRARY('ldbsamba',
8                   source='ldif_handlers.c',
9                   autoproto='ldif_handlers_proto.h',
10                   public_deps='ldb',
11                   deps='security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb_compat pyldb-util errors',
12                   private_library=True
13                   )
14
15 bld.SAMBA_SUBSYSTEM('ldbwrap',
16                     source='ldb_wrap.c',
17                     public_headers='ldb_wrap.h',
18                     deps='ldb samba-util ldbsamba samba-hostconfig'
19                     )
20
21
22 bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
23                  deps='ldbsamba pyparam_util ldbwrap',
24                  realname='samba/_ldb.so')
25
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)
33
34
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 credentials auth_system_session',
41                  internal_module=False,
42                  subsystem='ldb')