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