summaryrefslogtreecommitdiff
path: root/source4/smb_server/config.mk
blob: d1ec6d49e8b73416c8bcf24d88540b0de1636972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# SMB server subsystem
#
[MODULE::SERVICE_SMB]
INIT_FUNCTION = server_service_smb_init
SUBSYSTEM = smbd
PRIVATE_DEPENDENCIES = SMB_SERVER

SERVICE_SMB_OBJ_FILES = $(smb_serversrcdir)/smb_server.o

$(eval $(call proto_header_template,$(smb_serversrcdir)/service_smb_proto.h,$(SERVICE_SMB_OBJ_FILES:.o=.c)))

# samba3 SMB server subsystem
#
[MODULE::SERVICE_SAMBA3_SMB]
INIT_FUNCTION = server_service_samba3_smb_init
SUBSYSTEM = smbd

SERVICE_SAMBA3_SMB_OBJ_FILES = $(smb_serversrcdir)/smb_samba3.o

#######################
# Start SUBSYSTEM SMB
[SUBSYSTEM::SMB_SERVER]
PUBLIC_DEPENDENCIES = \
		share \
		LIBPACKET \
		SMB_PROTOCOL \
		SMB2_PROTOCOL
# End SUBSYSTEM SMB
#######################

SMB_SERVER_OBJ_FILES = $(addprefix $(smb_serversrcdir)/, \
		handle.o \
		tcon.o \
		session.o \
		blob.o \
		management.o)

$(eval $(call proto_header_template,$(smb_serversrcdir)/smb_server_proto.h,$(SMB_SERVER_OBJ_FILES:.o=.c)))

mkinclude smb/config.mk
mkinclude smb2/config.mk