s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_req
[amitay/samba.git] / source4 / wrepl_server / config.mk
index 6dd0e2a3056636d10debca08a65bdad3a2626f7b..b8696868db8f5c97c3395a55ee258da7a5211db6 100644 (file)
@@ -2,8 +2,15 @@
 
 #######################
 # Start SUBSYSTEM WREPL_SRV
-[SUBSYSTEM::WREPL_SRV]
-OBJ_FILES = \
+[MODULE::WREPL_SRV]
+INIT_FUNCTION = server_service_wrepl_init
+SUBSYSTEM = service
+PRIVATE_DEPENDENCIES = \
+               LIBCLI_WREPL WINSDB process_model 
+# End SUBSYSTEM WREPL_SRV
+#######################
+
+WREPL_SRV_OBJ_FILES = $(addprefix $(wrepl_serversrcdir)/, \
                wrepl_server.o \
                wrepl_in_connection.o \
                wrepl_in_call.o \
@@ -12,8 +19,6 @@ OBJ_FILES = \
                wrepl_scavenging.o \
                wrepl_out_pull.o \
                wrepl_out_push.o \
-               wrepl_out_helpers.o
-REQUIRED_SUBSYSTEMS = \
-               LIBCLI_WREPL WINSDB
-# End SUBSYSTEM WREPL_SRV
-#######################
+               wrepl_out_helpers.o)
+
+$(eval $(call proto_header_template,$(wrepl_serversrcdir)/wrepl_server_proto.h,$(WREPL_SRV_OBJ_FILES:.o=.c)))