2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-06-20 13:49:08 +04:00
# LDBSAMBA gets included in the ldb build when we are building ldb_ildap
# as a built-in module and this delutes the symbols in the ldb library with
# the symbols of all of ldb_ildap's dependencies.
2010-03-17 14:07:42 +03:00
2010-11-07 03:57:34 +03:00
bld.SAMBA_LIBRARY('ldbsamba',
2014-10-24 19:52:47 +04:00
source='ldif_handlers.c ldb_matching_rules.c',
2010-10-30 04:41:11 +04:00
autoproto='ldif_handlers_proto.h',
public_deps='ldb',
2014-05-14 02:22:01 +04:00
deps='samba-security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb errors',
2010-10-30 04:41:11 +04:00
private_library=True
)
bld.SAMBA_SUBSYSTEM('ldbwrap',
source='ldb_wrap.c',
public_headers='ldb_wrap.h',
2010-11-07 03:57:34 +03:00
deps='ldb samba-util ldbsamba samba-hostconfig'
2010-10-30 04:41:11 +04:00
)
2010-03-17 14:07:42 +03:00
2010-04-06 16:24:24 +04:00
2010-06-16 22:14:31 +04:00
bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
2014-05-14 02:22:01 +04:00
deps='ldbsamba pyparam_util ldbwrap pyldb-util',
2010-10-30 04:41:11 +04:00
realname='samba/_ldb.so')
2010-11-01 10:43:46 +03:00
bld.SAMBA_MODULE('ldbsamba_extensions',
source='samba_extensions.c',
init_function='ldb_samba_extensions_init',
module_init_name='ldb_init_module',
subsystem='ldb',
2010-11-07 03:57:34 +03:00
deps='ldb ldbsamba POPT_SAMBA POPT_CREDENTIALS cmdline-credentials gensec',
2010-11-01 10:43:46 +03:00
internal_module=False)
# the s4-internal ldap backend
bld.SAMBA_MODULE('ldb_ildap',
source='ldb_ildap.c',
init_function='ldb_ildap_init',
module_init_name='ldb_init_module',
2011-08-18 22:43:00 +04:00
deps='talloc cli-ldap samba-credentials auth_system_session',
2010-11-01 10:43:46 +03:00
internal_module=False,
subsystem='ldb')