Makefile.kmk revision e1ea3023f7801c859836e8d0f329621bebe552cc
1008N/A# $Id$
1008N/A## @file
1008N/A# Makefile for the Windows guest video driver.
1008N/A#
1008N/A
1008N/A#
1008N/A# Copyright (C) 2011-2012 Oracle Corporation
1008N/A#
1008N/A# This file is part of VirtualBox Open Source Edition (OSE), as
1008N/A# available from http://www.virtualbox.org. This file is free software;
1008N/A# you can redistribute it and/or modify it under the terms of the GNU
1008N/A# General Public License (GPL) as published by the Free Software
1008N/A# Foundation, in version 2 as it comes in the "COPYING" file of the
1008N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1008N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1008N/A#
1008N/A
1008N/ASUB_DEPTH = ../../../../../..
1008N/Ainclude $(KBUILD_PATH)/subheader.kmk
1008N/A
1008N/A# Include sub-makefiles.
1008N/Ainclude $(PATH_SUB_CURRENT)/mp/Makefile.kmk
1008N/Ainclude $(PATH_SUB_CURRENT)/disp/Makefile.kmk
1008N/A
1008N/A#
1008N/A# Install the inf & cat.
1008N/A# This has to be done here since it depends on both the
1008N/A# miniport driver and the display dll.
1008N/A#
1008N/AINSTALLS += VBoxVideo-inf
1008N/AVBoxVideo-inf_INST = $(INST_ADDITIONS)
1008N/AVBoxVideo-inf_MODE = a+r,u+w
1008N/AVBoxVideo-inf_SOURCES = \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf
1008N/Aifdef VBOX_SIGN_ADDITIONS
1008N/AVBoxVideo-inf_SOURCES += \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat
1008N/Aendif # signing
1008N/AVBoxVideo-inf_CLEAN = $(VBoxVideo-inf_SOURCES)
1008N/AVBoxVideo-inf_BLDDIRS = \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir
1008N/A
1008N/A$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf: $(PATH_SUB_CURRENT)/mp/xpdm/VBoxVideo.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
1008N/A $(call MSG_GENERATE,VBoxVideo-inf,$@,$<)
1008N/A $(call VBOX_EDIT_INF_FN,$<,$@)
1008N/A
1008N/A$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@)
1008N/A $(INSTALL) -m 644 $< $(@D)
1008N/A
1008N/A$(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@)
1008N/A $(INSTALL) -m 644 $< $(@D)
1008N/A
1008N/A$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat: \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \
1008N/A $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll
1008N/A $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<)
1008N/A $(call VBOX_MAKE_CAT_FN, $(@D),$@)
1008N/A
1008N/Aifdef VBOX_WITH_WDDM
1008N/AVBOXWDDM_WITH_DISPD3D = 1
1008N/A ifdef VBOX_WITH_CROGL
1008N/A VBOXWDDM_WITH_GL = 1
1008N/A endif
1008N/A
1008N/A#
1008N/A# Install the inf & cat.
1008N/A# This has to be done here since it depends on both the
1008N/A# miniport driver and the display dll.
1008N/A#
1008N/AINSTALLS += VBoxVideoWddm-inf
1008N/AVBoxVideoWddm-inf_INST = $(INST_ADDITIONS)
1008N/AVBoxVideoWddm-inf_MODE = a+r,u+w
1008N/AVBoxVideoWddm-inf_SOURCES = \
1008N/A $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf
1008N/Aifdef VBOX_SIGN_ADDITIONS
1008N/AVBoxVideoWddm-inf_SOURCES += \
1008N/A $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys \
1008N/A $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.cat
1008N/A
ifdef VBOXWDDM_WITH_DISPD3D
VBoxVideoWddm-inf_SOURCES += \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll
VBoxVideoWddm-inf_SOURCES.amd64 += \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll
endif # VBOXWDDM_WITH_DISPD3D
ifdef VBOXWDDM_WITH_GL
VBoxVideoWddm-inf_SOURCES += \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll
VBoxVideoWddm-inf_SOURCES.amd64 += \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll
endif # VBOXWDDM_WITH_GL
endif # signing
VBoxVideoWddm-inf_CLEAN = $(VBoxVideoWddm-inf_SOURCES)
VBoxVideoWddm-inf_BLDDIRS = \
$(PATH_TARGET)/VBoxVideoWddmCat.dir
VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG = $(if $(VBOXWDDM_WITH_DISPD3D),-e 's/^;dispd3d *//', -e '/^;dispd3d /d')
VBOXWDDM_EDIT_INF_GL_FN_ARG = $(if $(VBOXWDDM_WITH_GL),-e 's/^;gl *//', -e '/^;gl /d')
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf: $(PATH_SUB_CURRENT)/mp/wddm/VBoxVideoWddm.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
$(call MSG_GENERATE,VBoxVideoWddm-inf,$@,$<)
$(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDM_EDIT_INF_GL_FN_ARG))
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys: $$(VBoxVideoWddm_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
ifdef VBOXWDDM_WITH_DISPD3D
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll: $$(VBoxDispD3D_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
ifeq ($(KBUILD_TARGET_ARCH),amd64)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll: $$(VBoxDispD3D-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
endif # ($(KBUILD_TARGET_ARCH), amd64)
endif # VBOXWDDM_WITH_DISPD3D
ifdef VBOXWDDM_WITH_GL
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll: $$(VBoxOGL_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll: $$(VBoxD3D9wddm_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll: $$(wined3dwddm_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll: $$(VBoxOGLarrayspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll: $$(VBoxOGLcrutil_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll: $$(VBoxOGLerrorspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll: $$(VBoxOGLfeedbackspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll: $$(VBoxOGLpackspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll: $$(VBoxOGLpassthroughspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
ifeq ($(KBUILD_TARGET_ARCH), amd64)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll: $$(VBoxOGL-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll: $$(VBoxD3D9wddm-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll: $$(wined3dwddm-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll: $$(VBoxOGLarrayspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll: $$(VBoxOGLcrutil-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll: $$(VBoxOGLerrorspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll: $$(VBoxOGLfeedbackspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll: $$(VBoxOGLpackspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll: $$(VBoxOGLpassthroughspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
endif # ($(KBUILD_TARGET_ARCH), amd64)
endif # VBOXWDDM_WITH_GL
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.cat: \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys \
$(if $(VBOXWDDM_WITH_DISPD3D), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll, ) \
$(if $(VBOXWDDM_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll, ), ) \
$(if $(VBOXWDDM_WITH_GL), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll, ) \
$(if $(VBOXWDDM_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll, ), )
$(call MSG_TOOL,Inf2Cat,VBoxVideoWddm-inf,$@,$<)
$(call VBOX_MAKE_CAT_FN, $(@D),$@)
ifdef VBOX_WDDM_WIN8
VBOXWDDMW8_WITH_DISPD3D = 1
ifdef VBOX_WITH_CROGL
VBOXWDDMW8_WITH_GL = 1
endif
INSTALLS += VBoxVideoW8-inf
VBoxVideoW8-inf_INST = $(INST_ADDITIONS)
VBoxVideoW8-inf_MODE = a+r,u+w
VBoxVideoW8-inf_SOURCES = \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf
ifdef VBOX_SIGN_ADDITIONS
VBoxVideoW8-inf_SOURCES += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.cat
if defined(VBOXWDDMW8_WITH_DISPD3D) && !defined(VBOXWDDM_WITH_DISPD3D)
VBoxVideoW8-inf_SOURCES += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll
VBoxVideoW8-inf_SOURCES.amd64 += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll
endif # VBOXWDDMW8_WITH_DISPD3D
if defined(VBOXWDDMW8_WITH_GL) && !defined(VBOXWDDM_WITH_GL)
VBoxVideoW8-inf_SOURCES += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll
VBoxVideoW8-inf_SOURCES.amd64 += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll
endif # VBOXWDDMW8_WITH_GL
endif # signing
VBoxVideoW8-inf_CLEAN = $(VBoxVideoW8-inf_SOURCES)
if defined(VBOXWDDMW8_WITH_DISPD3D) && defined(VBOXWDDM_WITH_DISPD3D)
VBoxVideoW8-inf_CLEAN += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll
endif
if defined(VBOXWDDMW8_WITH_GL) && !defined(VBOXWDDM_WITH_GL)
VBoxVideoW8-inf_CLEAN += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll
VBoxVideoW8-inf_CLEAN.amd64 += \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll
endif
VBoxVideoW8-inf_BLDDIRS = \
$(PATH_TARGET)/VBoxVideoW8Cat.dir
VBOXWDDMW8_EDIT_INF_DISPD3D_FN_ARG = $(if $(VBOXWDDMW8_WITH_DISPD3D),-e 's/^;dispd3d *//', -e '/^;dispd3d /d')
VBOXWDDMW8_EDIT_INF_GL_FN_ARG = $(if $(VBOXWDDMW8_WITH_GL),-e 's/^;gl *//', -e '/^;gl /d')
VBOXWDDMW8_EDIT_INF_ICD_FN_ARG = $(if $(VBOXWDDMW8_WITH_ICD),-e 's/^;icd *//', -e '/^;icd /d')
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf: $(PATH_SUB_CURRENT)/mp/wddm/VBoxVideoW8.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
$(call MSG_GENERATE,VBoxVideoW8-inf,$@,$<)
$(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDMW8_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDMW8_EDIT_INF_GL_FN_ARG) $(VBOXWDDMW8_EDIT_INF_ICD_FN_ARG))
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys: $$(VBoxVideoW8_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
ifdef VBOXWDDMW8_WITH_DISPD3D
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll: $$(VBoxDispD3D_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
ifeq ($(KBUILD_TARGET_ARCH),amd64)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll: $$(VBoxDispD3D-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
endif # ($(KBUILD_TARGET_ARCH), amd64)
endif # VBOXWDDMW8_WITH_DISPD3D
ifdef VBOXWDDMW8_WITH_GL
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll: $$(VBoxOGL_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll: $$(VBoxD3D9wddm_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll: $$(wined3dwddm_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll: $$(VBoxOGLarrayspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll: $$(VBoxOGLcrutil_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll: $$(VBoxOGLerrorspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll: $$(VBoxOGLfeedbackspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll: $$(VBoxOGLpackspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll: $$(VBoxOGLpassthroughspu_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
ifeq ($(KBUILD_TARGET_ARCH), amd64)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll: $$(VBoxOGL-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll: $$(VBoxD3D9wddm-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll: $$(wined3dwddm-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll: $$(VBoxOGLarrayspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll: $$(VBoxOGLcrutil-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll: $$(VBoxOGLerrorspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll: $$(VBoxOGLfeedbackspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll: $$(VBoxOGLpackspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll: $$(VBoxOGLpassthroughspu-x86_1_TARGET) | $$(dir $$@)
$(INSTALL) -m 644 $< $(@D)
endif # ($(KBUILD_TARGET_ARCH), amd64)
endif # VBOXWDDMW8_WITH_GL
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.cat: \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys \
$(if $(VBOXWDDMW8_WITH_DISPD3D), $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll, ) \
$(if $(VBOXWDDMW8_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll, ), ) \
$(if $(VBOXWDDMW8_WITH_GL), $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll, ) \
$(if $(VBOXWDDMW8_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll, ), )
$(call MSG_TOOL,Inf2Cat,VBoxVideoW8-inf,$@,$<)
$(call VBOX_MAKE_CAT_FN, $(@D),$@)
endif # VBOX_WDDM_WIN8
endif # VBOX_WITH_WDDM
include $(FILE_KBUILD_SUB_FOOTER)