VirtualBox

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

Last change on this file since 38082 was 38082, checked in by vboxsync, 13 years ago

*.kmk: Installation/staging adjustments (kBuild 0.2.0 preps).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 14.5 KB
Line 
1# $Id: Makefile.kmk 38082 2011-07-20 14:26:24Z vboxsync $
2## @file
3# Sub-Makefile for the IPRT testcases.
4#
5
6#
7# Copyright (C) 2006-2010 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 tstRTCidr \
52 tstRTCritSect \
53 tstRTDigest \
54 tstDir \
55 tstDir-2 \
56 tstDir-3 \
57 tstRTDvm \
58 tstEnv \
59 tstErrUnique \
60 tstFile \
61 tstRTFileAio \
62 tstRTFileAppend-1 \
63 tstFileLock \
64 tstFork \
65 tstRTGetOpt \
66 tstRTGetOptArgv \
67 tstHandleTable \
68 tstRTHeapOffset \
69 tstRTHeapSimple \
70 tstRTInlineAsm \
71 tstIprtList \
72 tstIprtMiniString \
73 tstLdr \
74 tstLdrLoad \
75 tstRTList \
76 tstRTLockValidator \
77 tstLog \
78 tstMemAutoPtr \
79 tstRTMemEf \
80 tstRTMemCache \
81 tstRTMemPool \
82 tstMove \
83 tstMp-1 \
84 tstOnce \
85 tstRTPath \
86 tstRTPipe \
87 tstRTPoll \
88 tstRTPrfIO \
89 tstRTProcCreateEx \
90 tstPrfRT \
91 tstRand \
92 tstRTFsQueries \
93 tstRTSemEventMulti \
94 tstSemMutex \
95 tstSemPingPong \
96 tstRTSemRW \
97 tstRTSemXRoads \
98 tstRTSort \
99 tstRTStrAlloc \
100 tstRTStrCache \
101 tstRTStrCatCopy \
102 tstRTStrFormat \
103 tstStrSimplePattern \
104 tstStrToNum \
105 tstRTStrVersion \
106 tstRTSymlink \
107 tstRTSystemQueryDmi \
108 tstRTSystemQueryOsInfo \
109 tstRTTcp-1 \
110 tstRTTemp \
111 tstRTDirCreateUniqueNumbered \
112 tstTermCallbacks \
113 tstThread-1 \
114 tstRTThreadPoke \
115 tstRTThreadExecutionTime \
116 tstTime \
117 tstTime-2 \
118 tstTime-3 \
119 tstTime-4 \
120 tstTimer \
121 tstTimerLR \
122 tstRTTimeSpec \
123 tstUtf8 \
124 tstRTUuid \
125 tstRTCircBuf \
126 tstRTManifest \
127 tstVector
128
129PROGRAMS.win += \
130 tstRTProcWait \
131 tstRTCritSectW32 \
132 tstFileAppendWin-1 \
133 ntGetTimerResolution
134PROGRAMS.linux += \
135 tstRTProcWait \
136 tstRTProcIsRunningByName \
137 tstRTBitOperationsPIC3 \
138 tstRTInlineAsmPIC \
139 tstRTInlineAsmPIC3
140PROGRAMS.solaris += \
141 tstRTCoreDump
142PROGRAMS.l4 += \
143 tstIoCtl
144PROGRAMS.darwin += \
145 tstDarwinSched \
146 tstRTDarwinMachKernel
147ifdef VBOX_WITH_LIBCURL
148 PROGRAMS += \
149 tstRTS3
150endif
151if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
152 PROGRAMS += \
153 tstLdr-2 \
154 tstLdr-3 \
155 tstLdr-4 \
156 tstNoCrt-1 \
157 tstRTR0MemUserKernelDriver \
158 tstRTR0SemMutexDriver \
159 tstRTR0TimerDriver \
160 tstR0ThreadPreemptionDriver \
161 tstTSC
162 SYSMODS += \
163 tstLdrObjR0 \
164 tstRTR0MemUserKernel \
165 tstRTR0SemMutex \
166 tstRTR0Timer \
167 tstR0ThreadPreemption
168 ifdef VBOX_WITH_RAW_MODE
169 SYSMODS += tstLdrObj
170 endif
171endif
172if1of ($(VBOX_LDR_FMT)), lx pe)
173 LIBRARIES += \
174 tstLdr-4Imp
175endif
176
177
178#
179# Target configs in almost alphabetical order.
180#
181
182tstRTAssertCompile_TEMPLATE = VBOXR3TSTEXE
183tstRTAssertCompile_NOINST = true
184tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp
185
186tstRTAvl_TEMPLATE = VBOXR3TSTEXE
187tstRTAvl_SOURCES = tstRTAvl.cpp
188
189tstRTBase64_TEMPLATE = VBOXR3TSTEXE
190tstRTBase64_SOURCES = tstRTBase64.cpp
191
192tstRTBitOperations_TEMPLATE = VBOXR3TSTEXE
193tstRTBitOperations_SOURCES = tstRTBitOperations.cpp
194
195tstRTBitOperationsPIC3_TEMPLATE = VBOXR3TSTEXE
196tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp
197tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
198tstRTBitOperationsPIC3_DEFS = PIC
199
200tstRTCidr_TEMPLATE = VBOXR3TSTEXE
201tstRTCidr_SOURCES = tstRTCidr.cpp
202
203tstRTCritSect_TEMPLATE = VBOXR3TSTEXE
204tstRTCritSect_SOURCES = tstRTCritSect.cpp
205
206tstRTCritSectW32_TEMPLATE = VBOXR3TSTEXE
207tstRTCritSectW32_SOURCES = tstRTCritSect.cpp
208tstRTCritSectW32_DEFS = TRY_WIN32_CRIT
209
210tstRTDigest_SOURCES = tstRTDigest.cpp
211
212tstDir_SOURCES = tstDir.cpp
213
214tstDir-2_SOURCES = tstDir-2.cpp
215
216tstDir-3_SOURCES = tstDir-3.cpp
217
218tstRTDvm_SOURCES = tstRTDvm.cpp
219
220tstEnv_SOURCES = tstEnv.cpp
221
222# Note: tstErrUnique.cpp depends on a header generated by the makefile above us.
223tstErrUnique_SOURCES = tstErrUnique.cpp
224tstErrUnique_INCS = $(IPRT_OUT_DIR)/
225tstErrUnique.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h
226
227tstFile_SOURCES = tstFile.cpp
228
229tstRTFileAio_SOURCES = VBOXR3TSTEXE
230tstRTFileAio_SOURCES = tstRTFileAio.cpp
231
232tstRTFileAppend-1_TEMPLATE = VBOXR3TSTEXE
233tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp
234
235tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp
236
237tstFileLock_SOURCES = tstFileLock.cpp
238
239tstFork_SOURCES = tstFork.cpp
240
241tstRTGetOpt_TEMPLATE = VBOXR3TSTEXE
242tstRTGetOpt_SOURCES = tstRTGetOpt.cpp
243
244tstRTGetOptArgv_TEMPLATE = VBOXR3TSTEXE
245tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp
246
247tstHandleTable_SOURCES = tstHandleTable.cpp
248
249tstRTHeapOffset_TEMPLATE = VBOXR3TSTEXE
250tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp
251
252tstRTHeapSimple_TEMPLATE = VBOXR3TSTEXE
253tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp
254
255tstIoCtl_SOURCES = tstIoCtl.cpp
256
257tstRTInlineAsm_TEMPLATE = VBOXR3TSTEXE
258tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp
259
260tstRTInlineAsmPIC_TEMPLATE = VBOXR3TSTEXE
261tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp
262tstRTInlineAsmPIC_CXXFLAGS = -fPIC
263tstRTInlineAsmPIC_DEFS = PIC
264
265tstRTInlineAsmPIC3_TEMPLATE = VBOXR3TSTEXE
266tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp
267tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
268tstRTInlineAsmPIC3_DEFS = PIC
269
270tstIprtList_TEMPLATE = VBOXR3TSTEXE
271tstIprtList_SOURCES = tstIprtList.cpp
272
273tstIprtMiniString_TEMPLATE = VBOXR3TSTEXE
274tstIprtMiniString_SOURCES = tstIprtMiniString.cpp
275
276tstLdr_SOURCES = tstLdr.cpp
277
278tstLdr-2_SOURCES = tstLdr-2.cpp
279tstLdr-2_DEFS = IN_DIS
280tstLdr-2_LIBS = \
281 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
282
283ifdef VBOX_WITH_RAW_MODE
284 tstLdrObj_TEMPLATE = VBoxRc
285 tstLdrObj_INST = $(INST_TESTCASE)
286 tstLdrObj_SYSSUFF = .gc
287 tstLdrObj_SOURCES = tstLdrObj.cpp
288 tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
289 ifeq ($(VBOX_LDR_FMT32),elf)
290 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION
291 endif
292 tstLdrObj_LIBS = \
293 $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
294 $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
295 ifeq ($(VBOX_LDR_FMT32),pe)
296 tstLdrObj_LIBS += \
297 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
298 endif # PE
299 ifeq ($(VBOX_LDR_FMT32),elf)
300 tstLdrObj_LDFLAGS = -e Entrypoint
301 endif
302 ifeq ($(VBOX_LDR_FMT32),lx)
303 tstLdrObj_LIBS += \
304 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
305 endif
306endif # VBOX_WITH_RAW_MODE
307
308tstLdr-3_SOURCES = tstLdr-3.cpp
309tstLdr-3_DEFS = IN_DIS
310tstLdr-3_LIBS = \
311 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
312
313tstLdr-4Imp_TEMPLATE = VBoxR0
314ifeq ($(VBOX_LDR_FMT),lx)
315 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def
316else ifeq ($(VBOX_LDR_FMT),pe)
317 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def
318endif
319
320tstLdrObjR0_TEMPLATE = VBoxR0
321tstLdrObjR0_INST = $(INST_TESTCASE)
322tstLdrObjR0_SYSSUFF = .r0
323tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp
324tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
325ifeq ($(VBOX_LDR_FMT32),elf)
326 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION
327endif
328ifn1of ($(KBUILD_TARGET), win)
329 tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
330endif
331tstLdrObjR0_LIBS = \
332 $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \
333 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
334ifeq ($(VBOX_LDR_FMT),pe)
335 tstLdrObjR0_LIBS += \
336 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
337 $(TARGET_tstLdr-4Imp)
338endif
339ifeq ($(VBOX_LDR_FMT),elf)
340 tstLdrObjR0_LDFLAGS = -e Entrypoint
341endif
342ifeq ($(VBOX_LDR_FMT),lx)
343 tstLdrObjR0_LIBS += \
344 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
345 $(TARGET_tstLdr-4Imp)
346endif
347
348tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp
349tstLdr-4_DEFS = IN_DIS
350tstLdr-4_LIBS = \
351 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
352
353tstLdrLoad_SOURCES = tstLdrLoad.cpp
354
355tstRTList_TEMPLATE = VBOXR3TSTEXE
356tstRTList_SOURCES = tstRTList.cpp
357
358tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE
359tstRTLockValidator_SOURCES = tstRTLockValidator.cpp
360
361tstLog_SOURCES = tstLog.cpp
362
363tstMemAutoPtr_SOURCES = tstMemAutoPtr.cpp
364
365tstRTMemEf_TEMPLATE = VBOXR3TSTEXE
366tstRTMemEf_SOURCES = tstRTMemEf.cpp
367
368tstRTMemCache_TEMPLATE = VBOXR3TSTEXE
369tstRTMemCache_SOURCES = tstRTMemCache.cpp
370
371tstRTMemPool_TEMPLATE = VBOXR3TSTEXE
372tstRTMemPool_SOURCES = tstRTMemPool.cpp
373
374tstMove_SOURCES = tstMove.cpp
375
376tstMp-1_SOURCES = tstMp-1.cpp
377
378tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES
379tstNoCrt-1_SOURCES = \
380 tstNoCrt-1.cpp \
381 ../common/string/memcpy.asm \
382 ../common/string/mempcpy.asm \
383 ../common/string/memmove.asm \
384 ../common/string/memset.asm \
385 ../common/string/memchr.asm \
386 ../common/string/memcmp.asm \
387 ../common/string/strchr.asm \
388 ../common/string/strcmp.asm \
389 ../common/string/strcpy.asm \
390 ../common/string/strlen.asm
391
392tstOnce_SOURCES = tstOnce.cpp
393
394tstRTPath_TEMPLATE = VBOXR3TSTEXE
395tstRTPath_SOURCES = tstRTPath.cpp
396
397tstRTPipe_TEMPLATE = VBOXR3TSTEXE
398tstRTPipe_SOURCES = tstRTPipe.cpp
399
400tstRTPoll_TEMPLATE = VBOXR3TSTEXE
401tstRTPoll_SOURCES = tstRTPoll.cpp
402
403tstPrfRT_SOURCES = tstPrfRT.cpp
404
405tstRand_SOURCES = tstRand.cpp
406
407tstRTFsQueries_SOURCES = tstRTFsQueries.cpp
408
409tstRTPrfIO_TEMPLATE = VBOXR3TSTEXE
410tstRTPrfIO_SOURCES = tstRTPrfIO.cpp
411
412tstRTProcCreateEx_TEMPLATE = VBOXR3TSTEXE
413tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp
414
415tstRTProcWait_SOURCES = tstRTProcWait.cpp
416
417tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp
418
419tstRTS3_SOURCES = tstRTS3.cpp
420
421tstSemMutex_SOURCES = tstSemMutex.cpp
422
423tstRTSemEventMulti_TEMPLATE = VBOXR3TSTEXE
424tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp
425
426tstRTSemRW_TEMPLATE = VBOXR3TSTEXE
427tstRTSemRW_SOURCES = tstRTSemRW.cpp
428
429tstSemPingPong_SOURCES = tstSemPingPong.cpp
430
431tstRTSemXRoads_TEMPLATE = VBOXR3TSTEXE
432tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp
433
434tstRTSort_TEMPLATE = VBOXR3TSTEXE
435tstRTSort_SOURCES = tstRTSort.cpp
436
437tstRTStrAlloc_TEMPLATE = VBOXR3TSTEXE
438tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp
439
440tstRTStrCache_TEMPLATE = VBOXR3TSTEXE
441tstRTStrCache_SOURCES = tstRTStrCache.cpp
442
443tstRTStrCatCopy_TEMPLATE = VBOXR3TSTEXE
444tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp
445
446tstRTStrFormat_TEMPLATE = VBOXR3TSTEXE
447tstRTStrFormat_SOURCES = tstRTStrFormat.cpp
448
449tstStrSimplePattern_SOURCES = tstStrSimplePattern.cpp
450
451tstStrToNum_SOURCES = tstStrToNum.cpp
452
453tstRTStrVersion_TEMPLATE = VBOXR3TSTEXE
454tstRTStrVersion_SOURCES = tstRTStrVersion.cpp
455
456tstRTSymlink_TEMPLATE = VBOXR3TSTEXE
457tstRTSymlink_SOURCES = tstRTSymlink.cpp
458
459tstRTSystemQueryDmi_TEMPLATE = VBOXR3TSTEXE
460tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp
461
462tstRTSystemQueryOsInfo_TEMPLATE = VBOXR3TSTEXE
463tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp
464
465tstRTTcp-1_TEMPLATE = VBOXR3TSTEXE
466tstRTTcp-1_SOURCES = tstRTTcp-1.cpp
467
468tstRTTemp_TEMPLATE = VBOXR3TSTEXE
469tstRTTemp_SOURCES = tstRTTemp.cpp
470
471tstRTDirCreateUniqueNumbered_TEMPLATE = VBOXR3TSTEXE
472tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp
473
474tstTermCallbacks_SOURCES = tstTermCallbacks.cpp
475
476tstThread-1_SOURCES = tstThread-1.cpp
477
478tstRTThreadPoke_TEMPLATE = VBOXR3TSTEXE
479tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp
480
481tstRTThreadExecutionTime_TEMPLATE = VBOXR3TSTEXE
482tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp
483
484tstTime_SOURCES = tstTime.cpp
485
486tstTime-2_SOURCES = tstTime-2.cpp
487
488tstTime-3_SOURCES = tstTime-3.cpp
489
490tstTime-4_SOURCES = tstTime-4.cpp
491
492tstTimer_SOURCES = tstTimer.cpp
493
494tstTimerLR_SOURCES = tstTimerLR.cpp
495
496tstRTTimeSpec_TEMPLATE = VBOXR3TSTEXE
497tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp
498
499tstTSC_SOURCES = tstTSC.cpp
500tstTSC_CXXFLAGS.linux += -O3
501
502tstRTUuid_TEMPLATE = VBOXR3TSTEXE
503tstRTUuid_SOURCES = tstRTUuid.cpp
504
505tstUtf8_SOURCES = tstUtf8.cpp
506
507tstRTCircBuf_TEMPLATE = VBOXR3TSTEXE
508tstRTCircBuf_SOURCES = tstRTCircBuf.cpp
509
510tstRTManifest_TEMPLATE = VBOXR3TSTEXE
511tstRTManifest_SOURCES = tstRTManifest.cpp
512
513tstRTCoreDump_TEMPLACE = VBOXR3TSTEXE
514tstRTCoreDump_SOURCES = tstRTCoreDump.cpp
515
516tstVector_TEMPLATE = VBOXR3TSTEXE
517tstVector_SOURCES = tstVector.cpp
518
519
520#
521# Ring-0 testcases.
522#
523
524## @todo create a template for compiling the ring-0 part.
525tstRTR0MemUserKernel_TEMPLATE = VBoxR0
526tstRTR0MemUserKernel_INST = $(INST_TESTCASE)
527tstRTR0MemUserKernel_DEFS = IN_RT_R0
528tstRTR0MemUserKernel_SYSSUFF = .r0
529tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp
530tstRTR0MemUserKernel_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
531if1of ($(VBOX_LDR_FMT), pe lx)
532 tstRTR0MemUserKernel_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
533endif
534tstRTR0MemUserKernelDriver_TEMPLATE = VBOXR3TSTEXE
535tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp
536
537
538tstRTR0SemMutex_TEMPLATE = VBoxR0
539tstRTR0SemMutex_INST = $(INST_TESTCASE)
540tstRTR0SemMutex_DEFS = IN_RT_R0
541tstRTR0SemMutex_SYSSUFF = .r0
542tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp
543tstRTR0SemMutex_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
544if1of ($(VBOX_LDR_FMT), pe lx)
545 tstRTR0SemMutex_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
546endif
547tstRTR0SemMutexDriver_TEMPLATE = VBOXR3TSTEXE
548tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp
549
550
551tstRTR0Timer_TEMPLATE = VBoxR0
552tstRTR0Timer_INST = $(INST_TESTCASE)
553tstRTR0Timer_DEFS = IN_RT_R0
554tstRTR0Timer_SYSSUFF = .r0
555tstRTR0Timer_SOURCES = tstRTR0Timer.cpp
556tstRTR0Timer_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
557if1of ($(VBOX_LDR_FMT), pe lx)
558 tstRTR0Timer_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
559endif
560tstRTR0TimerDriver_TEMPLATE = VBOXR3TSTEXE
561tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp
562
563
564tstR0ThreadPreemption_TEMPLATE = VBoxR0
565tstR0ThreadPreemption_INST = $(INST_TESTCASE)
566tstR0ThreadPreemption_DEFS = IN_RT_R0
567tstR0ThreadPreemption_SYSSUFF = .r0
568tstR0ThreadPreemption_SOURCES = tstR0ThreadPreemption.cpp
569tstR0ThreadPreemption_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
570if1of ($(VBOX_LDR_FMT), pe lx)
571 tstR0ThreadPreemption_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
572endif
573tstR0ThreadPreemptionDriver_TEMPLATE = VBOXR3TSTEXE
574tstR0ThreadPreemptionDriver_SOURCES = tstR0ThreadPreemptionDriver.cpp
575
576
577#
578# Odds and ends.
579#
580
581tstDarwinSched_SOURCES = tstDarwinSched.cpp
582
583tstRTDarwinMachKernel_TEMPLATE = VBOXR3TSTEXE
584tstRTDarwinMachKernel_INCS = ../include
585tstRTDarwinMachKernel_SOURCES = \
586 tstRTDarwinMachKernel.cpp \
587 ../r0drv/darwin/mach_kernel-r0drv-darwin.cpp
588
589ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp
590ntGetTimerResolution_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL
591
592endif # VBOX_WITH_TESTCASES
593
594include $(KBUILD_PATH)/subfooter.kmk
595
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