2004-12-08 13:13:45 +03:00
# Directory Service subsystem
2008-02-18 22:04:18 +03:00
m k i n c l u d e s a m d b / l d b _ m o d u l e s / c o n f i g . m k
2005-10-11 16:31:31 +04:00
2004-12-08 13:13:45 +03:00
################################################
# Start SUBSYSTEM SAMDB
[SUBSYSTEM :: SAMDB ]
2009-04-23 03:21:47 +04:00
PUBLIC_DEPENDENCIES = HEIMDAL_KRB5
2008-11-14 18:02:06 +03:00
PRIVATE_DEPENDENCIES = LIBNDR NDR_DRSUAPI NDR_DRSBLOBS NSS_WRAPPER \
2007-12-17 06:22:44 +03:00
auth_system_session LDAP_ENCODE LIBCLI_AUTH LIBNDR \
2009-03-16 07:20:28 +03:00
SAMDB_SCHEMA LDB_WRAP SAMDB_COMMON \
2009-04-23 03:21:47 +04:00
LIBCLI_DRSUAPI LIBCLI_LDAP_NDR LIBSAMBA-UTIL
2008-03-03 20:25:28 +03:00
2008-05-18 21:41:33 +04:00
SAMDB_OBJ_FILES = $( addprefix $( dsdbsrcdir) /, \
2005-12-26 21:03:50 +03:00
samdb/samdb.o \
2005-10-21 20:29:54 +04:00
samdb/samdb_privilege.o \
2005-10-24 02:20:42 +04:00
samdb/cracknames.o \
2008-03-03 20:25:28 +03:00
repl/replicated_objects.o)
2008-02-26 19:17:52 +03:00
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(dsdbsrcdir)/samdb/samdb_proto.h,$(SAMDB_OBJ_FILES : .o =.c )))
2008-04-02 15:41:10 +04:00
# PUBLIC_HEADERS += dsdb/samdb/samdb.h
2008-02-26 19:17:52 +03:00
2007-12-17 06:22:44 +03:00
[SUBSYSTEM :: SAMDB_COMMON ]
2009-12-29 18:08:44 +03:00
PRIVATE_DEPENDENCIES = LIBLDB NDR_DRSBLOBS LIBCLI_LDAP_NDR UTIL_LDB LIBCLI_AUTH
2008-03-03 20:25:28 +03:00
2008-05-18 21:41:33 +04:00
SAMDB_COMMON_OBJ_FILES = $( addprefix $( dsdbsrcdir) /common/, \
2009-11-05 08:57:20 +03:00
util.o \
2010-03-12 00:10:38 +03:00
dsdb_dn.o \
dsdb_access.o) \
2009-06-12 17:20:48 +04:00
../libds/common/flag_mapping.o
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(dsdbsrcdir)/common/proto.h,$(SAMDB_COMMON_OBJ_FILES : .o =.c )))
2007-12-17 06:22:44 +03:00
[SUBSYSTEM :: SAMDB_SCHEMA ]
2009-12-29 18:08:44 +03:00
PRIVATE_DEPENDENCIES = SAMDB_COMMON NDR_DRSUAPI NDR_DRSBLOBS LDBSAMBA
2007-01-23 19:06:47 +03:00
2008-05-18 21:41:33 +04:00
SAMDB_SCHEMA_OBJ_FILES = $( addprefix $( dsdbsrcdir) /schema/, \
2008-03-03 20:25:28 +03:00
schema_init.o \
2008-08-20 07:22:16 +04:00
schema_set.o \
schema_query.o \
2008-03-03 20:25:28 +03:00
schema_syntax.o \
2009-03-05 08:52:11 +03:00
schema_description.o \
2009-04-08 17:18:49 +04:00
schema_convert_to_ol.o \
2009-10-08 03:55:28 +04:00
schema_inferiors.o \
2010-03-23 17:44:02 +03:00
schema_prefixmap.o \
2010-05-03 16:50:10 +04:00
schema_info_attr.o \
schema_filtered.o)
2008-02-26 19:17:52 +03:00
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(dsdbsrcdir)/schema/proto.h,$(SAMDB_SCHEMA_OBJ_FILES : .o =.c )))
2008-04-02 15:41:10 +04:00
# PUBLIC_HEADERS += dsdb/schema/schema.h
2008-02-26 19:17:52 +03:00
2007-01-23 19:06:47 +03:00
#######################
# Start SUBSYSTEM DREPL_SRV
[MODULE :: DREPL_SRV ]
INIT_FUNCTION = server_service_drepl_init
2008-12-22 23:03:09 +03:00
SUBSYSTEM = service
2007-01-23 19:06:47 +03:00
PRIVATE_DEPENDENCIES = \
SAMDB \
2009-04-23 03:21:47 +04:00
process_model \
RPC_NDR_DRSUAPI
2007-01-23 19:06:47 +03:00
# End SUBSYSTEM DREPL_SRV
#######################
2008-03-03 20:25:28 +03:00
2008-05-18 21:41:33 +04:00
DREPL_SRV_OBJ_FILES = $( addprefix $( dsdbsrcdir) /repl/, \
2008-03-03 20:25:28 +03:00
drepl_service.o \
drepl_periodic.o \
drepl_partitions.o \
drepl_out_pull.o \
2009-09-13 12:16:13 +04:00
drepl_out_helpers.o \
2010-01-06 06:54:12 +03:00
drepl_notify.o \
2010-08-25 01:22:16 +04:00
drepl_ridalloc.o \
drepl_fsmo.o)
2008-03-03 20:25:28 +03:00
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(dsdbsrcdir)/repl/drepl_service_proto.h,$(DREPL_SRV_OBJ_FILES : .o =.c )))
2009-09-11 15:46:58 +04:00
#######################
# Start SUBSYSTEM KCC_SRV
[MODULE :: KCC_SRV ]
INIT_FUNCTION = server_service_kcc_init
SUBSYSTEM = service
PRIVATE_DEPENDENCIES = \
SAMDB \
process_model \
RPC_NDR_DRSUAPI
# End SUBSYSTEM KCC_SRV
#######################
KCC_SRV_OBJ_FILES = $( addprefix $( dsdbsrcdir) /kcc/, \
kcc_service.o \
2009-11-30 12:11:27 +03:00
kcc_connection.o \
2010-02-10 08:42:28 +03:00
kcc_topology.o \
2009-12-30 13:40:17 +03:00
kcc_deleted.o \
2010-01-15 11:36:16 +03:00
kcc_periodic.o \
kcc_drs_replica_info.o)
2009-09-11 15:46:58 +04:00
$(eval $(call proto_header_template,$(dsdbsrcdir)/kcc/kcc_service_proto.h,$(KCC_SRV_OBJ_FILES : .o =.c )))
2010-01-15 11:36:16 +03:00
2010-02-11 12:21:15 +03:00
#######################
# Start SUBSYSTEM DNS_UPDATE_SRV
[MODULE :: DNS_UPDATE_SRV ]
INIT_FUNCTION = server_service_dnsupdate_init
SUBSYSTEM = service
PRIVATE_DEPENDENCIES = \
SAMDB \
2010-02-17 11:29:37 +03:00
process_model \
UTIL_RUNCMD
2010-02-11 12:21:15 +03:00
# End SUBSYSTEM DNS_UPDATE_SRV
#######################
DNS_UPDATE_SRV_OBJ_FILES = $( addprefix $( dsdbsrcdir) /dns/, \
dns_update.o)
2010-04-04 02:14:23 +04:00
[PYTHON :: python_dsdb ]
LIBRARY_REALNAME = samba/dsdb.$( SHLIBEXT)
2010-04-09 00:07:42 +04:00
PRIVATE_DEPENDENCIES = SAMDB pyldb
2010-04-04 02:14:23 +04:00
python_dsdb_OBJ_FILES = $( dsdbsrcdir) /pydsdb.o