VirtualBox

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

Last change on this file since 33867 was 33678, checked in by vboxsync, 14 years ago

IPRT: Added RTStrCat and RTStrCatEx.

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