VirtualBox

source: vbox/trunk/src/VBox/Runtime/testcase/Makefile.kmk@ 85569

Last change on this file since 85569 was 85507, checked in by vboxsync, 4 years ago

SUP,*: Some changes to the SUP_IOCTL_LDR_OPEN and SUP_IOCTL_LDR_LOAD interfaces adding memory protection regions for better WX compliance. Preps for linux 5.8 where we'll be using RTR0MemObjAllocPage rather than RTMemExecAlloc for images, switch from relocatable ELF files to shared objects. bugref:9801

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette