1 | # $Id: Makefile.kmk 93433 2022-01-24 22:24:33Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # VirtualBox Validation Kit - CPU Test Utilities.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2009-2022 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 |
|
---|
27 | SUB_DEPTH = ../../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 | if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
|
---|
31 | PROGRAMS += xmmsaving
|
---|
32 | xmmsaving_TEMPLATE = VBoxValidationKitR3
|
---|
33 | xmmsaving_SOURCES = xmmsaving.cpp xmmsaving-asm.asm
|
---|
34 | endif
|
---|
35 |
|
---|
36 | if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
|
---|
37 | PROGRAMS += exceptionsR3
|
---|
38 | exceptionsR3_TEMPLATE = VBoxValidationKitR3
|
---|
39 | exceptionsR3_SOURCES = exceptionsR3.cpp exceptionsR3-asm.asm
|
---|
40 | endif
|
---|
41 |
|
---|
42 | PROGRAMS += cpu-numa
|
---|
43 | cpu-numa_TEMPLATE = VBoxValidationKitR3
|
---|
44 | cpu-numa_SOURCES = cpu-numa.cpp
|
---|
45 |
|
---|
46 | PROGRAMS += cpu-alloc-all-mem
|
---|
47 | cpu-alloc-all-mem_TEMPLATE = VBoxValidationKitR3
|
---|
48 | cpu-alloc-all-mem_SOURCES = cpu-alloc-all-mem.cpp
|
---|
49 |
|
---|
50 | if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
|
---|
51 | ifneq ($(KBUILD_HOST),os2)
|
---|
52 | PROGRAMS += cidet-app
|
---|
53 | endif
|
---|
54 | cidet-app_TEMPLATE = VBoxValidationKitR3
|
---|
55 | cidet-app_SOURCES = \
|
---|
56 | cidet-app.cpp \
|
---|
57 | cidet-appA.asm \
|
---|
58 | cidet-core.cpp \
|
---|
59 | cidet-instr-1.cpp
|
---|
60 | cidet-app_DEFS = IN_DIS
|
---|
61 | cidet-app_DEFS.linux = CIDET_REDUCED_CTX
|
---|
62 | cidet-app_LIBS = $(PATH_STAGE_LIB)/DisasmR3Static$(VBOX_SUFF_LIB)
|
---|
63 | cidet-app_VBOX_IMPORT_CHECKER.win.x86 = $(NO_SUCH_VARIABLE) # doesn't work on NT4 yet.
|
---|
64 | endif
|
---|
65 |
|
---|
66 | if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
|
---|
67 | PROGRAMS += rdtsc
|
---|
68 | rdtsc_TEMPLATE = VBoxValidationKitR3
|
---|
69 | rdtsc_SOURCES = rdtsc.cpp rdtsc-asm.asm
|
---|
70 | endif
|
---|
71 |
|
---|
72 |
|
---|
73 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
74 |
|
---|