VirtualBox

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

Last change on this file since 47458 was 47085, checked in by vboxsync, 12 years ago

Build fix.

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