1 | # $Id: Makefile.kmk 106061 2024-09-16 14:03:52Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # VirtualBox Validation Kit - Windows NT Specific Utilities.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2010-2024 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # The contents of this file may alternatively be used under the terms
|
---|
26 | # of the Common Development and Distribution License Version 1.0
|
---|
27 | # (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
28 | # in the VirtualBox distribution, in which case the provisions of the
|
---|
29 | # CDDL are applicable instead of those of the GPL.
|
---|
30 | #
|
---|
31 | # You may elect to license modified versions of this file under the
|
---|
32 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
33 | #
|
---|
34 | # SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
35 | #
|
---|
36 |
|
---|
37 | SUB_DEPTH = ../../../../..
|
---|
38 | include $(KBUILD_PATH)/subheader.kmk
|
---|
39 |
|
---|
40 | #
|
---|
41 | # Set Clock Frequency Utility.
|
---|
42 | #
|
---|
43 | PROGRAMS.win += ntSetFreq
|
---|
44 | ntSetFreq_TEMPLATE = VBoxValidationKitR3
|
---|
45 | ntSetFreq_SOURCES = ntsetfreq.cpp
|
---|
46 | ntSetFreq_VBOX_IMPORT_CHECKER.win.x86 = nt350
|
---|
47 |
|
---|
48 | #
|
---|
49 | # Test coherency among NT time sources.
|
---|
50 | #
|
---|
51 | PROGRAMS.win += ntTimeSources
|
---|
52 | ntTimeSources_TEMPLATE = VBoxValidationKitR3
|
---|
53 | ntTimeSources_SOURCES = nttimesources.cpp
|
---|
54 |
|
---|
55 | #
|
---|
56 | # Test NtFlushVirtualMemory.
|
---|
57 | #
|
---|
58 | PROGRAMS.win += ntFlushVirtualMemory
|
---|
59 | ntFlushVirtualMemory_TEMPLATE = VBoxValidationKitR3
|
---|
60 | ntFlushVirtualMemory_SOURCES = ntFlushVirtualMemory.cpp
|
---|
61 |
|
---|
62 | #
|
---|
63 | # Test Display device and 3D rendering.
|
---|
64 | #
|
---|
65 | PROGRAMS.win += ntDisplay
|
---|
66 | ntDisplay_TEMPLATE = VBoxValidationKitR3
|
---|
67 | # -wd4668: winioctl.h(lots of strings): '_WIN32_WINNT_WIN10_RS5' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
|
---|
68 | # -wd5039: winbase.h(7722): 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc
|
---|
69 | ntDisplay_CXXFLAGS += -wd5039 -wd4668
|
---|
70 | ntDisplay_LIBS = d3d11.lib
|
---|
71 | ntDisplay_SOURCES = ntDisplay.cpp
|
---|
72 | ntDisplay_VBOX_IMPORT_CHECKER.win.amd64 = w8
|
---|
73 | ntDisplay_VBOX_IMPORT_CHECKER.win.x86 = w8
|
---|
74 |
|
---|
75 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
76 |
|
---|