summaryrefslogtreecommitdiff
path: root/source4/web_server/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/web_server/config.mk')
-rw-r--r--source4/web_server/config.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/web_server/config.mk b/source4/web_server/config.mk
index e218aa8ddc..fe78687794 100644
--- a/source4/web_server/config.mk
+++ b/source4/web_server/config.mk
@@ -4,10 +4,11 @@
# Start SUBSYSTEM WEB
[MODULE::WEB]
INIT_FUNCTION = server_service_web_init
-SUBSYSTEM = service
-PRIVATE_PROTO_HEADER = proto.h
+SUBSYSTEM = smbd
PRIVATE_DEPENDENCIES = ESP LIBTLS smbcalls process_model
# End SUBSYSTEM WEB
#######################
-WEB_OBJ_FILES = $(addprefix web_server/, web_server.o http.o)
+WEB_OBJ_FILES = $(addprefix $(web_serversrcdir)/, web_server.o http.o)
+
+$(eval $(call proto_header_template,$(web_serversrcdir)/proto.h,$(WEB_OBJ_FILES:.o=.c)))