1 # Directory Service subsystem
3 mkinclude samdb
/ldb_modules
/config.mk
5 ################################################
6 # Start 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
15 SAMDB_OBJ_FILES
= $(addprefix $(dsdbsrcdir
)/, \
17 samdb
/samdb_privilege.o \
19 repl
/replicated_objects.o
)
21 $(eval
$(call proto_header_template
,$(dsdbsrcdir
)/samdb
/samdb_proto.h
,$(SAMDB_OBJ_FILES
:.o
=.c
)))
22 # PUBLIC_HEADERS += dsdb/samdb/samdb.h
24 [SUBSYSTEM
::SAMDB_COMMON
]
25 PRIVATE_DEPENDENCIES
= LIBLDB NDR_DRSBLOBS LIBCLI_LDAP_NDR UTIL_LDB LIBCLI_AUTH
27 SAMDB_COMMON_OBJ_FILES
= $(addprefix $(dsdbsrcdir
)/common
/, \
31 ..
/libds
/common
/flag_mapping.o
32 $(eval
$(call proto_header_template
,$(dsdbsrcdir
)/common
/proto.h
,$(SAMDB_COMMON_OBJ_FILES
:.o
=.c
)))
34 [SUBSYSTEM
::SAMDB_SCHEMA
]
35 PRIVATE_DEPENDENCIES
= SAMDB_COMMON NDR_DRSUAPI NDR_DRSBLOBS LDBSAMBA
37 SAMDB_SCHEMA_OBJ_FILES
= $(addprefix $(dsdbsrcdir
)/schema
/, \
42 schema_description.o \
43 schema_convert_to_ol.o \
48 $(eval
$(call proto_header_template
,$(dsdbsrcdir
)/schema
/proto.h
,$(SAMDB_SCHEMA_OBJ_FILES
:.o
=.c
)))
49 # PUBLIC_HEADERS += dsdb/schema/schema.h
51 #######################
52 # Start SUBSYSTEM DREPL_SRV
54 INIT_FUNCTION
= server_service_drepl_init
56 PRIVATE_DEPENDENCIES
= \
60 # End SUBSYSTEM DREPL_SRV
61 #######################
63 DREPL_SRV_OBJ_FILES
= $(addprefix $(dsdbsrcdir
)/repl
/, \
72 $(eval
$(call proto_header_template
,$(dsdbsrcdir
)/repl
/drepl_service_proto.h
,$(DREPL_SRV_OBJ_FILES
:.o
=.c
)))
74 #######################
75 # Start SUBSYSTEM KCC_SRV
77 INIT_FUNCTION
= server_service_kcc_init
79 PRIVATE_DEPENDENCIES
= \
83 # End SUBSYSTEM KCC_SRV
84 #######################
86 KCC_SRV_OBJ_FILES
= $(addprefix $(dsdbsrcdir
)/kcc
/, \
92 kcc_drs_replica_info.o
)
94 $(eval
$(call proto_header_template
,$(dsdbsrcdir
)/kcc
/kcc_service_proto.h
,$(KCC_SRV_OBJ_FILES
:.o
=.c
)))
96 #######################
97 # Start SUBSYSTEM DNS_UPDATE_SRV
98 [MODULE
::DNS_UPDATE_SRV
]
99 INIT_FUNCTION
= server_service_dnsupdate_init
101 PRIVATE_DEPENDENCIES
= \
105 # End SUBSYSTEM DNS_UPDATE_SRV
106 #######################
108 DNS_UPDATE_SRV_OBJ_FILES
= $(addprefix $(dsdbsrcdir
)/dns
/, \
111 [PYTHON
::python_dsdb
]
112 LIBRARY_REALNAME
= samba
/dsdb.
$(SHLIBEXT
)
113 PRIVATE_DEPENDENCIES
= SAMDB pyldb
115 python_dsdb_OBJ_FILES
= $(dsdbsrcdir
)/pydsdb.o