VirtualBox

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

Last change on this file since 36549 was 36508, checked in by vboxsync, 14 years ago

iprt/C++: some cleanup.

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