[75443] | 1 | # $Id: Makefile.kmk 101082 2023-09-11 15:53:22Z vboxsync $
|
---|
| 2 | ## @file
|
---|
| 3 | # Makefile for D3D test application.
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[98103] | 7 | # Copyright (C) 2017-2023 Oracle and/or its affiliates.
|
---|
[75443] | 8 | #
|
---|
[96407] | 9 | # This file is part of VirtualBox base platform packages, as
|
---|
| 10 | # available from https://www.virtualbox.org.
|
---|
[75443] | 11 | #
|
---|
[96407] | 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 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
| 26 | #
|
---|
[75443] | 27 |
|
---|
| 28 | SUB_DEPTH = ../../../../../../../../../..
|
---|
| 29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
| 30 |
|
---|
| 31 | PROGRAMS += VBoxGaD3DTest
|
---|
[98138] | 32 | VBoxGaD3DTest_TEMPLATE = VBoxR3Static
|
---|
[75443] | 33 | VBoxGaD3DTest_DEFS = D3DTEST_STANDALONE
|
---|
| 34 | VBoxGaD3DTest_LIBS = d3d9.lib
|
---|
| 35 | VBoxGaD3DTest_SOURCES = \
|
---|
| 36 | d3d9main.cpp \
|
---|
| 37 | d3d9render.cpp \
|
---|
| 38 | d3dhlp.cpp
|
---|
| 39 |
|
---|
| 40 | #
|
---|
| 41 | # 32-bit version of VBoxGaD3DTest.
|
---|
| 42 | #
|
---|
| 43 | PROGRAMS.amd64 += VBoxGaD3DTest-x86
|
---|
| 44 | VBoxGaD3DTest-x86_EXTENDS = VBoxGaD3DTest
|
---|
| 45 | VBoxGaD3DTest-x86_BLD_TRG_ARCH = x86
|
---|
| 46 |
|
---|
[86815] | 47 |
|
---|
| 48 | PROGRAMS += VBoxD3D11
|
---|
[98138] | 49 | VBoxD3D11_TEMPLATE = VBoxR3Static
|
---|
[101082] | 50 | VBoxD3D11_CXXFLAGS += -wd4305 -wd4458 -wd4668 -wd4838 -wd5029 -wd5039
|
---|
[95152] | 51 | VBoxD3D11_INCS += $(PATH_ROOT)/src/VBox/Devices/Graphics/shaders
|
---|
[86815] | 52 | VBoxD3D11_LIBS = d3d11.lib
|
---|
| 53 | VBoxD3D11_SOURCES = \
|
---|
| 54 | d3d11main.cpp \
|
---|
| 55 | d3d11render.cpp
|
---|
| 56 |
|
---|
| 57 | #
|
---|
| 58 | # 32-bit version of VBoxD3D11.
|
---|
| 59 | #
|
---|
| 60 | PROGRAMS.amd64 += VBoxD3D11-x86
|
---|
| 61 | VBoxD3D11-x86_EXTENDS = VBoxD3D11
|
---|
| 62 | VBoxD3D11-x86_BLD_TRG_ARCH = x86
|
---|
| 63 |
|
---|
[75443] | 64 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|