summaryrefslogtreecommitdiff
path: root/source4/smb_server/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/config.mk')
-rw-r--r--source4/smb_server/config.mk18
1 files changed, 10 insertions, 8 deletions
diff --git a/source4/smb_server/config.mk b/source4/smb_server/config.mk
index 85c969df59..1e3da1fab6 100644
--- a/source4/smb_server/config.mk
+++ b/source4/smb_server/config.mk
@@ -2,20 +2,15 @@
#
[MODULE::SERVICE_SMB]
INIT_FUNCTION = server_service_smb_init
-SUBSYSTEM = service
-OBJ_FILES = smb_server.o
+SUBSYSTEM = smbd
PRIVATE_PROTO_HEADER = service_smb_proto.h
PRIVATE_DEPENDENCIES = SMB_SERVER
+SERVICE_SMB_OBJ_FILES = smb_server/smb_server.o
+
#######################
# Start SUBSYSTEM SMB
[SUBSYSTEM::SMB_SERVER]
-OBJ_FILES = \
- handle.o \
- tcon.o \
- session.o \
- blob.o \
- management.o
PRIVATE_PROTO_HEADER = smb_server_proto.h
PUBLIC_DEPENDENCIES = \
share \
@@ -25,5 +20,12 @@ PUBLIC_DEPENDENCIES = \
# End SUBSYSTEM SMB
#######################
+SMB_SERVER_OBJ_FILES = $(addprefix smb_server/, \
+ handle.o \
+ tcon.o \
+ session.o \
+ blob.o \
+ management.o)
+
mkinclude smb/config.mk
mkinclude smb2/config.mk