# $Id: Makefile.kmk 101255 2023-09-25 15:49:01Z vboxsync $ ## @file # VirtualBox Validation Kit - Windows NT Specific Utilities. # # # Copyright (C) 2010-2023 Oracle and/or its affiliates. # # This file is part of VirtualBox base platform packages, as # available from https://www.virtualbox.org. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation, in version 3 of the # License. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # The contents of this file may alternatively be used under the terms # of the Common Development and Distribution License Version 1.0 # (CDDL), a copy of it is provided in the "COPYING.CDDL" file included # in the VirtualBox distribution, in which case the provisions of the # CDDL are applicable instead of those of the GPL. # # You may elect to license modified versions of this file under the # terms and conditions of either the GPL or the CDDL or both. # # SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 # SUB_DEPTH = ../../../../.. include $(KBUILD_PATH)/subheader.kmk # # Set Clock Frequency Utility. # PROGRAMS.win += ntSetFreq ntSetFreq_TEMPLATE = VBoxValidationKitR3 ntSetFreq_SOURCES = ntsetfreq.cpp ntSetFreq_VBOX_IMPORT_CHECKER.win.x86 = nt350 # # Test coherency among NT time sources. # PROGRAMS.win += ntTimeSources ntTimeSources_TEMPLATE = VBoxValidationKitR3 ntTimeSources_SOURCES = nttimesources.cpp # # Test NtFlushVirtualMemory. # PROGRAMS.win += ntFlushVirtualMemory ntFlushVirtualMemory_TEMPLATE = VBoxValidationKitR3 ntFlushVirtualMemory_SOURCES = ntFlushVirtualMemory.cpp # # Test Display device and 3D rendering. # PROGRAMS.win += ntDisplay ntDisplay_TEMPLATE = VBoxValidationKitR3 # -wd4668: winioctl.h(lots of strings): '_WIN32_WINNT_WIN10_RS5' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' # -wd5039: winbase.h(7722): 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc ntDisplay_CXXFLAGS += -wd5039 -wd4668 ntDisplay_LIBS = d3d11.lib ntDisplay_SOURCES = ntDisplay.cpp ntDisplay_VBOX_IMPORT_CHECKER.win.amd64 = w8 ntDisplay_VBOX_IMPORT_CHECKER.win.x86 = w8 include $(FILE_KBUILD_SUB_FOOTER)