VirtualBox

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

Last change on this file since 34296 was 34174, checked in by vboxsync, 14 years ago

IPRT: Use prefer real-time signal over SIGUSR2 for RTThreadPoke. Try several ones before giving up.

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