waf: Stop automaticaly changing dashes to underscores in library names.
[sfrench/samba-autobuild/.git] / source4 / dsdb / wscript_build
1 #!/usr/bin/env python
2
3 bld.RECURSE('samdb/ldb_modules')
4
5 bld.SAMBA_LIBRARY('SAMDB',
6         source='samdb/samdb.c samdb/samdb_privilege.c samdb/cracknames.c repl/replicated_objects.c',
7         autoproto='samdb/samdb_proto.h',
8         public_deps='krb5',
9         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 KERBEROS CREDENTIALS CREDENTIALS_SECRETS',
10         vnum='0.0.1'
11         )
12
13
14 bld.SAMBA_LIBRARY('samdb-common',
15         source='common/util.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c ../../libds/common/flag_mapping.c',
16         autoproto='common/proto.h',
17         private_library=True,
18         deps='ldb NDR_DRSBLOBS UTIL_LDB LIBCLI_AUTH samba-hostconfig samba_socket LIBCLI_LDAP_NDR'
19         )
20
21
22 bld.SAMBA_SUBSYSTEM('SAMDB_SCHEMA',
23         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',
24         autoproto='schema/proto.h',
25         deps='samdb-common NDR_DRSUAPI NDR_DRSBLOBS LDBSAMBA tevent'
26         )
27
28
29 bld.SAMBA_MODULE('DREPL_SRV',
30         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',
31         autoproto='repl/drepl_service_proto.h',
32         subsystem='service',
33         init_function='server_service_drepl_init',
34         deps='SAMDB process_model RPC_NDR_DRSUAPI'
35         )
36
37
38 bld.SAMBA_MODULE('KCC_SRV',
39         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',
40         autoproto='kcc/kcc_service_proto.h',
41         subsystem='service',
42         init_function='server_service_kcc_init',
43         deps='SAMDB process_model RPC_NDR_IRPC RPC_NDR_DRSUAPI'
44         )
45
46
47 bld.SAMBA_MODULE('DNS_UPDATE_SRV',
48         source='dns/dns_update.c',
49         subsystem='service',
50         init_function='server_service_dnsupdate_init',
51         deps='SAMDB process_model UTIL_RUNCMD'
52         )
53
54 bld.SAMBA_PYTHON('python_dsdb',
55                  source='pydsdb.c',
56                                  # the dependency on dcerpc here is because gensec
57                                  # depends on dcerpc but the waf circular dependency finder
58                                  # removes it so we end up with unresolved symbols.
59                  deps='SAMDB pyldb-util dcerpc com_err',
60                  realname='samba/dsdb.so'
61                  )