VirtualBox

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

Last change on this file since 36363 was 35337, checked in by vboxsync, 14 years ago

More build fixes

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