2010-03-28 09:48:49 +11:00
#!/usr/bin/env python
2010-06-20 11:49:08 +02: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 22:07:42 +11:00
2010-11-07 01:57:34 +01:00
bld.SAMBA_LIBRARY('ldbsamba',
2014-10-24 17:52:47 +02:00
source='ldif_handlers.c ldb_matching_rules.c',
2010-10-30 11:41:11 +11:00
autoproto='ldif_handlers_proto.h',
public_deps='ldb',
2014-05-14 00:22:01 +02:00
deps='samba-security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb errors',
2010-10-30 11:41:11 +11:00
private_library=True
)
bld.SAMBA_SUBSYSTEM('ldbwrap',
source='ldb_wrap.c',
public_headers='ldb_wrap.h',
2010-11-07 01:57:34 +01:00
deps='ldb samba-util ldbsamba samba-hostconfig'
2010-10-30 11:41:11 +11:00
)
2010-03-17 22:07:42 +11:00
2010-04-06 14:24:24 +02:00
2010-06-16 20:14:31 +02:00
bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
2014-05-14 00:22:01 +02:00
deps='ldbsamba pyparam_util ldbwrap pyldb-util',
2010-10-30 11:41:11 +11:00
realname='samba/_ldb.so')
2010-11-01 18:43:46 +11: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 01:57:34 +01:00
deps='ldb ldbsamba POPT_SAMBA POPT_CREDENTIALS cmdline-credentials gensec',
2010-11-01 18:43:46 +11: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 20:43:00 +02:00
deps='talloc cli-ldap samba-credentials auth_system_session',
2010-11-01 18:43:46 +11:00
internal_module=False,
subsystem='ldb')