mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
43 lines
1007 B
Makefile
43 lines
1007 B
Makefile
# SMB server subsystem
|
|
#
|
|
[MODULE::SERVICE_SMB]
|
|
INIT_FUNCTION = server_service_smb_init
|
|
SUBSYSTEM = service
|
|
OUTPUT_TYPE = MERGED_OBJ
|
|
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 = service
|
|
|
|
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
|