VirtualBox

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

Last change on this file since 51230 was 51165, checked in by vboxsync, 11 years ago

VMM: remove linker entrypoints for relocatable VMMR0,tstLdrObj objects (causes problems with Solaris GCC 4.5.2 and newer)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 17.8 KB
Line 
1# $Id: Makefile.kmk 51165 2014-04-29 13:24:23Z vboxsync $
2## @file
3# Sub-Makefile for the IPRT testcases.
4#
5
6#
7# Copyright (C) 2006-2013 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 tstRTCritSectRw \
54 tstRTCType \
55 tstRTDigest \
56 tstDir \
57 tstDir-2 \
58 tstDir-3 \
59 tstRTDvm \
60 tstEnv \
61 tstRTErrUnique \
62 tstFile \
63 tstRTFileAio \
64 tstRTFileAppend-1 \
65 tstRTFileGetSize-1 \
66 tstRTFileModeStringToFlags \
67 tstFileLock \
68 tstFork \
69 tstRTFsQueries \
70 tstRTFilesystem \
71 tstRTGetOpt \
72 tstRTGetOptArgv \
73 tstHandleTable \
74 tstRTHeapOffset \
75 tstRTHeapSimple \
76 tstRTInlineAsm \
77 tstIprtList \
78 tstIprtMiniString \
79 tstLdr \
80 tstLdrLoad \
81 tstRTList \
82 tstRTLockValidator \
83 tstLog \
84 tstMemAutoPtr \
85 tstRTMemEf \
86 tstRTMemCache \
87 tstRTMemPool \
88 tstRTMemWipe \
89 tstMove \
90 tstRTMp-1 \
91 tstRTNetIPv4 \
92 tstRTNetIPv6 \
93 tstOnce \
94 tstRTPath \
95 tstRTPipe \
96 tstRTPoll \
97 tstRTPrfIO \
98 tstRTProcCreateEx \
99 tstRTProcCreatePrf \
100 tstRTProcQueryUsername \
101 tstPrfRT \
102 tstRand \
103 tstRTReqPool \
104 tstRTSemEventMulti \
105 tstSemMutex \
106 tstSemPingPong \
107 tstRTSemRW \
108 tstRTSemXRoads \
109 tstRTSort \
110 tstRTStrAlloc \
111 tstRTStrCache \
112 tstRTStrCatCopy \
113 tstRTStrFormat \
114 tstStrSimplePattern \
115 tstStrToNum \
116 tstRTStrVersion \
117 tstRTSymlink \
118 tstRTSystemQueryDmi \
119 tstRTSystemQueryOsInfo \
120 tstRTTcp-1 \
121 tstRTTemp \
122 tstRTDirCreateUniqueNumbered \
123 tstTermCallbacks \
124 tstThread-1 \
125 tstRTThreadPoke \
126 tstRTThreadExecutionTime \
127 tstRTTime \
128 tstTime-2 \
129 tstTime-3 \
130 tstTime-4 \
131 tstTimer \
132 tstTimerLR \
133 tstRTTimeSpec \
134 tstUtf8 \
135 tstRTUuid \
136 tstRTCircBuf \
137 tstRTManifest \
138 tstRTUri \
139 tstVector \
140 tstRTZip
141
142PROGRAMS.win += \
143 tstRTCritSectW32 \
144 tstRTLocalIpc \
145 tstRTProcWait \
146 tstFileAppendWin-1 \
147 ntGetTimerResolution
148PROGRAMS.linux += \
149 tstRTProcWait \
150 tstRTProcIsRunningByName \
151 tstRTBitOperationsPIC3 \
152 tstRTInlineAsmPIC \
153 tstRTInlineAsmPIC3
154PROGRAMS.solaris += \
155 tstRTCoreDump
156PROGRAMS.darwin += \
157 tstDarwinSched \
158 tstRTDarwinMachKernel
159ifdef VBOX_WITH_LIBCURL
160 PROGRAMS += \
161 tstRTHttp \
162 tstRTS3
163endif
164if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
165 PROGRAMS += \
166 tstLdr-2 \
167 tstLdr-3 \
168 tstLdr-4 \
169 tstNoCrt-1 \
170 tstRTR0MemUserKernelDriver \
171 tstRTR0SemMutexDriver \
172 tstRTR0TimerDriver \
173 tstR0ThreadPreemptionDriver \
174 tstTSC
175 SYSMODS += \
176 tstLdrObjR0 \
177 tstRTR0MemUserKernel \
178 tstRTR0SemMutex \
179 tstRTR0Timer \
180 tstR0ThreadPreemption
181 ifdef VBOX_WITH_RAW_MODE
182 SYSMODS += tstLdrObj
183 endif
184 if1of ($(KBUILD_TARGET), solaris darwin)
185 PROGRAMS += tstRTR0DbgKrnlInfoDriver
186 SYSMODS += tstRTR0DbgKrnlInfo
187 endif
188endif
189if1of ($(VBOX_LDR_FMT)), lx pe)
190 LIBRARIES += \
191 tstLdr-4Imp
192endif
193
194
195#
196# Target configs in almost alphabetical order.
197#
198
199tstRTAssertCompile_TEMPLATE = VBOXR3TSTEXE
200tstRTAssertCompile_INSTTYPE = none
201tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp
202
203tstRTAvl_TEMPLATE = VBOXR3TSTEXE
204tstRTAvl_SOURCES = tstRTAvl.cpp
205
206tstRTBase64_TEMPLATE = VBOXR3TSTEXE
207tstRTBase64_SOURCES = tstRTBase64.cpp
208
209tstRTBitOperations_TEMPLATE = VBOXR3TSTEXE
210tstRTBitOperations_SOURCES = tstRTBitOperations.cpp
211
212tstRTBitOperationsPIC3_TEMPLATE = VBOXR3TSTEXE
213tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp
214tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
215tstRTBitOperationsPIC3_DEFS = PIC
216
217tstRTCidr_TEMPLATE = VBOXR3TSTEXE
218tstRTCidr_SOURCES = tstRTCidr.cpp
219
220tstRTCritSect_TEMPLATE = VBOXR3TSTEXE
221tstRTCritSect_SOURCES = tstRTCritSect.cpp
222
223tstRTCritSectRw_TEMPLATE = VBOXR3TSTEXE
224tstRTCritSectRw_SOURCES = tstRTCritSectRw.cpp
225
226tstRTCritSectW32_TEMPLATE = VBOXR3TSTEXE
227tstRTCritSectW32_SOURCES = tstRTCritSect.cpp
228tstRTCritSectW32_DEFS = TRY_WIN32_CRIT
229
230tstRTCType_TEMPLATE = VBOXR3TSTEXE
231tstRTCType_SOURCES = tstRTCType.cpp
232
233tstRTDigest_SOURCES = tstRTDigest.cpp
234
235ifdef VBOX_WITH_LIBCURL
236tstRTHttp_TEMPLATE = VBOXR3TSTEXE
237tstRTHttp_SOURCES = tstRTHttp.cpp
238tstRTHttp_SDKS = VBOX_LIBCURL
239endif
240
241tstDir_TEMPLATE = VBOXR3TSTEXE
242tstDir_SOURCES = tstDir.cpp
243
244tstDir-2_TEMPLATE = VBOXR3TSTEXE
245tstDir-2_SOURCES = tstDir-2.cpp
246
247tstDir-3_TEMPLATE = VBOXR3TSTEXE
248tstDir-3_SOURCES = tstDir-3.cpp
249
250tstRTDvm_TEMPLATE = VBOXR3TSTEXE
251tstRTDvm_SOURCES = tstRTDvm.cpp
252
253tstEnv_TEMPLATE = VBOXR3TSTEXE
254tstEnv_SOURCES = tstEnv.cpp
255
256tstRTErrUnique_SOURCES = tstRTErrUnique.cpp
257tstRTErrUnique_INCS = $(IPRT_OUT_DIR)/
258tstRTErrUnique.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h # generate by ../Makefile.kmk
259
260tstFile_TEMPLATE = VBOXR3TSTEXE
261tstFile_SOURCES = tstFile.cpp
262
263tstRTFileAio_SOURCES = VBOXR3TSTEXE
264tstRTFileAio_SOURCES = tstRTFileAio.cpp
265
266tstRTFileAppend-1_TEMPLATE = VBOXR3TSTEXE
267tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp
268
269tstRTFileGetSize-1_TEMPLATE = VBOXR3TSTEXE
270tstRTFileGetSize-1_SOURCES = tstRTFileGetSize-1.cpp
271
272tstRTFileModeStringToFlags_TEMPLATE = VBOXR3TSTEXE
273tstRTFileModeStringToFlags_SOURCES = tstRTFileModeStringToFlags.cpp
274
275tstFileAppendWin-1_TEMPLATE = VBOXR3TSTEXE
276tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp
277
278tstFileLock_TEMPLATE = VBOXR3TSTEXE
279tstFileLock_SOURCES = tstFileLock.cpp
280
281tstFork_TEMPLATE = VBOXR3TSTEXE
282tstFork_SOURCES = tstFork.cpp
283
284tstRTFsQueries_TEMPLATE = VBOXR3TSTEXE
285tstRTFsQueries_SOURCES = tstRTFsQueries.cpp
286
287tstRTFilesystem_TEMPLATE = VBOXR3TSTEXE
288tstRTFilesystem_SOURCES = tstRTFilesystem.cpp
289
290tstRTGetOpt_TEMPLATE = VBOXR3TSTEXE
291tstRTGetOpt_SOURCES = tstRTGetOpt.cpp
292
293tstRTGetOptArgv_TEMPLATE = VBOXR3TSTEXE
294tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp
295
296tstHandleTable_SOURCES = tstHandleTable.cpp
297
298tstRTHeapOffset_TEMPLATE = VBOXR3TSTEXE
299tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp
300
301tstRTHeapSimple_TEMPLATE = VBOXR3TSTEXE
302tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp
303
304tstRTInlineAsm_TEMPLATE = VBOXR3TSTEXE
305tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp
306
307tstRTInlineAsmPIC_TEMPLATE = VBOXR3TSTEXE
308tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp
309tstRTInlineAsmPIC_CXXFLAGS = -fPIC
310tstRTInlineAsmPIC_DEFS = PIC
311
312tstRTInlineAsmPIC3_TEMPLATE = VBOXR3TSTEXE
313tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp
314tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
315tstRTInlineAsmPIC3_DEFS = PIC
316
317tstIprtList_TEMPLATE = VBOXR3TSTEXE
318tstIprtList_SOURCES = tstIprtList.cpp
319
320tstIprtMiniString_TEMPLATE = VBOXR3TSTEXE
321tstIprtMiniString_SOURCES = tstIprtMiniString.cpp
322
323tstLdr_TEMPLATE = VBOXR3TSTEXE
324tstLdr_SOURCES = tstLdr.cpp
325
326tstLdr-2_TEMPLATE = VBOXR3TSTEXE
327tstLdr-2_SOURCES = tstLdr-2.cpp
328tstLdr-2_DEFS = IN_DIS
329tstLdr-2_LIBS = \
330 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
331
332ifdef VBOX_WITH_RAW_MODE
333 tstLdrObj_TEMPLATE = VBoxRc
334 tstLdrObj_INST = $(INST_TESTCASE)
335 tstLdrObj_SYSSUFF = .gc
336 tstLdrObj_SOURCES = tstLdrObj.cpp
337 tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
338 ifeq ($(VBOX_LDR_FMT32),elf)
339 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION
340 endif
341 tstLdrObj_LIBS = \
342 $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
343 $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
344 ifeq ($(VBOX_LDR_FMT32),pe)
345 tstLdrObj_LIBS += \
346 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
347 endif # PE
348 ifeq ($(VBOX_LDR_FMT32),lx)
349 tstLdrObj_LIBS += \
350 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
351 endif
352endif # VBOX_WITH_RAW_MODE
353
354tstLdr-3_TEMPLATE = VBOXR3TSTEXE
355tstLdr-3_SOURCES = tstLdr-3.cpp
356tstLdr-3_DEFS = IN_DIS
357tstLdr-3_LIBS = \
358 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
359
360tstLdr-4Imp_TEMPLATE = VBoxR0
361ifeq ($(VBOX_LDR_FMT),lx)
362 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def
363else ifeq ($(VBOX_LDR_FMT),pe)
364 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def
365endif
366
367tstLdrObjR0_TEMPLATE = VBoxR0
368tstLdrObjR0_INST = $(INST_TESTCASE)
369tstLdrObjR0_SYSSUFF = .r0
370tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp
371tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
372ifeq ($(VBOX_LDR_FMT32),elf)
373 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION
374endif
375ifn1of ($(KBUILD_TARGET), win)
376 tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
377endif
378tstLdrObjR0_LIBS = \
379 $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \
380 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
381ifeq ($(VBOX_LDR_FMT),pe)
382 tstLdrObjR0_LIBS += \
383 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
384 $(TARGET_tstLdr-4Imp)
385endif
386ifeq ($(VBOX_LDR_FMT),lx)
387 tstLdrObjR0_LIBS += \
388 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
389 $(TARGET_tstLdr-4Imp)
390endif
391
392tstLdr-4_TEMPLATE = VBOXR3TSTEXE
393tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp
394tstLdr-4_DEFS = IN_DIS
395tstLdr-4_LIBS = \
396 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
397
398tstLdrLoad_TEMPLATE = VBOXR3TSTEXE
399tstLdrLoad_SOURCES = tstLdrLoad.cpp
400
401tstRTList_TEMPLATE = VBOXR3TSTEXE
402tstRTList_SOURCES = tstRTList.cpp
403
404tstRTLocalIpc_TEMPLATE = VBOXR3TSTEXE
405tstRTLocalIpc_SOURCES = tstRTLocalIpc.cpp
406
407tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE
408tstRTLockValidator_SOURCES = tstRTLockValidator.cpp
409
410tstLog_TEMPLATE = VBOXR3TSTEXE
411tstLog_SOURCES = tstLog.cpp
412
413tstMemAutoPtr_TEMPLATE = VBOXR3TSTEXE
414tstMemAutoPtr_SOURCES = tstMemAutoPtr.cpp
415
416tstRTMemEf_TEMPLATE = VBOXR3TSTEXE
417tstRTMemEf_SOURCES = tstRTMemEf.cpp
418
419tstRTMemCache_TEMPLATE = VBOXR3TSTEXE
420tstRTMemCache_SOURCES = tstRTMemCache.cpp
421
422tstRTMemPool_TEMPLATE = VBOXR3TSTEXE
423tstRTMemPool_SOURCES = tstRTMemPool.cpp
424
425tstRTMemWipe_TEMPLATE = VBOXR3TSTEXE
426tstRTMemWipe_SOURCES = tstRTMemWipe.cpp
427
428tstMove_TEMPLATE = VBOXR3TSTEXE
429tstMove_SOURCES = tstMove.cpp
430
431tstRTMp-1_TEMPLATE = VBOXR3TSTEXE
432tstRTMp-1_SOURCES = tstRTMp-1.cpp
433
434tstRTNetIPv4_TEMPLATE = VBOXR3TSTEXE
435tstRTNetIPv4_SOURCES = tstRTNetIPv4.cpp
436
437tstRTNetIPv6_TEMPLATE = VBOXR3TSTEXE
438tstRTNetIPv6_SOURCES = tstRTNetIPv6.cpp
439
440tstNoCrt-1_TEMPLATE = VBOXR3TSTEXE
441tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES
442tstNoCrt-1_SOURCES = \
443 tstNoCrt-1.cpp \
444 ../common/string/memcpy.asm \
445 ../common/string/mempcpy.asm \
446 ../common/string/memmove.asm \
447 ../common/string/memset.asm \
448 ../common/string/memchr.asm \
449 ../common/string/memcmp.asm \
450 ../common/string/strchr.asm \
451 ../common/string/strcmp.asm \
452 ../common/string/strcpy.asm \
453 ../common/string/strlen.asm
454
455tstOnce_TEMPLATE = VBOXR3TSTEXE
456tstOnce_SOURCES = tstOnce.cpp
457
458tstRTPath_TEMPLATE = VBOXR3TSTEXE
459tstRTPath_SOURCES = tstRTPath.cpp
460
461tstRTPipe_TEMPLATE = VBOXR3TSTEXE
462tstRTPipe_SOURCES = tstRTPipe.cpp
463
464tstRTPoll_TEMPLATE = VBOXR3TSTEXE
465tstRTPoll_SOURCES = tstRTPoll.cpp
466
467tstPrfRT_TEMPLATE = VBOXR3TSTEXE
468tstPrfRT_SOURCES = tstPrfRT.cpp
469
470tstRTPrfIO_TEMPLATE = VBOXR3TSTEXE
471tstRTPrfIO_SOURCES = tstRTPrfIO.cpp
472
473tstRTProcCreateEx_TEMPLATE = VBOXR3TSTEXE
474tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp
475
476tstRTProcCreatePrf_TEMPLATE = VBOXR3TSTEXE
477tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp
478
479tstRTProcQueryUsername_TEMPLATE = VBOXR3TSTEXE
480tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp
481
482tstRTProcWait_TEMPLATE = VBOXR3TSTEXE
483tstRTProcWait_SOURCES = tstRTProcWait.cpp
484
485tstRTProcIsRunningByName_TEMPLATE = VBOXR3TSTEXE
486tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp
487
488tstRand_TEMPLATE = VBOXR3TSTEXE
489tstRand_SOURCES = tstRand.cpp
490
491tstRTReqPool_TEMPLATE = VBOXR3TSTEXE
492tstRTReqPool_SOURCES = tstRTReqPool.cpp
493
494tstRTS3_TEMPLATE = VBOXR3TSTEXE
495tstRTS3_SOURCES = tstRTS3.cpp
496
497tstSemMutex_TEMPLATE = VBOXR3TSTEXE
498tstSemMutex_SOURCES = tstSemMutex.cpp
499
500tstRTSemEventMulti_TEMPLATE = VBOXR3TSTEXE
501tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp
502
503tstRTSemRW_TEMPLATE = VBOXR3TSTEXE
504tstRTSemRW_SOURCES = tstRTSemRW.cpp
505
506tstSemPingPong_TEMPLATE = VBOXR3TSTEXE
507tstSemPingPong_SOURCES = tstSemPingPong.cpp
508
509tstRTSemXRoads_TEMPLATE = VBOXR3TSTEXE
510tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp
511
512tstRTSort_TEMPLATE = VBOXR3TSTEXE
513tstRTSort_SOURCES = tstRTSort.cpp
514
515tstRTStrAlloc_TEMPLATE = VBOXR3TSTEXE
516tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp
517
518tstRTStrCache_TEMPLATE = VBOXR3TSTEXE
519tstRTStrCache_SOURCES = tstRTStrCache.cpp
520
521tstRTStrCatCopy_TEMPLATE = VBOXR3TSTEXE
522tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp
523
524tstRTStrFormat_TEMPLATE = VBOXR3TSTEXE
525tstRTStrFormat_SOURCES = tstRTStrFormat.cpp
526
527tstStrSimplePattern_TEMPLATE = VBOXR3TSTEXE
528tstStrSimplePattern_SOURCES = tstStrSimplePattern.cpp
529
530tstStrToNum_TEMPLATE = VBOXR3TSTEXE
531tstStrToNum_SOURCES = tstStrToNum.cpp
532
533tstRTStrVersion_TEMPLATE = VBOXR3TSTEXE
534tstRTStrVersion_SOURCES = tstRTStrVersion.cpp
535
536tstRTSymlink_TEMPLATE = VBOXR3TSTEXE
537tstRTSymlink_SOURCES = tstRTSymlink.cpp
538
539tstRTSystemQueryDmi_TEMPLATE = VBOXR3TSTEXE
540tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp
541
542tstRTSystemQueryOsInfo_TEMPLATE = VBOXR3TSTEXE
543tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp
544
545tstRTTcp-1_TEMPLATE = VBOXR3TSTEXE
546tstRTTcp-1_SOURCES = tstRTTcp-1.cpp
547
548tstRTTemp_TEMPLATE = VBOXR3TSTEXE
549tstRTTemp_SOURCES = tstRTTemp.cpp
550
551tstRTDirCreateUniqueNumbered_TEMPLATE = VBOXR3TSTEXE
552tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp
553
554tstTermCallbacks_TEMPLATE = VBOXR3TSTEXE
555tstTermCallbacks_SOURCES = tstTermCallbacks.cpp
556
557tstThread-1_TEMPLATE = VBOXR3TSTEXE
558tstThread-1_SOURCES = tstThread-1.cpp
559
560tstRTThreadPoke_TEMPLATE = VBOXR3TSTEXE
561tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp
562
563tstRTThreadExecutionTime_TEMPLATE = VBOXR3TSTEXE
564tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp
565
566tstRTTime_TEMPLATE = VBOXR3TSTEXE
567tstRTTime_SOURCES = tstRTTime.cpp
568
569tstTime-2_TEMPLATE = VBOXR3TSTEXE
570tstTime-2_SOURCES = tstTime-2.cpp
571
572tstTime-3_TEMPLATE = VBOXR3TSTEXE
573tstTime-3_SOURCES = tstTime-3.cpp
574
575tstTime-4_TEMPLATE = VBOXR3TSTEXE
576tstTime-4_SOURCES = tstTime-4.cpp
577
578tstTimer_TEMPLATE = VBOXR3TSTEXE
579tstTimer_SOURCES = tstTimer.cpp
580
581tstTimerLR_TEMPLATE = VBOXR3TSTEXE
582tstTimerLR_SOURCES = tstTimerLR.cpp
583
584tstRTTimeSpec_TEMPLATE = VBOXR3TSTEXE
585tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp
586
587tstTSC_SOURCES = tstTSC.cpp
588tstTSC_CXXFLAGS.linux += -O3
589
590tstRTUuid_TEMPLATE = VBOXR3TSTEXE
591tstRTUuid_SOURCES = tstRTUuid.cpp
592
593tstUtf8_TEMPLATE = VBOXR3TSTEXE
594tstUtf8_SOURCES = tstUtf8.cpp
595
596tstRTCircBuf_TEMPLATE = VBOXR3TSTEXE
597tstRTCircBuf_SOURCES = tstRTCircBuf.cpp
598
599tstRTManifest_TEMPLATE = VBOXR3TSTEXE
600tstRTManifest_SOURCES = tstRTManifest.cpp
601
602tstRTUri_TEMPLATE = VBOXR3TSTEXE
603tstRTUri_SOURCES = tstRTUri.cpp
604
605tstRTCoreDump_TEMPLACE = VBOXR3TSTEXE
606tstRTCoreDump_SOURCES = tstRTCoreDump.cpp
607
608tstVector_TEMPLATE = VBOXR3TSTEXE
609tstVector_SOURCES = tstVector.cpp
610
611
612tstRTZip_TEMPLATE = VBOXR3TSTEXE
613tstRTZip_SOURCES = tstRTZip.cpp
614
615
616#
617# Ring-0 testcases.
618#
619
620## @todo create a template for compiling the ring-0 part.
621tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0
622tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE)
623tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0
624tstRTR0DbgKrnlInfo_SYSSUFF = .r0
625tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp
626tstRTR0DbgKrnlInfo_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
627if1of ($(VBOX_LDR_FMT), pe lx)
628 tstRTR0DbgKrnlInfo_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
629endif
630tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBOXR3TSTEXE
631tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp
632
633
634tstRTR0MemUserKernel_TEMPLATE = VBoxR0
635tstRTR0MemUserKernel_INST = $(INST_TESTCASE)
636tstRTR0MemUserKernel_DEFS = IN_RT_R0
637tstRTR0MemUserKernel_SYSSUFF = .r0
638tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp
639tstRTR0MemUserKernel_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
640if1of ($(VBOX_LDR_FMT), pe lx)
641 tstRTR0MemUserKernel_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
642endif
643tstRTR0MemUserKernelDriver_TEMPLATE = VBOXR3TSTEXE
644tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp
645
646
647tstRTR0SemMutex_TEMPLATE = VBoxR0
648tstRTR0SemMutex_INST = $(INST_TESTCASE)
649tstRTR0SemMutex_DEFS = IN_RT_R0
650tstRTR0SemMutex_SYSSUFF = .r0
651tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp
652tstRTR0SemMutex_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
653if1of ($(VBOX_LDR_FMT), pe lx)
654 tstRTR0SemMutex_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
655endif
656tstRTR0SemMutexDriver_TEMPLATE = VBOXR3TSTEXE
657tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp
658
659
660tstRTR0Timer_TEMPLATE = VBoxR0
661tstRTR0Timer_INST = $(INST_TESTCASE)
662tstRTR0Timer_DEFS = IN_RT_R0
663tstRTR0Timer_SYSSUFF = .r0
664tstRTR0Timer_SOURCES = tstRTR0Timer.cpp
665tstRTR0Timer_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
666if1of ($(VBOX_LDR_FMT), pe lx)
667 tstRTR0Timer_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
668endif
669tstRTR0TimerDriver_TEMPLATE = VBOXR3TSTEXE
670tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp
671
672
673tstR0ThreadPreemption_TEMPLATE = VBoxR0
674tstR0ThreadPreemption_INST = $(INST_TESTCASE)
675tstR0ThreadPreemption_DEFS = IN_RT_R0
676tstR0ThreadPreemption_SYSSUFF = .r0
677tstR0ThreadPreemption_SOURCES = tstR0ThreadPreemption.cpp
678tstR0ThreadPreemption_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
679if1of ($(VBOX_LDR_FMT), pe lx)
680 tstR0ThreadPreemption_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
681endif
682tstR0ThreadPreemptionDriver_TEMPLATE = VBOXR3TSTEXE
683tstR0ThreadPreemptionDriver_SOURCES = tstR0ThreadPreemptionDriver.cpp
684
685
686#
687# Odds and ends.
688#
689
690tstDarwinSched_TEMPLATE = VBOXR3TSTEXE
691tstDarwinSched_SOURCES = tstDarwinSched.cpp
692
693tstRTDarwinMachKernel_TEMPLATE = VBOXR3TSTEXE
694tstRTDarwinMachKernel_INCS = ../include
695tstRTDarwinMachKernel_SOURCES = \
696 tstRTDarwinMachKernel.cpp \
697 ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp
698
699ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp
700ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
701
702endif # VBOX_WITH_TESTCASES
703
704include $(FILE_KBUILD_SUB_FOOTER)
705
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