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