1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/dsdb/wscript_build

65 lines
2.5 KiB
Plaintext
Raw Normal View History

#!/usr/bin/env python
bld.RECURSE('samdb/ldb_modules')
2010-11-07 03:52:13 +03:00
bld.SAMBA_LIBRARY('samdb',
source='samdb/samdb.c samdb/samdb_privilege.c samdb/cracknames.c repl/replicated_objects.c',
autoproto='samdb/samdb_proto.h',
private_library=True,
2010-10-04 18:14:10 +04:00
public_deps='krb5',
deps='ndr NDR_DRSUAPI NDR_DRSBLOBS auth_system_session LIBCLI_AUTH ndr SAMDB_SCHEMA ldbsamba samdb-common LIBCLI_DRSUAPI LIBCLI_LDAP_NDR samba-util com_err authkrb5 credentials ldbwrap',
)
bld.SAMBA_LIBRARY('samdb-common',
2010-10-24 03:05:50 +04:00
source='common/util.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c ../../libds/common/flag_mapping.c',
autoproto='common/proto.h',
private_library=True,
deps='ldb NDR_DRSBLOBS UTIL_LDB LIBCLI_AUTH samba-hostconfig samba_socket LIBCLI_LDAP_NDR'
2010-10-24 03:05:50 +04:00
)
bld.SAMBA_SUBSYSTEM('SAMDB_SCHEMA',
source='schema/schema_init.c schema/schema_set.c schema/schema_query.c schema/schema_syntax.c schema/schema_description.c schema/schema_convert_to_ol.c schema/schema_inferiors.c schema/schema_prefixmap.c schema/schema_info_attr.c schema/schema_filtered.c schema/dsdb_dn.c',
autoproto='schema/proto.h',
2010-11-07 03:57:34 +03:00
deps='samdb-common NDR_DRSUAPI NDR_DRSBLOBS ldbsamba tevent'
)
2010-11-14 19:31:26 +03:00
bld.SAMBA_MODULE('service_drepl',
source='repl/drepl_service.c repl/drepl_periodic.c repl/drepl_partitions.c repl/drepl_out_pull.c repl/drepl_out_helpers.c repl/drepl_notify.c repl/drepl_ridalloc.c repl/drepl_extended.c repl/drepl_fsmo.c repl/drepl_secret.c repl/drepl_replica.c',
autoproto='repl/drepl_service_proto.h',
subsystem='service',
init_function='server_service_drepl_init',
2010-11-14 19:31:26 +03:00
deps='samdb process_model RPC_NDR_DRSUAPI',
internal_module=False,
)
2010-11-14 19:31:26 +03:00
bld.SAMBA_MODULE('service_kcc',
source='kcc/kcc_service.c kcc/kcc_connection.c kcc/kcc_topology.c kcc/kcc_deleted.c kcc/kcc_periodic.c kcc/kcc_drs_replica_info.c',
autoproto='kcc/kcc_service_proto.h',
subsystem='service',
init_function='server_service_kcc_init',
2010-11-14 19:31:26 +03:00
deps='samdb process_model RPC_NDR_IRPC RPC_NDR_DRSUAPI',
internal_module=False,
)
bld.SAMBA_MODULE('service_dns_update',
2010-11-07 03:52:13 +03:00
source='dns/dns_update.c',
subsystem='service',
init_function='server_service_dnsupdate_init',
deps='samdb UTIL_RUNCMD samba-util ldb samdb-common errors talloc auth_system_session samba-hostconfig',
internal_module=False
)
bld.SAMBA_PYTHON('python_dsdb',
2010-11-07 03:52:13 +03:00
source='pydsdb.c',
# the dependency on dcerpc here is because gensec
# depends on dcerpc but the waf circular dependency finder
# removes it so we end up with unresolved symbols.
deps='samdb pyldb-util dcerpc com_err pyrpc_util',
realname='samba/dsdb.so'
)