Fix missing symbols issues when building with shared libraries.
[ira/wip.git] / source4 / smb_server / config.mk
1 # SMB server subsystem
2 #
3 [MODULE::SERVICE_SMB]
4 INIT_FUNCTION = server_service_smb_init
5 SUBSYSTEM = service
6 PRIVATE_DEPENDENCIES = SMB_SERVER
7
8 SERVICE_SMB_OBJ_FILES = $(smb_serversrcdir)/smb_server.o
9
10 $(eval $(call proto_header_template,$(smb_serversrcdir)/service_smb_proto.h,$(SERVICE_SMB_OBJ_FILES:.o=.c)))
11
12 # samba3 SMB server subsystem
13 #
14 [MODULE::SERVICE_SAMBA3_SMB]
15 INIT_FUNCTION = server_service_samba3_smb_init
16 SUBSYSTEM = service
17
18 SERVICE_SAMBA3_SMB_OBJ_FILES = $(smb_serversrcdir)/smb_samba3.o
19
20 #######################
21 # Start SUBSYSTEM SMB
22 [SUBSYSTEM::SMB_SERVER]
23 PUBLIC_DEPENDENCIES = \
24                 share \
25                 LIBPACKET \
26                 SMB_PROTOCOL \
27                 SMB2_PROTOCOL
28 # End SUBSYSTEM SMB
29 #######################
30
31 SMB_SERVER_OBJ_FILES = $(addprefix $(smb_serversrcdir)/, \
32                 handle.o \
33                 tcon.o \
34                 session.o \
35                 blob.o \
36                 management.o)
37
38 $(eval $(call proto_header_template,$(smb_serversrcdir)/smb_server_proto.h,$(SMB_SERVER_OBJ_FILES:.o=.c)))
39
40 mkinclude smb/config.mk
41 mkinclude smb2/config.mk