8d1647953f8799141c1634a191ea9d9e8938335f
[samba.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
13
14 SAMDB_OBJ_FILES = $(addprefix $(dsdbsrcdir)/, \
15                 samdb/samdb.o \
16                 samdb/samdb_privilege.o \
17                 samdb/cracknames.o \
18                 repl/replicated_objects.o)
19
20 $(eval $(call proto_header_template,$(dsdbsrcdir)/samdb/samdb_proto.h,$(SAMDB_OBJ_FILES:.o=.c)))
21 # PUBLIC_HEADERS += dsdb/samdb/samdb.h
22
23 [SUBSYSTEM::SAMDB_COMMON]
24 PRIVATE_DEPENDENCIES = LIBLDB
25
26 SAMDB_COMMON_OBJ_FILES = $(addprefix $(dsdbsrcdir)/common/, \
27                 sidmap.o \
28                 flag_mapping.o \
29                 util.o)
30 $(eval $(call proto_header_template,$(dsdbsrcdir)/common/proto.h,$(SAMDB_COMMON_OBJ_FILES:.o=.c)))
31
32 [SUBSYSTEM::SAMDB_SCHEMA]
33 PRIVATE_DEPENDENCIES = SAMDB_COMMON NDR_DRSUAPI NDR_DRSBLOBS
34
35 SAMDB_SCHEMA_OBJ_FILES = $(addprefix $(dsdbsrcdir)/schema/, \
36                 schema_init.o \
37                 schema_set.o \
38                 schema_query.o \
39                 schema_syntax.o \
40                 schema_description.o \
41                 schema_convert_to_ol.o \
42                 schema_inferiors.o)
43
44 $(eval $(call proto_header_template,$(dsdbsrcdir)/schema/proto.h,$(SAMDB_SCHEMA_OBJ_FILES:.o=.c)))
45 # PUBLIC_HEADERS += dsdb/schema/schema.h
46
47 #######################
48 # Start SUBSYSTEM DREPL_SRV
49 [MODULE::DREPL_SRV]
50 INIT_FUNCTION = server_service_drepl_init
51 SUBSYSTEM = service
52 PRIVATE_DEPENDENCIES = \
53                 SAMDB \
54                 process_model 
55 # End SUBSYSTEM DREPL_SRV
56 #######################
57
58 DREPL_SRV_OBJ_FILES = $(addprefix $(dsdbsrcdir)/repl/, \
59                 drepl_service.o \
60                 drepl_periodic.o \
61                 drepl_partitions.o \
62                 drepl_out_pull.o \
63                 drepl_out_helpers.o)
64
65 $(eval $(call proto_header_template,$(dsdbsrcdir)/repl/drepl_service_proto.h,$(DREPL_SRV_OBJ_FILES:.o=.c)))