s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request'
[ira/wip.git] / source4 / dsdb / config.mk
1 # Directory Service subsystem
2
3 mkinclude samdb/ldb_modules/config.mk
4
5 ################################################
6 # Start SUBSYSTEM SAMDB
7 [SUBSYSTEM::SAMDB]
8 PUBLIC_DEPENDENCIES = HEIMDAL_KRB5  
9 PRIVATE_DEPENDENCIES = LIBNDR NDR_DRSUAPI NDR_DRSBLOBS NSS_WRAPPER \
10                                            auth_system_session LDAP_ENCODE LIBCLI_AUTH LIBNDR \
11                                            SAMDB_SCHEMA LDB_WRAP SAMDB_COMMON \
12                                                 LIBCLI_DRSUAPI LIBCLI_LDAP_NDR LIBSAMBA-UTIL 
13
14
15 SAMDB_OBJ_FILES = $(addprefix $(dsdbsrcdir)/, \
16                 samdb/samdb.o \
17                 samdb/samdb_privilege.o \
18                 samdb/cracknames.o \
19                 repl/replicated_objects.o)
20
21 $(eval $(call proto_header_template,$(dsdbsrcdir)/samdb/samdb_proto.h,$(SAMDB_OBJ_FILES:.o=.c)))
22 # PUBLIC_HEADERS += dsdb/samdb/samdb.h
23
24 [SUBSYSTEM::SAMDB_COMMON]
25 PRIVATE_DEPENDENCIES = LIBLDB NDR_DRSBLOBS LIBCLI_LDAP_NDR UTIL_LDB LIBCLI_AUTH
26
27 SAMDB_COMMON_OBJ_FILES = $(addprefix $(dsdbsrcdir)/common/, \
28                 util.o \
29                 dsdb_dn.o) \
30                 ../libds/common/flag_mapping.o
31 $(eval $(call proto_header_template,$(dsdbsrcdir)/common/proto.h,$(SAMDB_COMMON_OBJ_FILES:.o=.c)))
32
33 [SUBSYSTEM::SAMDB_SCHEMA]
34 PRIVATE_DEPENDENCIES = SAMDB_COMMON NDR_DRSUAPI NDR_DRSBLOBS LDBSAMBA
35
36 SAMDB_SCHEMA_OBJ_FILES = $(addprefix $(dsdbsrcdir)/schema/, \
37                 schema_init.o \
38                 schema_set.o \
39                 schema_query.o \
40                 schema_syntax.o \
41                 schema_description.o \
42                 schema_convert_to_ol.o \
43                 schema_inferiors.o \
44                 schema_prefixmap.o)
45
46 $(eval $(call proto_header_template,$(dsdbsrcdir)/schema/proto.h,$(SAMDB_SCHEMA_OBJ_FILES:.o=.c)))
47 # PUBLIC_HEADERS += dsdb/schema/schema.h
48
49 #######################
50 # Start SUBSYSTEM DREPL_SRV
51 [MODULE::DREPL_SRV]
52 INIT_FUNCTION = server_service_drepl_init
53 SUBSYSTEM = service
54 PRIVATE_DEPENDENCIES = \
55                 SAMDB \
56                 process_model \
57                 RPC_NDR_DRSUAPI
58 # End SUBSYSTEM DREPL_SRV
59 #######################
60
61 DREPL_SRV_OBJ_FILES = $(addprefix $(dsdbsrcdir)/repl/, \
62                 drepl_service.o \
63                 drepl_periodic.o \
64                 drepl_partitions.o \
65                 drepl_out_pull.o \
66                 drepl_out_helpers.o \
67                 drepl_notify.o \
68                 drepl_ridalloc.o)
69
70 $(eval $(call proto_header_template,$(dsdbsrcdir)/repl/drepl_service_proto.h,$(DREPL_SRV_OBJ_FILES:.o=.c)))
71
72 #######################
73 # Start SUBSYSTEM KCC_SRV
74 [MODULE::KCC_SRV]
75 INIT_FUNCTION = server_service_kcc_init
76 SUBSYSTEM = service
77 PRIVATE_DEPENDENCIES = \
78                 SAMDB \
79                 process_model \
80                 RPC_NDR_DRSUAPI
81 # End SUBSYSTEM KCC_SRV
82 #######################
83
84 KCC_SRV_OBJ_FILES = $(addprefix $(dsdbsrcdir)/kcc/, \
85                 kcc_service.o \
86                 kcc_connection.o \
87                 kcc_topology.o \
88                 kcc_deleted.o \
89                 kcc_periodic.o \
90                 kcc_drs_replica_info.o)
91
92 $(eval $(call proto_header_template,$(dsdbsrcdir)/kcc/kcc_service_proto.h,$(KCC_SRV_OBJ_FILES:.o=.c)))
93
94 #######################
95 # Start SUBSYSTEM DNS_UPDATE_SRV
96 [MODULE::DNS_UPDATE_SRV]
97 INIT_FUNCTION = server_service_dnsupdate_init
98 SUBSYSTEM = service
99 PRIVATE_DEPENDENCIES = \
100                 SAMDB \
101                 process_model \
102                 UTIL_RUNCMD
103 # End SUBSYSTEM DNS_UPDATE_SRV
104 #######################
105
106 DNS_UPDATE_SRV_OBJ_FILES = $(addprefix $(dsdbsrcdir)/dns/, \
107                 dns_update.o)