1 | # $Id: Makefile.kmk 95148 2022-05-31 16:55:16Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for D3D11 shader compilation.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 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 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | OTHERS += \
|
---|
22 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl.vs.h \
|
---|
23 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl.ps.h
|
---|
24 | OTHERS_CLEAN += \
|
---|
25 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl.vs.h \
|
---|
26 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl.ps.h
|
---|
27 |
|
---|
28 | VBOX_FXC ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/fxc.exe
|
---|
29 |
|
---|
30 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl.vs.h: \
|
---|
31 | $(PATH_SUB_CURRENT)/Makefile.kmk \
|
---|
32 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl
|
---|
33 | $(VBOX_FXC) /nologo /Fhd3d11blitter.hlsl.vs.h /Evs_blitter /Tvs_5_0 d3d11blitter.hlsl
|
---|
34 |
|
---|
35 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl.ps.h: \
|
---|
36 | $(PATH_SUB_CURRENT)/Makefile.kmk \
|
---|
37 | $(PATH_SUB_CURRENT)/d3d11blitter.hlsl
|
---|
38 | $(VBOX_FXC) /nologo /Fhd3d11blitter.hlsl.ps.h /Eps_blitter /Tps_5_0 d3d11blitter.hlsl
|
---|
39 |
|
---|
40 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|