Split schema_init.c into smaller bits.
[kai/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_MISC 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
42 $(eval $(call proto_header_template,$(dsdbsrcdir)/schema/proto.h,$(SAMDB_SCHEMA_OBJ_FILES:.o=.c)))
43 # PUBLIC_HEADERS += dsdb/schema/schema.h
44
45 #######################
46 # Start SUBSYSTEM DREPL_SRV
47 [MODULE::DREPL_SRV]
48 INIT_FUNCTION = server_service_drepl_init
49 SUBSYSTEM = smbd
50 PRIVATE_DEPENDENCIES = \
51                 SAMDB \
52                 process_model 
53 # End SUBSYSTEM DREPL_SRV
54 #######################
55
56 DREPL_SRV_OBJ_FILES = $(addprefix $(dsdbsrcdir)/repl/, \
57                 drepl_service.o \
58                 drepl_periodic.o \
59                 drepl_partitions.o \
60                 drepl_out_pull.o \
61                 drepl_out_helpers.o)
62
63 $(eval $(call proto_header_template,$(dsdbsrcdir)/repl/drepl_service_proto.h,$(DREPL_SRV_OBJ_FILES:.o=.c)))