1 | # $Id: Makefile.kmk 77684 2019-03-13 16:39:57Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the IPRT testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2019 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 |
|
---|
27 | SUB_DEPTH = ../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 | ifdef VBOX_WITH_TESTCASES
|
---|
31 |
|
---|
32 | #
|
---|
33 | # Globals
|
---|
34 | #
|
---|
35 | # WARNING: Careful with this wrt to the other sub-makefiles this joins.
|
---|
36 | #
|
---|
37 | TEMPLATE = VBOXR3TSTEXE
|
---|
38 |
|
---|
39 | # Defined by the parent makefile as well (for errmsgdata.h).
|
---|
40 | IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime
|
---|
41 |
|
---|
42 |
|
---|
43 | #
|
---|
44 | # Target lists
|
---|
45 | #
|
---|
46 | PROGRAMS += \
|
---|
47 | tstRTAssertCompile \
|
---|
48 | tstRTAvl \
|
---|
49 | tstRTBase64 \
|
---|
50 | tstRTBitOperations \
|
---|
51 | tstRTBigNum \
|
---|
52 | tstRTCidr \
|
---|
53 | tstRTCritSect \
|
---|
54 | tstRTCritSectRw \
|
---|
55 | tstRTCrPkix-1 \
|
---|
56 | tstRTCrX509-1 \
|
---|
57 | tstRTCType \
|
---|
58 | tstRTDigest \
|
---|
59 | tstRTDigest-2 \
|
---|
60 | tstDir \
|
---|
61 | tstDir-2 \
|
---|
62 | tstDir-3 \
|
---|
63 | tstRTDvm \
|
---|
64 | tstEnv \
|
---|
65 | tstRTErrUnique \
|
---|
66 | tstFile \
|
---|
67 | tstRTFileAio \
|
---|
68 | tstRTFileAppend-1 \
|
---|
69 | tstRTFileGetSize-1 \
|
---|
70 | tstRTFileModeStringToFlags \
|
---|
71 | tstFileLock \
|
---|
72 | tstRTFileOpenEx-1 \
|
---|
73 | tstFork \
|
---|
74 | tstRTFsQueries \
|
---|
75 | tstRTFilesystem \
|
---|
76 | tstRTGetOpt \
|
---|
77 | tstRTGetOptArgv \
|
---|
78 | tstHandleTable \
|
---|
79 | tstRTHeapOffset \
|
---|
80 | tstRTHeapSimple \
|
---|
81 | tstRTInlineAsm \
|
---|
82 | tstIprtList \
|
---|
83 | tstIprtMiniString \
|
---|
84 | tstLdr \
|
---|
85 | tstLdrLoad \
|
---|
86 | tstRTLocalIpc \
|
---|
87 | tstRTLdrVerifyPeImage \
|
---|
88 | tstRTList \
|
---|
89 | tstRTLockValidator \
|
---|
90 | tstLog \
|
---|
91 | tstRTMath \
|
---|
92 | tstRTMemEf \
|
---|
93 | tstRTMemCache \
|
---|
94 | tstRTMemPool \
|
---|
95 | tstRTMemWipe \
|
---|
96 | tstRTMemSafer \
|
---|
97 | tstMove \
|
---|
98 | tstRTMp-1 \
|
---|
99 | tstRTNetIPv4 \
|
---|
100 | tstRTNetIPv6 \
|
---|
101 | tstOnce \
|
---|
102 | tstRTPath \
|
---|
103 | tstRTPathGlob \
|
---|
104 | tstRTPathQueryInfo \
|
---|
105 | tstRTPipe \
|
---|
106 | tstRTPoll \
|
---|
107 | tstRTPrfIO \
|
---|
108 | tstRTProcCreateEx \
|
---|
109 | tstRTProcCreatePrf \
|
---|
110 | tstRTProcQueryUsername \
|
---|
111 | tstPrfRT \
|
---|
112 | tstRand \
|
---|
113 | tstRTReqPool \
|
---|
114 | tstRTSemEventMulti \
|
---|
115 | tstSemMutex \
|
---|
116 | tstSemPingPong \
|
---|
117 | tstRTSemRW \
|
---|
118 | tstRTSemXRoads \
|
---|
119 | tstRTSort \
|
---|
120 | tstRTStrAlloc \
|
---|
121 | tstRTStrCache \
|
---|
122 | tstRTStrCatCopy \
|
---|
123 | tstRTStrFormat \
|
---|
124 | tstStrSimplePattern \
|
---|
125 | tstStrToNum \
|
---|
126 | tstRTStrVersion \
|
---|
127 | tstRTSymlink \
|
---|
128 | tstRTSystemQueryDmi \
|
---|
129 | tstRTSystemQueryOsInfo \
|
---|
130 | tstRTTcp-1 \
|
---|
131 | tstRTTemp \
|
---|
132 | tstRTDirCreateUniqueNumbered \
|
---|
133 | tstTermCallbacks \
|
---|
134 | tstThread-1 \
|
---|
135 | tstRTThreadPoke \
|
---|
136 | tstRTThreadExecutionTime \
|
---|
137 | tstRTTime \
|
---|
138 | tstRTTraceLog \
|
---|
139 | tstTime-2 \
|
---|
140 | tstTime-3 \
|
---|
141 | tstTime-4 \
|
---|
142 | tstTimer \
|
---|
143 | tstTimerLR \
|
---|
144 | tstRTTimeSpec \
|
---|
145 | tstRTUdp-1 \
|
---|
146 | tstUtf8 \
|
---|
147 | tstRTUuid \
|
---|
148 | tstRTCircBuf \
|
---|
149 | tstRTManifest \
|
---|
150 | tstRTUri \
|
---|
151 | tstVector \
|
---|
152 | tstRTVfs \
|
---|
153 | tstRTZip \
|
---|
154 | tstRTJson \
|
---|
155 | tstRTShMem
|
---|
156 |
|
---|
157 | PROGRAMS.win += \
|
---|
158 | tstRTCritSectW32 \
|
---|
159 | tstRTProcWait \
|
---|
160 | tstFileAppendWin-1 \
|
---|
161 | tstRTNtPath-1 \
|
---|
162 | ntGetTimerResolution \
|
---|
163 | tstRTDarwinMachKernel
|
---|
164 |
|
---|
165 | PROGRAMS.linux += \
|
---|
166 | tstRTProcWait \
|
---|
167 | tstRTProcIsRunningByName \
|
---|
168 | tstRTBitOperationsPIC3 \
|
---|
169 | tstRTInlineAsmPIC \
|
---|
170 | tstRTInlineAsmPIC3
|
---|
171 | PROGRAMS.solaris += \
|
---|
172 | tstRTCoreDump
|
---|
173 | PROGRAMS.darwin += \
|
---|
174 | tstDarwinSched \
|
---|
175 | tstRTDarwinMachKernel
|
---|
176 | ifdef VBOX_WITH_LIBCURL
|
---|
177 | PROGRAMS += \
|
---|
178 | tstRTHttp-1 \
|
---|
179 | tstRTCRest-1 \
|
---|
180 | tstRTS3
|
---|
181 | endif
|
---|
182 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
183 | PROGRAMS += \
|
---|
184 | tstLdr-2 \
|
---|
185 | tstLdr-3 \
|
---|
186 | tstLdr-4 \
|
---|
187 | tstNoCrt-1 \
|
---|
188 | tstTSC
|
---|
189 | if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
|
---|
190 | PROGRAMS += \
|
---|
191 | tstRTR0MemUserKernelDriverHardened \
|
---|
192 | tstRTR0SemMutexDriverHardened \
|
---|
193 | tstRTR0TimerDriverHardened \
|
---|
194 | tstRTR0ThreadPreemptionDriverHardened \
|
---|
195 | tstRTR0ThreadDriverHardened
|
---|
196 | DLLS += \
|
---|
197 | tstRTR0MemUserKernelDriver \
|
---|
198 | tstRTR0SemMutexDriver \
|
---|
199 | tstRTR0TimerDriver \
|
---|
200 | tstRTR0ThreadPreemptionDriver \
|
---|
201 | tstRTR0ThreadDriver
|
---|
202 | else
|
---|
203 | PROGRAMS += \
|
---|
204 | tstRTR0MemUserKernelDriver \
|
---|
205 | tstRTR0SemMutexDriver \
|
---|
206 | tstRTR0TimerDriver \
|
---|
207 | tstRTR0ThreadPreemptionDriver \
|
---|
208 | tstRTR0ThreadDriver
|
---|
209 | endif
|
---|
210 | SYSMODS += \
|
---|
211 | tstLdrObjR0 \
|
---|
212 | tstRTR0MemUserKernel \
|
---|
213 | tstRTR0SemMutex \
|
---|
214 | tstRTR0Timer \
|
---|
215 | tstRTR0ThreadPreemption \
|
---|
216 | tstRTR0Thread
|
---|
217 | ifdef VBOX_WITH_RAW_MODE
|
---|
218 | SYSMODS += tstLdrObj
|
---|
219 | endif
|
---|
220 | if1of ($(KBUILD_TARGET), solaris darwin)
|
---|
221 | PROGRAMS += tstRTR0DbgKrnlInfoDriver
|
---|
222 | SYSMODS += tstRTR0DbgKrnlInfo
|
---|
223 | endif
|
---|
224 |
|
---|
225 | endif
|
---|
226 | if1of ($(VBOX_LDR_FMT)), lx pe)
|
---|
227 | LIBRARIES += \
|
---|
228 | tstLdr-4Imp
|
---|
229 | endif
|
---|
230 |
|
---|
231 |
|
---|
232 | #
|
---|
233 | # Target configs in almost alphabetical order.
|
---|
234 | #
|
---|
235 |
|
---|
236 | tstRTAssertCompile_TEMPLATE = VBOXR3TSTEXE
|
---|
237 | tstRTAssertCompile_INSTTYPE = none
|
---|
238 | tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp
|
---|
239 |
|
---|
240 | tstRTAvl_TEMPLATE = VBOXR3TSTEXE
|
---|
241 | tstRTAvl_SOURCES = tstRTAvl.cpp
|
---|
242 |
|
---|
243 | tstRTBase64_TEMPLATE = VBOXR3TSTEXE
|
---|
244 | tstRTBase64_SOURCES = tstRTBase64.cpp
|
---|
245 |
|
---|
246 | tstRTBigNum_TEMPLATE = VBOXR3TSTEXE
|
---|
247 | tstRTBigNum_SOURCES = tstRTBigNum.cpp
|
---|
248 | tstRTBigNum_SDKS = VBOX_OPENSSL2
|
---|
249 |
|
---|
250 | tstRTBitOperations_TEMPLATE = VBOXR3TSTEXE
|
---|
251 | tstRTBitOperations_SOURCES = tstRTBitOperations.cpp
|
---|
252 |
|
---|
253 | tstRTBitOperationsPIC3_TEMPLATE = VBOXR3TSTEXE
|
---|
254 | tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp
|
---|
255 | tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
|
---|
256 | tstRTBitOperationsPIC3_DEFS = PIC
|
---|
257 |
|
---|
258 | tstRTCidr_TEMPLATE = VBOXR3TSTEXE
|
---|
259 | tstRTCidr_SOURCES = tstRTCidr.cpp
|
---|
260 |
|
---|
261 | tstRTCritSect_TEMPLATE = VBOXR3TSTEXE
|
---|
262 | tstRTCritSect_SOURCES = tstRTCritSect.cpp
|
---|
263 |
|
---|
264 | tstRTCritSectRw_TEMPLATE = VBOXR3TSTEXE
|
---|
265 | tstRTCritSectRw_SOURCES = tstRTCritSectRw.cpp
|
---|
266 |
|
---|
267 | tstRTCritSectW32_TEMPLATE = VBOXR3TSTEXE
|
---|
268 | tstRTCritSectW32_SOURCES = tstRTCritSect.cpp
|
---|
269 | tstRTCritSectW32_DEFS = TRY_WIN32_CRIT
|
---|
270 |
|
---|
271 | tstRTCrPkix-1_TEMPLATE = VBOXR3TSTEXE
|
---|
272 | tstRTCrPkix-1_SOURCES = tstRTCrPkix-1.cpp
|
---|
273 |
|
---|
274 | tstRTCrX509-1_TEMPLATE = VBOXR3TSTEXE
|
---|
275 | tstRTCrX509-1_SOURCES = tstRTCrX509-1.cpp
|
---|
276 | tstRTCrX509-1_INCS = $(tstRTCrX509-1_0_OUTDIR)
|
---|
277 | tstRTCrX509-1_CLEAN = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h
|
---|
278 | tstRTCrX509-1_INTERMEDIATES = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h
|
---|
279 | tstRTCrX509-1_VBOX_FILES := \
|
---|
280 | Pem_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4.pem \
|
---|
281 | Pem_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5.pem \
|
---|
282 | Pem_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1.pem \
|
---|
283 | Pem_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224.pem \
|
---|
284 | Pem_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256.pem \
|
---|
285 | Pem_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384.pem \
|
---|
286 | Pem_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512.pem \
|
---|
287 | Pem_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.pem \
|
---|
288 | \
|
---|
289 | Der_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4-cert.der \
|
---|
290 | Der_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5-cert.der \
|
---|
291 | Der_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1-cert.der \
|
---|
292 | Der_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224-cert.der \
|
---|
293 | Der_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256-cert.der \
|
---|
294 | Der_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384-cert.der \
|
---|
295 | Der_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512-cert.der \
|
---|
296 | Der_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.der \
|
---|
297 | $(NO_SUCH_VARIABLE)
|
---|
298 | $$(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h: \
|
---|
299 | $(foreach file,$(tstRTCrX509-1_VBOX_FILES),$(lastword $(subst =,$(SP) ,$(file)))) \
|
---|
300 | $(VBOX_BIN2C) \
|
---|
301 | | $$(dir $$@)
|
---|
302 | $(RM) -f -- "$@"
|
---|
303 | $(foreach file,$(tstRTCrX509-1_VBOX_FILES) \
|
---|
304 | , $(NLTAB)$(VBOX_BIN2C) -ascii --append \
|
---|
305 | "$(firstword $(subst =,$(SP) ,$(file)))" \
|
---|
306 | "$(lastword $(subst =,$(SP) ,$(file)))" \
|
---|
307 | "$@")
|
---|
308 |
|
---|
309 |
|
---|
310 | tstRTCType_TEMPLATE = VBOXR3TSTEXE
|
---|
311 | tstRTCType_SOURCES = tstRTCType.cpp
|
---|
312 |
|
---|
313 | ifdef VBOX_WITH_LIBCURL
|
---|
314 | tstRTCRest-1_TEMPLATE = VBOXR3TSTEXE
|
---|
315 | tstRTCRest-1_SOURCES = tstRTCRest-1.cpp
|
---|
316 | endif
|
---|
317 |
|
---|
318 | tstRTDigest_TEMPLATE = VBOXR3TSTEXE
|
---|
319 | tstRTDigest_SOURCES = tstRTDigest.cpp
|
---|
320 |
|
---|
321 | tstRTDigest-2_TEMPLATE = VBOXR3TSTEXE
|
---|
322 | ifndef VBOX_WITH_ALT_HASH_CODE
|
---|
323 | tstRTDigest-2_DEFS = IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256
|
---|
324 | endif
|
---|
325 | tstRTDigest-2_SOURCES = tstRTDigest-2.cpp
|
---|
326 |
|
---|
327 | ifdef VBOX_WITH_LIBCURL
|
---|
328 | tstRTHttp-1_TEMPLATE = VBOXR3TSTEXE
|
---|
329 | tstRTHttp-1_SOURCES = tstRTHttp-1.cpp
|
---|
330 | tstRTHttp-1_SDKS = VBOX_LIBCURL
|
---|
331 | endif
|
---|
332 |
|
---|
333 | tstDir_TEMPLATE = VBOXR3TSTEXE
|
---|
334 | tstDir_SOURCES = tstDir.cpp
|
---|
335 |
|
---|
336 | tstDir-2_TEMPLATE = VBOXR3TSTEXE
|
---|
337 | tstDir-2_SOURCES = tstDir-2.cpp
|
---|
338 |
|
---|
339 | tstDir-3_TEMPLATE = VBOXR3TSTEXE
|
---|
340 | tstDir-3_SOURCES = tstDir-3.cpp
|
---|
341 |
|
---|
342 | tstRTDvm_TEMPLATE = VBOXR3TSTEXE
|
---|
343 | tstRTDvm_SOURCES = tstRTDvm.cpp
|
---|
344 |
|
---|
345 | tstEnv_TEMPLATE = VBOXR3TSTEXE
|
---|
346 | tstEnv_SOURCES = tstEnv.cpp
|
---|
347 |
|
---|
348 | tstRTErrUnique_SOURCES = tstRTErrUnique.cpp
|
---|
349 | tstRTErrUnique_INCS = $(IPRT_OUT_DIR)/
|
---|
350 | tstRTErrUnique.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h # generate by ../Makefile.kmk
|
---|
351 |
|
---|
352 | tstFile_TEMPLATE = VBOXR3TSTEXE
|
---|
353 | tstFile_SOURCES = tstFile.cpp
|
---|
354 |
|
---|
355 | tstRTFileAio_SOURCES = VBOXR3TSTEXE
|
---|
356 | tstRTFileAio_SOURCES = tstRTFileAio.cpp
|
---|
357 |
|
---|
358 | tstRTFileAppend-1_TEMPLATE = VBOXR3TSTEXE
|
---|
359 | tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp
|
---|
360 |
|
---|
361 | tstRTFileGetSize-1_TEMPLATE = VBOXR3TSTEXE
|
---|
362 | tstRTFileGetSize-1_SOURCES = tstRTFileGetSize-1.cpp
|
---|
363 |
|
---|
364 | tstRTFileModeStringToFlags_TEMPLATE = VBOXR3TSTEXE
|
---|
365 | tstRTFileModeStringToFlags_SOURCES = tstRTFileModeStringToFlags.cpp
|
---|
366 |
|
---|
367 | tstRTFileOpenEx-1_TEMPLATE = VBOXR3TSTEXE
|
---|
368 | tstRTFileOpenEx-1_SOURCES = tstRTFileOpenEx-1.cpp
|
---|
369 |
|
---|
370 | tstFileAppendWin-1_TEMPLATE = VBOXR3TSTEXE
|
---|
371 | tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp
|
---|
372 |
|
---|
373 | tstFileLock_TEMPLATE = VBOXR3TSTEXE
|
---|
374 | tstFileLock_SOURCES = tstFileLock.cpp
|
---|
375 |
|
---|
376 | tstFork_TEMPLATE = VBOXR3TSTEXE
|
---|
377 | tstFork_SOURCES = tstFork.cpp
|
---|
378 |
|
---|
379 | tstRTFsQueries_TEMPLATE = VBOXR3TSTEXE
|
---|
380 | tstRTFsQueries_SOURCES = tstRTFsQueries.cpp
|
---|
381 |
|
---|
382 | tstRTFilesystem_TEMPLATE = VBOXR3TSTEXE
|
---|
383 | tstRTFilesystem_SOURCES = tstRTFilesystem.cpp
|
---|
384 |
|
---|
385 | tstRTGetOpt_TEMPLATE = VBOXR3TSTEXE
|
---|
386 | tstRTGetOpt_SOURCES = tstRTGetOpt.cpp
|
---|
387 |
|
---|
388 | tstRTGetOptArgv_TEMPLATE = VBOXR3TSTEXE
|
---|
389 | tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp
|
---|
390 |
|
---|
391 | tstHandleTable_SOURCES = tstHandleTable.cpp
|
---|
392 |
|
---|
393 | tstRTHeapOffset_TEMPLATE = VBOXR3TSTEXE
|
---|
394 | tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp
|
---|
395 |
|
---|
396 | tstRTHeapSimple_TEMPLATE = VBOXR3TSTEXE
|
---|
397 | tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp
|
---|
398 |
|
---|
399 | tstRTInlineAsm_TEMPLATE = VBOXR3TSTEXE
|
---|
400 | tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp
|
---|
401 |
|
---|
402 | tstRTInlineAsmPIC_TEMPLATE = VBOXR3TSTEXE
|
---|
403 | tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp
|
---|
404 | tstRTInlineAsmPIC_CXXFLAGS = -fPIC
|
---|
405 | tstRTInlineAsmPIC_DEFS = PIC
|
---|
406 |
|
---|
407 | tstRTInlineAsmPIC3_TEMPLATE = VBOXR3TSTEXE
|
---|
408 | tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp
|
---|
409 | tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
|
---|
410 | tstRTInlineAsmPIC3_DEFS = PIC
|
---|
411 |
|
---|
412 | tstIprtList_TEMPLATE = VBOXR3TSTEXE
|
---|
413 | tstIprtList_SOURCES = tstIprtList.cpp
|
---|
414 |
|
---|
415 | tstIprtMiniString_TEMPLATE = VBOXR3TSTEXE
|
---|
416 | tstIprtMiniString_SOURCES = tstIprtMiniString.cpp
|
---|
417 |
|
---|
418 | tstLdr_TEMPLATE = VBOXR3TSTEXE
|
---|
419 | tstLdr_SOURCES = tstLdr.cpp
|
---|
420 |
|
---|
421 | tstLdr-2_TEMPLATE = VBOXR3TSTEXE
|
---|
422 | tstLdr-2_SOURCES = tstLdr-2.cpp
|
---|
423 | tstLdr-2_DEFS = IN_DIS
|
---|
424 | tstLdr-2_LIBS = \
|
---|
425 | $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
426 |
|
---|
427 | ifdef VBOX_WITH_RAW_MODE
|
---|
428 | tstLdrObj_TEMPLATE = VBoxRc
|
---|
429 | tstLdrObj_INST = $(INST_TESTCASE)
|
---|
430 | tstLdrObj_SYSSUFF = .gc
|
---|
431 | tstLdrObj_SOURCES = tstLdrObj.cpp
|
---|
432 | tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
|
---|
433 | ifeq ($(VBOX_LDR_FMT32),elf)
|
---|
434 | tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION
|
---|
435 | endif
|
---|
436 | tstLdrObj_LIBS = \
|
---|
437 | $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
|
---|
438 | $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
|
---|
439 | if1of ($(VBOX_LDR_FMT32),lx pe)
|
---|
440 | tstLdrObj_LIBS += \
|
---|
441 | $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
|
---|
442 | $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
|
---|
443 | endif
|
---|
444 | endif # VBOX_WITH_RAW_MODE
|
---|
445 |
|
---|
446 | tstLdr-3_TEMPLATE = VBOXR3TSTEXE
|
---|
447 | tstLdr-3_SOURCES = tstLdr-3.cpp
|
---|
448 | tstLdr-3_DEFS = IN_DIS
|
---|
449 | tstLdr-3_LIBS = \
|
---|
450 | $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
451 |
|
---|
452 | tstLdr-4Imp_TEMPLATE = VBoxR0
|
---|
453 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
454 | tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def
|
---|
455 | else ifeq ($(VBOX_LDR_FMT),pe)
|
---|
456 | tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def
|
---|
457 | endif
|
---|
458 |
|
---|
459 | tstLdrObjR0_TEMPLATE = VBoxR0
|
---|
460 | tstLdrObjR0_INST = $(INST_TESTCASE)
|
---|
461 | tstLdrObjR0_SYSSUFF = .r0
|
---|
462 | tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp
|
---|
463 | tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
|
---|
464 | ifeq ($(VBOX_LDR_FMT32),elf)
|
---|
465 | tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION
|
---|
466 | endif
|
---|
467 | ifn1of ($(KBUILD_TARGET), win)
|
---|
468 | tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
|
---|
469 | endif
|
---|
470 | tstLdrObjR0_LIBS = \
|
---|
471 | $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \
|
---|
472 | $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
473 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
474 | tstLdrObjR0_LIBS += \
|
---|
475 | $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
|
---|
476 | $(TARGET_tstLdr-4Imp)
|
---|
477 | endif
|
---|
478 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
479 | tstLdrObjR0_LIBS += \
|
---|
480 | $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
|
---|
481 | $(TARGET_tstLdr-4Imp)
|
---|
482 | endif
|
---|
483 |
|
---|
484 | tstLdr-4_TEMPLATE = VBOXR3TSTEXE
|
---|
485 | tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp
|
---|
486 | tstLdr-4_DEFS = IN_DIS
|
---|
487 | tstLdr-4_LIBS = \
|
---|
488 | $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
489 |
|
---|
490 | tstLdrLoad_TEMPLATE = VBOXR3TSTEXE
|
---|
491 | tstLdrLoad_SOURCES = tstLdrLoad.cpp
|
---|
492 |
|
---|
493 | tstRTLdrVerifyPeImage_TEMPLATE = VBOXR3TSTEXE
|
---|
494 | tstRTLdrVerifyPeImage_SOURCES = tstRTLdrVerifyPeImage.cpp
|
---|
495 |
|
---|
496 | tstRTList_TEMPLATE = VBOXR3TSTEXE
|
---|
497 | tstRTList_SOURCES = tstRTList.cpp
|
---|
498 |
|
---|
499 | tstRTLocalIpc_TEMPLATE = VBOXR3TSTEXE
|
---|
500 | tstRTLocalIpc_SOURCES = tstRTLocalIpc.cpp
|
---|
501 |
|
---|
502 | tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE
|
---|
503 | tstRTLockValidator_SOURCES = tstRTLockValidator.cpp
|
---|
504 |
|
---|
505 | tstLog_TEMPLATE = VBOXR3TSTEXE
|
---|
506 | tstLog_SOURCES = tstLog.cpp
|
---|
507 |
|
---|
508 | tstRTMemEf_TEMPLATE = VBOXR3TSTEXE
|
---|
509 | tstRTMemEf_SOURCES = tstRTMemEf.cpp
|
---|
510 |
|
---|
511 | tstRTMemCache_TEMPLATE = VBOXR3TSTEXE
|
---|
512 | tstRTMemCache_SOURCES = tstRTMemCache.cpp
|
---|
513 |
|
---|
514 | tstRTMemPool_TEMPLATE = VBOXR3TSTEXE
|
---|
515 | tstRTMemPool_SOURCES = tstRTMemPool.cpp
|
---|
516 |
|
---|
517 | tstRTMemWipe_TEMPLATE = VBOXR3TSTEXE
|
---|
518 | tstRTMemWipe_SOURCES = tstRTMemWipe.cpp
|
---|
519 |
|
---|
520 | tstRTMemSafer_TEMPLATE = VBOXR3TSTEXE
|
---|
521 | tstRTMemSafer_SOURCES = tstRTMemSafer.cpp
|
---|
522 |
|
---|
523 | tstMove_TEMPLATE = VBOXR3TSTEXE
|
---|
524 | tstMove_SOURCES = tstMove.cpp
|
---|
525 |
|
---|
526 | tstRTMp-1_TEMPLATE = VBOXR3TSTEXE
|
---|
527 | tstRTMp-1_SOURCES = tstRTMp-1.cpp
|
---|
528 |
|
---|
529 | tstRTNetIPv4_TEMPLATE = VBOXR3TSTEXE
|
---|
530 | tstRTNetIPv4_SOURCES = tstRTNetIPv4.cpp
|
---|
531 |
|
---|
532 | tstRTNetIPv6_TEMPLATE = VBOXR3TSTEXE
|
---|
533 | tstRTNetIPv6_SOURCES = tstRTNetIPv6.cpp
|
---|
534 |
|
---|
535 | tstNoCrt-1_TEMPLATE = VBOXR3TSTEXE
|
---|
536 | tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES
|
---|
537 | tstNoCrt-1_SOURCES = \
|
---|
538 | tstNoCrt-1.cpp \
|
---|
539 | ../common/string/memcpy.asm \
|
---|
540 | ../common/string/mempcpy.asm \
|
---|
541 | ../common/string/memmove.asm \
|
---|
542 | ../common/string/memset.asm \
|
---|
543 | ../common/string/memchr.asm \
|
---|
544 | ../common/string/memcmp.asm \
|
---|
545 | ../common/string/strchr.asm \
|
---|
546 | ../common/string/strcmp.asm \
|
---|
547 | ../common/string/strcpy.asm \
|
---|
548 | ../common/string/strlen.asm
|
---|
549 |
|
---|
550 | tstRTNtPath-1_TEMPLATE = VBOXR3TSTEXE
|
---|
551 | tstRTNtPath-1_SOURCES = tstRTNtPath-1.cpp
|
---|
552 |
|
---|
553 | tstOnce_TEMPLATE = VBOXR3TSTEXE
|
---|
554 | tstOnce_SOURCES = tstOnce.cpp
|
---|
555 |
|
---|
556 | tstRTPath_TEMPLATE = VBOXR3TSTEXE
|
---|
557 | tstRTPath_SOURCES = tstRTPath.cpp
|
---|
558 |
|
---|
559 | tstRTPathGlob_TEMPLATE = VBOXR3TSTEXE
|
---|
560 | tstRTPathGlob_SOURCES = tstRTPathGlob.cpp
|
---|
561 |
|
---|
562 | tstRTPathQueryInfo_TEMPLATE = VBOXR3TSTEXE
|
---|
563 | tstRTPathQueryInfo_SOURCES = tstRTPathQueryInfo.cpp
|
---|
564 |
|
---|
565 | tstRTPipe_TEMPLATE = VBOXR3TSTEXE
|
---|
566 | tstRTPipe_SOURCES = tstRTPipe.cpp
|
---|
567 |
|
---|
568 | tstRTPoll_TEMPLATE = VBOXR3TSTEXE
|
---|
569 | tstRTPoll_SOURCES = tstRTPoll.cpp
|
---|
570 |
|
---|
571 | tstPrfRT_TEMPLATE = VBOXR3TSTEXE
|
---|
572 | tstPrfRT_SOURCES = tstPrfRT.cpp
|
---|
573 | tstPrfRT_SOURCES.x86 = tstRTPrfA.asm
|
---|
574 | tstPrfRT_SOURCES.amd64 = tstRTPrfA.asm
|
---|
575 |
|
---|
576 | tstRTPrfIO_TEMPLATE = VBOXR3TSTEXE
|
---|
577 | tstRTPrfIO_SOURCES = tstRTPrfIO.cpp
|
---|
578 |
|
---|
579 | tstRTProcCreateEx_TEMPLATE = VBOXR3TSTEXE
|
---|
580 | tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp
|
---|
581 |
|
---|
582 | tstRTProcCreatePrf_TEMPLATE = VBOXR3TSTEXE
|
---|
583 | tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp
|
---|
584 |
|
---|
585 | tstRTProcQueryUsername_TEMPLATE = VBOXR3TSTEXE
|
---|
586 | tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp
|
---|
587 |
|
---|
588 | tstRTProcWait_TEMPLATE = VBOXR3TSTEXE
|
---|
589 | tstRTProcWait_SOURCES = tstRTProcWait.cpp
|
---|
590 |
|
---|
591 | tstRTProcIsRunningByName_TEMPLATE = VBOXR3TSTEXE
|
---|
592 | tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp
|
---|
593 |
|
---|
594 | tstRand_TEMPLATE = VBOXR3TSTEXE
|
---|
595 | tstRand_SOURCES = tstRand.cpp
|
---|
596 |
|
---|
597 | tstRTReqPool_TEMPLATE = VBOXR3TSTEXE
|
---|
598 | tstRTReqPool_SOURCES = tstRTReqPool.cpp
|
---|
599 |
|
---|
600 | tstRTS3_TEMPLATE = VBOXR3TSTEXE
|
---|
601 | tstRTS3_SOURCES = tstRTS3.cpp
|
---|
602 |
|
---|
603 | tstSemMutex_TEMPLATE = VBOXR3TSTEXE
|
---|
604 | tstSemMutex_SOURCES = tstSemMutex.cpp
|
---|
605 |
|
---|
606 | tstRTSemEventMulti_TEMPLATE = VBOXR3TSTEXE
|
---|
607 | tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp
|
---|
608 |
|
---|
609 | tstRTSemRW_TEMPLATE = VBOXR3TSTEXE
|
---|
610 | tstRTSemRW_SOURCES = tstRTSemRW.cpp
|
---|
611 |
|
---|
612 | tstSemPingPong_TEMPLATE = VBOXR3TSTEXE
|
---|
613 | tstSemPingPong_SOURCES = tstSemPingPong.cpp
|
---|
614 |
|
---|
615 | tstRTSemXRoads_TEMPLATE = VBOXR3TSTEXE
|
---|
616 | tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp
|
---|
617 |
|
---|
618 | tstRTSort_TEMPLATE = VBOXR3TSTEXE
|
---|
619 | tstRTSort_SOURCES = tstRTSort.cpp
|
---|
620 |
|
---|
621 | tstRTStrAlloc_TEMPLATE = VBOXR3TSTEXE
|
---|
622 | tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp
|
---|
623 |
|
---|
624 | tstRTStrCache_TEMPLATE = VBOXR3TSTEXE
|
---|
625 | tstRTStrCache_SOURCES = tstRTStrCache.cpp
|
---|
626 |
|
---|
627 | tstRTStrCatCopy_TEMPLATE = VBOXR3TSTEXE
|
---|
628 | tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp
|
---|
629 |
|
---|
630 | tstRTStrFormat_TEMPLATE = VBOXR3TSTEXE
|
---|
631 | tstRTStrFormat_SOURCES = tstRTStrFormat.cpp
|
---|
632 |
|
---|
633 | tstStrSimplePattern_TEMPLATE = VBOXR3TSTEXE
|
---|
634 | tstStrSimplePattern_SOURCES = tstStrSimplePattern.cpp
|
---|
635 |
|
---|
636 | tstStrToNum_TEMPLATE = VBOXR3TSTEXE
|
---|
637 | tstStrToNum_SOURCES = tstStrToNum.cpp
|
---|
638 |
|
---|
639 | tstRTStrVersion_TEMPLATE = VBOXR3TSTEXE
|
---|
640 | tstRTStrVersion_SOURCES = tstRTStrVersion.cpp
|
---|
641 |
|
---|
642 | tstRTSymlink_TEMPLATE = VBOXR3TSTEXE
|
---|
643 | tstRTSymlink_SOURCES = tstRTSymlink.cpp
|
---|
644 |
|
---|
645 | tstRTSystemQueryDmi_TEMPLATE = VBOXR3TSTEXE
|
---|
646 | tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp
|
---|
647 |
|
---|
648 | tstRTSystemQueryOsInfo_TEMPLATE = VBOXR3TSTEXE
|
---|
649 | tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp
|
---|
650 |
|
---|
651 | tstRTTcp-1_TEMPLATE = VBOXR3TSTEXE
|
---|
652 | tstRTTcp-1_SOURCES = tstRTTcp-1.cpp
|
---|
653 |
|
---|
654 | tstRTTemp_TEMPLATE = VBOXR3TSTEXE
|
---|
655 | tstRTTemp_SOURCES = tstRTTemp.cpp
|
---|
656 |
|
---|
657 | tstRTDirCreateUniqueNumbered_TEMPLATE = VBOXR3TSTEXE
|
---|
658 | tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp
|
---|
659 |
|
---|
660 | tstTermCallbacks_TEMPLATE = VBOXR3TSTEXE
|
---|
661 | tstTermCallbacks_SOURCES = tstTermCallbacks.cpp
|
---|
662 |
|
---|
663 | tstThread-1_TEMPLATE = VBOXR3TSTEXE
|
---|
664 | tstThread-1_SOURCES = tstThread-1.cpp
|
---|
665 |
|
---|
666 | tstRTThreadPoke_TEMPLATE = VBOXR3TSTEXE
|
---|
667 | tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp
|
---|
668 |
|
---|
669 | tstRTThreadExecutionTime_TEMPLATE = VBOXR3TSTEXE
|
---|
670 | tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp
|
---|
671 |
|
---|
672 | tstRTTime_TEMPLATE = VBOXR3TSTEXE
|
---|
673 | tstRTTime_SOURCES = tstRTTime.cpp
|
---|
674 |
|
---|
675 | tstRTTraceLog_TEMPLATE = VBOXR3TSTEXE
|
---|
676 | tstRTTraceLog_SOURCES = tstRTTraceLog.cpp
|
---|
677 |
|
---|
678 | tstTime-2_TEMPLATE = VBOXR3TSTEXE
|
---|
679 | tstTime-2_SOURCES = tstTime-2.cpp
|
---|
680 |
|
---|
681 | tstTime-3_TEMPLATE = VBOXR3TSTEXE
|
---|
682 | tstTime-3_SOURCES = tstTime-3.cpp
|
---|
683 |
|
---|
684 | tstTime-4_TEMPLATE = VBOXR3TSTEXE
|
---|
685 | tstTime-4_SOURCES = tstTime-4.cpp
|
---|
686 |
|
---|
687 | tstTimer_TEMPLATE = VBOXR3TSTEXE
|
---|
688 | tstTimer_SOURCES = tstTimer.cpp
|
---|
689 |
|
---|
690 | tstTimerLR_TEMPLATE = VBOXR3TSTEXE
|
---|
691 | tstTimerLR_SOURCES = tstTimerLR.cpp
|
---|
692 |
|
---|
693 | tstRTTimeSpec_TEMPLATE = VBOXR3TSTEXE
|
---|
694 | tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp
|
---|
695 |
|
---|
696 | tstTSC_SOURCES = tstTSC.cpp
|
---|
697 | tstTSC_CXXFLAGS.linux += -O3
|
---|
698 |
|
---|
699 | tstRTUuid_TEMPLATE = VBOXR3TSTEXE
|
---|
700 | tstRTUuid_SOURCES = tstRTUuid.cpp
|
---|
701 |
|
---|
702 | tstRTUdp-1_TEMPLATE = VBOXR3TSTEXE
|
---|
703 | tstRTUdp-1_SOURCES = tstRTUdp-1.cpp
|
---|
704 |
|
---|
705 | tstUtf8_TEMPLATE = VBOXR3TSTEXE
|
---|
706 | tstUtf8_SOURCES = tstUtf8.cpp
|
---|
707 |
|
---|
708 | tstRTCircBuf_TEMPLATE = VBOXR3TSTEXE
|
---|
709 | tstRTCircBuf_SOURCES = tstRTCircBuf.cpp
|
---|
710 |
|
---|
711 | tstRTManifest_TEMPLATE = VBOXR3TSTEXE
|
---|
712 | tstRTManifest_SOURCES = tstRTManifest.cpp
|
---|
713 |
|
---|
714 | tstRTMath_TEMPLATE = VBOXR3TSTEXE
|
---|
715 | tstRTMath_SOURCES = \
|
---|
716 | tstRTMath.cpp \
|
---|
717 | ../common/math/gcc/udivmoddi4.c
|
---|
718 |
|
---|
719 | tstRTUri_TEMPLATE = VBOXR3TSTEXE
|
---|
720 | tstRTUri_SOURCES = tstRTUri.cpp
|
---|
721 |
|
---|
722 | tstRTVfs_TEMPLATE = VBOXR3TSTEXE
|
---|
723 | tstRTVfs_SOURCES = tstRTVfs.cpp
|
---|
724 |
|
---|
725 | tstRTCoreDump_TEMPLACE = VBOXR3TSTEXE
|
---|
726 | tstRTCoreDump_SOURCES = tstRTCoreDump.cpp
|
---|
727 |
|
---|
728 | tstVector_TEMPLATE = VBOXR3TSTEXE
|
---|
729 | tstVector_SOURCES = tstVector.cpp
|
---|
730 |
|
---|
731 |
|
---|
732 | tstRTZip_TEMPLATE = VBOXR3TSTEXE
|
---|
733 | tstRTZip_SOURCES = tstRTZip.cpp
|
---|
734 |
|
---|
735 | tstRTJson_TEMPLATE = VBOXR3TSTEXE
|
---|
736 | tstRTJson_SOURCES = tstRTJson.cpp
|
---|
737 |
|
---|
738 | tstRTShMem_TEMPLATE = VBOXR3TSTEXE
|
---|
739 | tstRTShMem_SOURCES = tstRTShMem.cpp
|
---|
740 |
|
---|
741 | #
|
---|
742 | # Ring-0 testcases.
|
---|
743 | #
|
---|
744 |
|
---|
745 | ## @todo create a template for compiling the ring-0 part.
|
---|
746 | tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0
|
---|
747 | tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE)
|
---|
748 | tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0
|
---|
749 | tstRTR0DbgKrnlInfo_SYSSUFF = .r0
|
---|
750 | tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp
|
---|
751 | tstRTR0DbgKrnlInfo_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
752 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
753 | tstRTR0DbgKrnlInfo_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
754 | endif
|
---|
755 | if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
|
---|
756 | tstRTR0DbgKrnlInfoDriverHardened_TEMPLATE = VBoxR3HardenedTstExe
|
---|
757 | tstRTR0DbgKrnlInfoDriverHardened_NAME = tstRTR0DbgKrnlInfoDriver
|
---|
758 | tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0DbgKrnlInfoDriver\"
|
---|
759 | tstRTR0DbgKrnlInfoDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp
|
---|
760 | tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3HardenedTstDll
|
---|
761 | else
|
---|
762 | tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
763 | endif
|
---|
764 | tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
765 | tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp
|
---|
766 |
|
---|
767 |
|
---|
768 | tstRTR0MemUserKernel_TEMPLATE = VBoxR0
|
---|
769 | tstRTR0MemUserKernel_INST = $(INST_TESTCASE)
|
---|
770 | tstRTR0MemUserKernel_DEFS = IN_RT_R0
|
---|
771 | tstRTR0MemUserKernel_SYSSUFF = .r0
|
---|
772 | tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp
|
---|
773 | tstRTR0MemUserKernel_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
774 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
775 | tstRTR0MemUserKernel_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
776 | endif
|
---|
777 | if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
|
---|
778 | tstRTR0MemUserKernelDriverHardened_TEMPLATE = VBoxR3HardenedTstExe
|
---|
779 | tstRTR0MemUserKernelDriverHardened_NAME = tstRTR0MemUserKernelDriver
|
---|
780 | tstRTR0MemUserKernelDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0MemUserKernelDriver\"
|
---|
781 | tstRTR0MemUserKernelDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp
|
---|
782 | tstRTR0MemUserKernelDriver_TEMPLATE = VBoxR3HardenedTstDll
|
---|
783 | else
|
---|
784 | tstRTR0MemUserKernelDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
785 | endif
|
---|
786 | tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp
|
---|
787 |
|
---|
788 |
|
---|
789 | tstRTR0SemMutex_TEMPLATE = VBoxR0
|
---|
790 | tstRTR0SemMutex_INST = $(INST_TESTCASE)
|
---|
791 | tstRTR0SemMutex_DEFS = IN_RT_R0
|
---|
792 | tstRTR0SemMutex_SYSSUFF = .r0
|
---|
793 | tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp
|
---|
794 | tstRTR0SemMutex_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
795 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
796 | tstRTR0SemMutex_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
797 | endif
|
---|
798 | if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
|
---|
799 | tstRTR0SemMutexDriverHardened_TEMPLATE = VBoxR3HardenedTstExe
|
---|
800 | tstRTR0SemMutexDriverHardened_NAME = tstRTR0SemMutexDriver
|
---|
801 | tstRTR0SemMutexDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0SemMutexDriver\"
|
---|
802 | tstRTR0SemMutexDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp
|
---|
803 | tstRTR0SemMutexDriver_TEMPLATE = VBoxR3HardenedTstDll
|
---|
804 | else
|
---|
805 | tstRTR0SemMutexDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
806 | endif
|
---|
807 | tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp
|
---|
808 |
|
---|
809 |
|
---|
810 | tstRTR0Thread_TEMPLATE = VBoxR0
|
---|
811 | tstRTR0Thread_INST = $(INST_TESTCASE)
|
---|
812 | tstRTR0Thread_DEFS = IN_RT_R0
|
---|
813 | tstRTR0Thread_SYSSUFF = .r0
|
---|
814 | tstRTR0Thread_SOURCES = tstRTR0Thread.cpp
|
---|
815 | tstRTR0Thread_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
816 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
817 | tstRTR0Thread_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
818 | endif
|
---|
819 | if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
|
---|
820 | tstRTR0ThreadDriverHardened_TEMPLATE = VBoxR3HardenedTstExe
|
---|
821 | tstRTR0ThreadDriverHardened_NAME = tstRTR0ThreadDriver
|
---|
822 | tstRTR0ThreadDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadDriver\"
|
---|
823 | tstRTR0ThreadDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp
|
---|
824 | tstRTR0ThreadDriver_TEMPLATE = VBoxR3HardenedTstDll
|
---|
825 | else
|
---|
826 | tstRTR0ThreadDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
827 | endif
|
---|
828 | tstRTR0ThreadDriver_SOURCES = tstRTR0ThreadDriver.cpp
|
---|
829 |
|
---|
830 |
|
---|
831 | tstRTR0Timer_TEMPLATE = VBoxR0
|
---|
832 | tstRTR0Timer_INST = $(INST_TESTCASE)
|
---|
833 | tstRTR0Timer_DEFS = IN_RT_R0
|
---|
834 | tstRTR0Timer_SYSSUFF = .r0
|
---|
835 | tstRTR0Timer_SOURCES = tstRTR0Timer.cpp
|
---|
836 | tstRTR0Timer_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
837 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
838 | tstRTR0Timer_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
839 | endif
|
---|
840 | if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
|
---|
841 | tstRTR0TimerDriverHardened_TEMPLATE = VBoxR3HardenedTstExe
|
---|
842 | tstRTR0TimerDriverHardened_NAME = tstRTR0TimerDriver
|
---|
843 | tstRTR0TimerDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0TimerDriver\"
|
---|
844 | tstRTR0TimerDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp
|
---|
845 | tstRTR0TimerDriver_TEMPLATE = VBoxR3HardenedTstDll
|
---|
846 | else
|
---|
847 | tstRTR0TimerDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
848 | endif
|
---|
849 | tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp
|
---|
850 |
|
---|
851 |
|
---|
852 | tstRTR0ThreadPreemption_TEMPLATE = VBoxR0
|
---|
853 | tstRTR0ThreadPreemption_INST = $(INST_TESTCASE)
|
---|
854 | tstRTR0ThreadPreemption_DEFS = IN_RT_R0
|
---|
855 | tstRTR0ThreadPreemption_SYSSUFF = .r0
|
---|
856 | tstRTR0ThreadPreemption_SOURCES = tstRTR0ThreadPreemption.cpp
|
---|
857 | tstRTR0ThreadPreemption_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
858 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
859 | tstRTR0ThreadPreemption_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
860 | endif
|
---|
861 | if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
|
---|
862 | tstRTR0ThreadPreemptionDriverHardened_TEMPLATE = VBoxR3HardenedTstExe
|
---|
863 | tstRTR0ThreadPreemptionDriverHardened_NAME = tstRTR0ThreadPreemptionDriver
|
---|
864 | tstRTR0ThreadPreemptionDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadPreemptionDriver\"
|
---|
865 | tstRTR0ThreadPreemptionDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp
|
---|
866 | tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3HardenedTstDll
|
---|
867 | else
|
---|
868 | tstRTR0ThreadPreemptionDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
869 | endif
|
---|
870 | tstRTR0ThreadPreemptionDriver_SOURCES = tstRTR0ThreadPreemptionDriver.cpp
|
---|
871 |
|
---|
872 |
|
---|
873 | #
|
---|
874 | # Odds and ends.
|
---|
875 | #
|
---|
876 |
|
---|
877 | tstDarwinSched_TEMPLATE = VBOXR3TSTEXE
|
---|
878 | tstDarwinSched_SOURCES = tstDarwinSched.cpp
|
---|
879 |
|
---|
880 | tstRTDarwinMachKernel_TEMPLATE = VBOXR3TSTEXE
|
---|
881 | tstRTDarwinMachKernel_INCS = ../include
|
---|
882 | tstRTDarwinMachKernel_SOURCES = \
|
---|
883 | tstRTDarwinMachKernel.cpp \
|
---|
884 | ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp
|
---|
885 |
|
---|
886 | ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp
|
---|
887 | ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
|
---|
888 |
|
---|
889 | endif # VBOX_WITH_TESTCASES
|
---|
890 |
|
---|
891 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
892 |
|
---|