Fix missing symbols issues when building with shared libraries.
[ira/wip.git] / source4 / torture / smb2 / config.mk
1
2 #################################
3 # Start SUBSYSTEM TORTURE_SMB2
4 [MODULE::TORTURE_SMB2]
5 SUBSYSTEM = smbtorture
6 OUTPUT_TYPE = MERGED_OBJ
7 INIT_FUNCTION = torture_smb2_init
8 PRIVATE_DEPENDENCIES = \
9                 LIBCLI_SMB2 POPT_CREDENTIALS torture
10 # End SUBSYSTEM TORTURE_SMB2
11 #################################
12
13 TORTURE_SMB2_OBJ_FILES = $(addprefix $(torturesrcdir)/smb2/, \
14                 connect.o \
15                 scan.o \
16                 util.o \
17                 getinfo.o \
18                 setinfo.o \
19                 find.o \
20                 lock.o \
21                 notify.o \
22                 smb2.o \
23                 persistent_handles.o \
24                 oplocks.o \
25                 create.o \
26                 read.o)
27
28
29 $(eval $(call proto_header_template,$(torturesrcdir)/smb2/proto.h,$(TORTURE_SMB2_OBJ_FILES:.o=.c)))