Makefile.kmk revision 3c5c04d7b0973be0757addef8ba44b9352b38386
af062818b47340eef15700d2f0211576ba3506eevboxsync# $Id$
af062818b47340eef15700d2f0211576ba3506eevboxsync## @file
af062818b47340eef15700d2f0211576ba3506eevboxsync# Makefile for the Wine D3D related dlls for VirtualBox.
af062818b47340eef15700d2f0211576ba3506eevboxsync#
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync# Copyright (C) 2009 Oracle Corporation
af062818b47340eef15700d2f0211576ba3506eevboxsync#
af062818b47340eef15700d2f0211576ba3506eevboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
af062818b47340eef15700d2f0211576ba3506eevboxsync# available from http://www.virtualbox.org. This file is free software;
af062818b47340eef15700d2f0211576ba3506eevboxsync# you can redistribute it and/or modify it under the terms of the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync# General Public License (GPL) as published by the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
af062818b47340eef15700d2f0211576ba3506eevboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
af062818b47340eef15700d2f0211576ba3506eevboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
af062818b47340eef15700d2f0211576ba3506eevboxsync#
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsyncSUB_DEPTH = ../../../../../..
af062818b47340eef15700d2f0211576ba3506eevboxsyncinclude $(KBUILD_PATH)/subheader.kmk
af062818b47340eef15700d2f0211576ba3506eevboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync# @todo: get rid of libwine completely (currently used for xpdm.x86 builds only)
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncDLLS.x86 += libWine
af062818b47340eef15700d2f0211576ba3506eevboxsync
912b8dafdda09a31ee01d57d31afc4df96b80218vboxsynclibWine_TEMPLATE = VBOXGUESTR3NPDLL
af062818b47340eef15700d2f0211576ba3506eevboxsynclibWine_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL __i386__ \
af062818b47340eef15700d2f0211576ba3506eevboxsync DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BINDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_BINDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BIN_TO_DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_DATADIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BIN_TO_DATADIR=\"\"
af062818b47340eef15700d2f0211576ba3506eevboxsynclibWine_INCS := $(PATH_SUB_CURRENT)/include
af062818b47340eef15700d2f0211576ba3506eevboxsynclibWine_SOURCES := \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/wine.def \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/casemap.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/collation.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/compose.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/config.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/cptable.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/debug.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/fold.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/ldt.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/loader.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/mbtowc.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/mmap.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/port.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/sortkey.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/string.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/utf8.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/wctomb.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/wctype.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_037.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_424.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_437.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_500.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_737.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_775.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_850.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_852.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_855.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_856.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_857.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_860.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_861.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_862.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_863.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_864.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_865.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_866.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_869.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_874.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_875.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_878.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_932.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_936.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_949.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_950.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1006.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1026.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1250.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1251.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1252.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1253.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1254.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1255.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1256.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1257.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1258.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_1361.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_10000.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_10006.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_10007.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_10029.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_10079.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_10081.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_20127.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_20866.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_20932.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_21866.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28591.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28592.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28593.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28594.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28595.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28596.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28597.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28598.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28599.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28600.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28603.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28604.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28605.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/c_28606.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync libWine/version.c
af062818b47340eef15700d2f0211576ba3506eevboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncDLLS += wined3d
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync# @todo: all .amd64 and .x86 stuff below is to get rid of libwine for amd64
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync# and keep it for .x86 to avoid regressions
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync# this should be generalized in the future
af062818b47340eef15700d2f0211576ba3506eevboxsyncwined3d_TEMPLATE = VBOXGUESTR3NPDLL
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL _USE_MATH_DEFINES\
af062818b47340eef15700d2f0211576ba3506eevboxsync DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BINDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_BINDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BIN_TO_DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_DATADIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BIN_TO_DATADIR=\"\"
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_DEFS.x86 = __i386__
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncif "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS)
8daece1012c8dac65e6b148c77e189161ffc43f1vboxsync wined3d_DEFS += WINE_NO_DEBUG_MSGS
46113b5ae4abd2f36a62014a724179e55e5b3f75vboxsyncendif
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_DEFS.amd64 += VBOX_WINE_WITHOUT_LIBWINE
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_INCS.x86 := $(PATH_SUB_CURRENT)/include
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_INCS.amd64 := vbox/libWineStub/include
af062818b47340eef15700d2f0211576ba3506eevboxsyncwined3d_SOURCES := \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/arb_program_shader.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/ati_fragment_shader.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync wined3d/basetexture.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync wined3d/buffer.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/clipper.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/context.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/cubetexture.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/device.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/directx.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/drawprim.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync wined3d/gl_compat.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/glsl_shader.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/nvidia_texture_shader.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/palette.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/query.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/resource.c \
5112e32d7072e280613921c982a6672f2c859cf3vboxsync wined3d/shader.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync wined3d/shader_sm1.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync wined3d/shader_sm4.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/state.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/stateblock.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/surface_base.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/surface.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/surface_gdi.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/swapchain.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/swapchain_gdi.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/swapchain_base.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/texture.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/utils.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/vertexdeclaration.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync wined3d/view.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/volume.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/volumetexture.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/wined3d_main.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync wined3d/wined3d.def
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_SOURCES.amd64 = vbox/libWineStub/debug.c
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_LIBS.x86 = \
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync $(PATH_STAGE_LIB)/libWine$(VBOX_SUFF_LIB)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3d_SDKS.amd64 = WINDDKWLH
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncifdef VBOX_WITH_WDDM
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsyncDLLS += wined3dwddm
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_EXTENDS = wined3d
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync wined3dwddm_NOINST.win = true
0412c212ede05017a46044b407f58c82374f6fe4vboxsyncendif
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_INCS = vbox/libWineStub/include
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_INCS.x86 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_LIBS.x86 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_DEFS = $(subst __i386__,,$(wined3d_DEFS)) VBOX_WITH_WDDM VBOX_WINE_WITHOUT_LIBWINE
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_DEFS.x86 = $(NO_SUCH_VARIABLE)
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncwined3dwddm_SOURCES = $(subst wined3d.def,wined3dwddm.def,$(wined3d_SOURCES)) vbox/libWineStub/debug.c wined3d/vboxext.c
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_SOURCES.x86 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_SOURCES.amd64 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_SDKS = WINDDKWLH
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm_SDKS.amd64 = $(NO_SUCH_VARIABLE)
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync#VBOX_WINE_WITH_IPRT is used for debugging currently to enable Assert & stuff
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsyncifdef VBOX_WINE_WITH_IPRT
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsyncwined3dwddm_LIBS += \
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync $(VBOX_LIB_IPRT_GUEST_R3) \
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync $(VBOX_LIB_VBGL_R3)
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsyncwined3dwddm_DEFS += VBOX_WINE_WITH_IPRT
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsyncendif
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncifdef VBOX_WINE_WITH_SINGLE_CONTEXT
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncwined3dwddm_DEFS += VBOX_WINE_WITH_SINGLE_CONTEXT
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncendif
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncDLLS.amd64 += wined3dwddm-x86
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm-x86_EXTENDS = wined3dwddm
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncwined3dwddm-x86_BLD_TRG_ARCH = x86
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsyncifdef VBOX_WINE_WITH_IPRT
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsyncwined3dwddm-x86_LIBS = \
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync $(VBOX_LIB_IPRT_GUEST_R3_X86) \
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsync $(VBOX_LIB_VBGL_R3_X86)
2ecff1c2f70f10cf06821afc18116b764c53fb5evboxsyncendif
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncwined3dwddm-x86_DEFS = $(wined3dwddm_DEFS) VBOX_WDDM_WOW64
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsyncendif
af062818b47340eef15700d2f0211576ba3506eevboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncDLLS += VBoxD3D8
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncVBoxD3D8_TEMPLATE = VBOXGUESTR3NPDLL
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL _USE_MATH_DEFINES\
af062818b47340eef15700d2f0211576ba3506eevboxsync DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BINDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_BINDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BIN_TO_DLLDIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync LIB_TO_DATADIR=\"\" \
af062818b47340eef15700d2f0211576ba3506eevboxsync BIN_TO_DATADIR=\"\"
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_DEFS.x86 = __i386__
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncif "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS)
8daece1012c8dac65e6b148c77e189161ffc43f1vboxsync VBoxD3D8_DEFS += WINE_NO_DEBUG_MSGS
46113b5ae4abd2f36a62014a724179e55e5b3f75vboxsyncendif
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_DEFS.amd64 += VBOX_WINE_WITHOUT_LIBWINE
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_INCS.x86 := $(PATH_SUB_CURRENT)/include
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_INCS.amd64 := vbox/libWineStub/include
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncVBoxD3D8_SOURCES := \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/cubetexture.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/d3d8_main.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/device.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/directx.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/indexbuffer.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/pixelshader.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/surface.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/swapchain.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/texture.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/vertexbuffer.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/vertexdeclaration.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/vertexshader.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/volume.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/volumetexture.c \
af062818b47340eef15700d2f0211576ba3506eevboxsync d3d8/d3d8.def
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_LIBS.x86 = \
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync $(PATH_STAGE_LIB)/libWine$(VBOX_SUFF_LIB)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_LIBS = \
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync $(PATH_STAGE_LIB)/wined3d$(VBOX_SUFF_LIB)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_SOURCES.amd64 = vbox/libWineStub/debug.c
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D8_SDKS.amd64 = WINDDKWLH
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncDLLS += VBoxD3D9
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncVBoxD3D9_TEMPLATE = VBOXGUESTR3NPDLL
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL _USE_MATH_DEFINES\
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync DLLDIR=\"\" \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync BINDIR=\"\" \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync LIB_TO_BINDIR=\"\" \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync LIB_TO_DLLDIR=\"\" \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync BIN_TO_DLLDIR=\"\" \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync LIB_TO_DATADIR=\"\" \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync BIN_TO_DATADIR=\"\"
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9_DEFS.x86 = __i386__
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncif "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS)
efc2dd03ce4c5327b18fd0493dde207135d4cc6evboxsync VBoxD3D9_DEFS += WINE_NO_DEBUG_MSGS
46113b5ae4abd2f36a62014a724179e55e5b3f75vboxsyncendif
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9_DEFS.amd64 += VBOX_WINE_WITHOUT_LIBWINE
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9_INCS.x86 := $(PATH_SUB_CURRENT)/include
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9_INCS.amd64 := vbox/libWineStub/include
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncVBoxD3D9_SOURCES := \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/cubetexture.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/d3d9_main.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/device.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/directx.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/indexbuffer.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/pixelshader.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/query.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/stateblock.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/surface.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/swapchain.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/texture.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/vertexbuffer.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/vertexdeclaration.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/vertexshader.c \
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync d3d9/volume.c \
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync d3d9/volumetexture.c
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync
c956475d30580345549e914629db5a9535a01bfbvboxsyncVBoxD3D9_SOURCES.x86 = \
c956475d30580345549e914629db5a9535a01bfbvboxsync d3d9/d3d9.def
c956475d30580345549e914629db5a9535a01bfbvboxsyncVBoxD3D9_SOURCES.amd64 = \
c956475d30580345549e914629db5a9535a01bfbvboxsync vbox/libWineStub/debug.c \
c956475d30580345549e914629db5a9535a01bfbvboxsync d3d9/d3d9xpdm.def
c956475d30580345549e914629db5a9535a01bfbvboxsyncVBoxD3D9_LIBS.x86 = \
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync $(PATH_STAGE_LIB)/libWine$(VBOX_SUFF_LIB)
c956475d30580345549e914629db5a9535a01bfbvboxsyncVBoxD3D9_LIBS = \
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync $(PATH_STAGE_LIB)/wined3d$(VBOX_SUFF_LIB)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9_SDKS.amd64 = WINDDKWLH
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncifdef VBOX_WITH_WDDM
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsyncDLLS += VBoxD3D9wddm
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_EXTENDS = VBoxD3D9
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync VBoxD3D9wddm_NOINST.win = true
0412c212ede05017a46044b407f58c82374f6fe4vboxsyncendif
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_INCS = vbox/libWineStub/include
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_INCS.x86 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_DEFS.x86 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_DEFS += $(subst __i386__,,$(VBoxD3D9_DEFS)) VBOX_WITH_WDDM VBOX_WINE_WITHOUT_LIBWINE IN_VBOXWINEEX
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_SOURCES = $(VBoxD3D9_SOURCES) d3d9/d3d9wddm.def vbox/libWineStub/debug.c
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_SOURCES.x86 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_SOURCES.amd64 = $(NO_SUCH_VARIABLE)
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsyncVBoxD3D9wddm_LIBS = $(PATH_STAGE_LIB)/wined3dwddm$(VBOX_SUFF_LIB)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_LIBS.x86 = $(NO_SUCH_VARIABLE)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_SDKS = WINDDKWLH
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm_SDKS.amd64 = $(NO_SUCH_VARIABLE)
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncifdef VBOX_WINE_WITH_IPRT
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncVBoxD3D9wddm_LIBS += \
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync $(VBOX_LIB_IPRT_GUEST_R3) \
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync $(VBOX_LIB_VBGL_R3)
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncVBoxD3D9wddm_DEFS += VBOX_WINE_WITH_IPRT
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncendif
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsync
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncDLLS.amd64 += VBoxD3D9wddm-x86
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm-x86_EXTENDS = VBoxD3D9wddm
9ee431cac56f7b56e2197f78dae4d469b180be7avboxsyncVBoxD3D9wddm-x86_BLD_TRG_ARCH = x86
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsyncVBoxD3D9wddm-x86_LIBS = $(PATH_STAGE_LIB)/wined3dwddm-x86$(VBOX_SUFF_LIB)
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncVBoxD3D9wddm-x86_DEFS = $(VBoxD3D9wddm_DEFS) VBOX_WDDM_WOW64
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncifdef VBOX_WINE_WITH_IPRT
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncVBoxD3D9wddm-x86_LIBS += \
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync $(VBOX_LIB_IPRT_GUEST_R3_X86) \
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsync $(VBOX_LIB_VBGL_R3_X86)
3c5c04d7b0973be0757addef8ba44b9352b38386vboxsyncendif
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsyncendif
0614bee07b5f88aa8803df43fde6d7185a9a7fffvboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncDLLS += d3d8
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncd3d8_TEMPLATE = VBOXGUESTR3NPDLL
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d8_DEFS.x86 = __i386__
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d8_INCS.x86 := $(PATH_SUB_CURRENT)/include
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncd3d8_SOURCES = \
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync switcher/d3d8_main.c \
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync switcher/sw_common.c \
ce7f3a54dfbfd6e58e1b3b1a8c7749628d408bfevboxsync switcher/sw_d3d8.def \
ce7f3a54dfbfd6e58e1b3b1a8c7749628d408bfevboxsync switcher/d3d8.rc
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d8_SDKS.amd64 = WINDDKWLH
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncDLLS += d3d9
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncd3d9_TEMPLATE = VBOXGUESTR3NPDLL
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d9_DEFS.x86 = __i386__
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d9_INCS.x86 := $(PATH_SUB_CURRENT)/include
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncd3d9_SOURCES = \
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync switcher/d3d9_main.c \
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync switcher/sw_common.c \
ce7f3a54dfbfd6e58e1b3b1a8c7749628d408bfevboxsync switcher/d3d9.rc
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d9_SOURCES.x86 = \
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync switcher/sw_d3d9.def
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d9_SOURCES.amd64 = \
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsync switcher/sw_d3d9xpdm.def
9a5befd0a4c36b07cd78a71dcacfa289fbdc93c7vboxsyncd3d9_SDKS.amd64 = WINDDKWLH
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsync
4ca627b809c47f842ea1e994ae06516fc70ade2avboxsyncinclude $(KBUILD_PATH)/subfooter.kmk