1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/ldb-samba/wscript_build

43 lines
1.6 KiB
Plaintext
Raw Normal View History

#!/usr/bin/env python
# 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-11-07 03:57:34 +03:00
bld.SAMBA_LIBRARY('ldbsamba',
source='ldif_handlers.c ldb_matching_rules.c',
autoproto='ldif_handlers_proto.h',
public_deps='ldb',
deps='samba-security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA tdb errors',
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'
)
bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
deps='ldbsamba pyparam_util ldbwrap pyldb-util',
realname='samba/_ldb.so')
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',
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',
deps='talloc cli-ldap samba-credentials auth_system_session',
internal_module=False,
subsystem='ldb')