3 DESCRIPTION
= Samba torture
(test) suite
6 PUBLIC_HEADERS
= torture.h
7 PUBLIC_PROTO_HEADER
= proto.h
10 PUBLIC_DEPENDENCIES
= \
23 [SUBSYSTEM
::TORTURE_UTIL
]
24 OBJ_FILES
= torture_util.o
25 PUBLIC_PROTO_HEADER
= util.h
26 PUBLIC_DEPENDENCIES
= POPT_CREDENTIALS
28 [SUBSYSTEM
::TORTURE_UI
]
31 PUBLIC_DEPENDENCIES
= LIBTALLOC
33 #################################
34 # Start SUBSYSTEM TORTURE_BASIC
35 [MODULE
::TORTURE_BASIC
]
37 INIT_FUNCTION
= torture_base_init
38 PRIVATE_PROTO_HEADER
= \
58 PUBLIC_DEPENDENCIES
= \
59 LIBCLI_SMB POPT_CREDENTIALS
60 # End SUBSYSTEM TORTURE_BASIC
61 #################################
63 #################################
64 # Start SUBSYSTEM TORTURE_RAW
65 [SUBSYSTEM
::TORTURE_RAW
]
66 PRIVATE_PROTO_HEADER
= \
92 PUBLIC_DEPENDENCIES
= \
93 LIBCLI_SMB LIBCLI_LSA LIBCLI_SMB_COMPOSITE \
95 # End SUBSYSTEM TORTURE_RAW
96 #################################
98 include smb2
/config.mk
100 [MODULE
::torture_rpc
]
101 # TORTURE_NET and TORTURE_NBT use functions from torture_rpc...
102 OUTPUT_TYPE
= INTEGRATED
104 INIT_FUNCTION
= torture_rpc_init
105 PRIVATE_PROTO_HEADER
= \
116 rpc
/drsuapi_cracknames.o \
143 rpc
/alter_context.o \
148 PUBLIC_DEPENDENCIES
= \
149 NDR_TABLE RPC_NDR_UNIXINFO RPC_NDR_SAMR RPC_NDR_WINREG RPC_NDR_INITSHUTDOWN \
150 RPC_NDR_OXIDRESOLVER RPC_NDR_EVENTLOG RPC_NDR_ECHO RPC_NDR_SVCCTL \
151 RPC_NDR_MGMT RPC_NDR_NETLOGON RPC_NDR_ATSVC RPC_NDR_DRSUAPI \
152 RPC_NDR_LSA RPC_NDR_EPMAPPER RPC_NDR_DFS RPC_NDR_SPOOLSS \
153 RPC_NDR_SRVSVC RPC_NDR_WKSSVC RPC_NDR_ROT RPC_NDR_DSSETUP \
154 RPC_NDR_REMACT RPC_NDR_OXIDRESOLVER WB_HELPER LIBSAMBA-NET \
155 LIBCLI_AUTH POPT_CREDENTIALS
157 #################################
158 # Start SUBSYSTEM TORTURE_RAP
159 [SUBSYSTEM
::TORTURE_RAP
]
160 PRIVATE_PROTO_HEADER
= \
164 PUBLIC_DEPENDENCIES
= \
166 # End SUBSYSTEM TORTURE_RAP
167 #################################
169 #################################
170 # Start SUBSYSTEM TORTURE_AUTH
171 [SUBSYSTEM
::TORTURE_AUTH
]
172 PRIVATE_PROTO_HEADER
= \
177 PUBLIC_DEPENDENCIES
= \
178 LIBCLI_SMB gensec auth LIBSAMBA3 KERBEROS \
180 # End SUBSYSTEM TORTURE_AUTH
181 #################################
183 include local
/config.mk
185 #################################
186 # Start SUBSYSTEM TORTURE_NBENCH
187 [SUBSYSTEM
::TORTURE_NBENCH
]
188 PRIVATE_PROTO_HEADER
= \
193 # End SUBSYSTEM TORTURE_NBENCH
194 #################################
196 #################################
197 # Start SUBSYSTEM TORTURE_LDAP
198 [SUBSYSTEM
::TORTURE_LDAP
]
199 PRIVATE_PROTO_HEADER
= \
207 PUBLIC_DEPENDENCIES
= \
208 LIBCLI_LDAP LIBCLI_CLDAP SAMDB POPT_CREDENTIALS
209 # End SUBSYSTEM TORTURE_LDAP
210 #################################
212 #################################
213 # Start SUBSYSTEM TORTURE_NBT
214 [SUBSYSTEM
::TORTURE_NBT
]
215 PRIVATE_PROTO_HEADER
= \
222 nbt
/winsreplication.o \
225 PUBLIC_DEPENDENCIES
= \
226 LIBCLI_SMB LIBCLI_NBT LIBCLI_DGRAM LIBCLI_WREPL
227 # End SUBSYSTEM TORTURE_NBT
228 #################################
230 #################################
231 # Start SUBSYSTEM TORTURE_NET
232 [MODULE
::TORTURE_NET
]
234 INIT_FUNCTION
= torture_net_init
235 PRIVATE_PROTO_HEADER
= \
242 libnet
/libnet_lookup.o \
243 libnet
/libnet_user.o \
244 libnet
/libnet_share.o \
246 PUBLIC_DEPENDENCIES
= \
249 # End SUBSYSTEM TORTURE_NET
250 #################################
252 #################################
253 # Start BINARY smbtorture
258 PRIVATE_DEPENDENCIES
= \
263 MANPAGE
= man
/smbtorture
.1
264 # End BINARY smbtorture
265 #################################
267 #################################
268 # Start BINARY gentest
273 PRIVATE_DEPENDENCIES
= \
281 MANPAGE
= man
/gentest
.1
283 #################################
285 #################################
286 # Start BINARY masktest
291 PRIVATE_DEPENDENCIES
= \
298 MANPAGE
= man
/masktest
.1
299 # End BINARY masktest
300 #################################
302 #################################
303 # Start BINARY locktest
308 PRIVATE_DEPENDENCIES
= \
312 MANPAGE
= man
/locktest
.1
313 # End BINARY locktest
314 #################################
316 GCOV_FLAGS
= -ftest-coverage
-fprofile-arcs
321 CFLAGS
="$(CFLAGS) $(GCOV_FLAGS)" \
322 LD_FLAGS
="$(LD_FLAGS) $(GCOV_FLAGS)" \
323 LIBS
="$(LIBS) $(GCOV_LIBS)"
324 for I in
$(sort $(dir $(ALL_OBJS
))); \
325 do
$(GCOV
) -p
-o
$$I $$I/*.c
; \