VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/utils/cpu/Makefile.kmk@ 93433

Last change on this file since 93433 was 93433, checked in by vboxsync, 3 years ago

ValKit/utils/cpu/Makefile.kmk: Skip utilites with .asm files for non-x86/amd64 targets. bugref:9898

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
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
27SUB_DEPTH = ../../../../..
28include $(KBUILD_PATH)/subheader.kmk
29
30if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
31 PROGRAMS += xmmsaving
32 xmmsaving_TEMPLATE = VBoxValidationKitR3
33 xmmsaving_SOURCES = xmmsaving.cpp xmmsaving-asm.asm
34endif
35
36if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
37 PROGRAMS += exceptionsR3
38 exceptionsR3_TEMPLATE = VBoxValidationKitR3
39 exceptionsR3_SOURCES = exceptionsR3.cpp exceptionsR3-asm.asm
40endif
41
42PROGRAMS += cpu-numa
43cpu-numa_TEMPLATE = VBoxValidationKitR3
44cpu-numa_SOURCES = cpu-numa.cpp
45
46PROGRAMS += cpu-alloc-all-mem
47cpu-alloc-all-mem_TEMPLATE = VBoxValidationKitR3
48cpu-alloc-all-mem_SOURCES = cpu-alloc-all-mem.cpp
49
50if1of ($(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.
64endif
65
66if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
67 PROGRAMS += rdtsc
68 rdtsc_TEMPLATE = VBoxValidationKitR3
69 rdtsc_SOURCES = rdtsc.cpp rdtsc-asm.asm
70endif
71
72
73include $(FILE_KBUILD_SUB_FOOTER)
74
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