2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-04-04 07:08:05 +04:00
bld.RECURSE('samdb/ldb_modules')
2010-03-17 12:21:47 +03:00
bld.SAMBA_SUBSYSTEM('SAMDB',
2010-03-01 01:01:48 +03:00
source='samdb/samdb.c samdb/samdb_privilege.c samdb/cracknames.c repl/replicated_objects.c',
2010-03-17 12:21:47 +03:00
autoproto='samdb/samdb_proto.h',
2010-10-04 18:14:10 +04:00
public_deps='krb5',
2010-10-11 01:59:04 +04:00
deps='LIBNDR NDR_DRSUAPI NDR_DRSBLOBS NSS_WRAPPER auth_system_session LIBCLI_AUTH LIBNDR SAMDB_SCHEMA LDBSAMBA SAMDB_COMMON LIBCLI_DRSUAPI LIBCLI_LDAP_NDR LIBSAMBA-UTIL com_err KERBEROS CREDENTIALS'
2010-03-17 12:21:47 +03:00
)
bld.SAMBA_SUBSYSTEM('SAMDB_COMMON',
2010-05-21 02:14:53 +04:00
source='common/util.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c ../../libds/common/flag_mapping.c',
2010-03-17 12:21:47 +03:00
autoproto='common/proto.h',
2010-10-11 01:00:59 +04:00
deps='ldb NDR_DRSBLOBS LIBCLI_LDAP_NDR UTIL_LDB LIBCLI_AUTH LIBTSOCKET samba_socket'
2010-03-17 12:21:47 +03:00
)
bld.SAMBA_SUBSYSTEM('SAMDB_SCHEMA',
2010-10-10 23:37:58 +04:00
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',
2010-03-17 12:21:47 +03:00
autoproto='schema/proto.h',
2010-10-10 23:37:58 +04:00
# FIXME: Why does this use DSDB_MODULE_HELPERS?
deps='SAMDB_COMMON NDR_DRSUAPI NDR_DRSBLOBS LDBSAMBA tevent DSDB_MODULE_HELPERS'
2010-03-17 12:21:47 +03:00
)
bld.SAMBA_MODULE('DREPL_SRV',
2010-09-16 07:02:23 +04:00
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',
2010-03-17 12:21:47 +03:00
autoproto='repl/drepl_service_proto.h',
subsystem='service',
init_function='server_service_drepl_init',
deps='SAMDB process_model RPC_NDR_DRSUAPI'
)
bld.SAMBA_MODULE('KCC_SRV',
2010-03-01 01:01:48 +03:00
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',
2010-03-17 12:21:47 +03:00
autoproto='kcc/kcc_service_proto.h',
subsystem='service',
init_function='server_service_kcc_init',
2010-09-03 13:34:17 +04:00
deps='SAMDB process_model RPC_NDR_IRPC RPC_NDR_DRSUAPI'
2010-03-17 12:21:47 +03:00
)
bld.SAMBA_MODULE('DNS_UPDATE_SRV',
2010-03-01 01:01:48 +03:00
source='dns/dns_update.c',
2010-03-17 12:21:47 +03:00
subsystem='service',
init_function='server_service_dnsupdate_init',
deps='SAMDB process_model UTIL_RUNCMD'
)
2010-04-04 15:29:34 +04:00
bld.SAMBA_PYTHON('python_dsdb',
source='pydsdb.c',
2010-09-14 17:00:50 +04:00
# 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.
2010-10-05 02:36:21 +04:00
deps='SAMDB pyldb_util dcerpc com_err',
2010-04-04 15:29:34 +04:00
realname='samba/dsdb.so'
)