Makefile.kmk revision 10ca321f3be6e9e0ad484f4684cab6532bea20e2
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Sub-Makefile for the VirtualBox Guest/Host OpenGL part
c58f1213e628a545081c70e26c6b67a841cff880vboxsync# Copyright (C) 2008-2013 Oracle Corporation
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# available from http://www.virtualbox.org. This file is free software;
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# you can redistribute it and/or modify it under the terms of the GNU
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# General Public License (GPL) as published by the Free Software
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncSUB_DEPTH = ../../../..
772269936494ffaddd0750ba9e28e805ba81398cvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Target lists.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncBLDDIRS += \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/ \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state/
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncifdef VBOX_WITH_ADDITIONS
fe282a5e69dc51ede2f6ab6f067ae9868ba6a205vboxsync ifn1of ($(KBUILD_TARGET), darwin os2)
fe282a5e69dc51ede2f6ab6f067ae9868ba6a205vboxsync VBOX_WITH_CROGL_ADDITIONS = 1
fe282a5e69dc51ede2f6ab6f067ae9868ba6a205vboxsyncifdef VBOX_WITH_CROGL_ADDITIONS
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync DLLS += VBoxOGLcrutil VBoxOGLerrorspu
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync LIBRARIES += VBoxOGLcrpacker VBoxOGLspuload VBoxOGLcrstate
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncifndef VBOX_ONLY_ADDITIONS
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync DLLS += VBoxOGLhostcrutil VBoxOGLhosterrorspu
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync LIBRARIES += VBoxOGLhostcrpacker VBoxOGLhostspuload VBoxOGLhostcrstate
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsyncVBOX_OGL_X86_COMMON_DLLS = \
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync VBoxOGLcrutil-x86 \
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync VBoxOGLerrorspu-x86
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsyncVBOX_OGL_X86_COMMON_LIBS = \
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync VBoxOGLcrpacker-x86 \
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync VBoxOGLspuload-x86 \
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync VBoxOGLcrstate-x86
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsyncif defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync DLLS.win.amd64 += $(VBOX_OGL_X86_COMMON_DLLS)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsyncif defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync LIBRARIES.win.amd64 += $(VBOX_OGL_X86_COMMON_LIBS)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync# 32-bit version for the 64-bit Linux Additions
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsyncifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync LIBRARIES += $(VBOX_OGL_X86_COMMON_LIBS)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync DLLS += $(VBOX_OGL_X86_COMMON_DLLS)
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync $(foreach i,$(VBOX_OGL_X86_COMMON_DLLS),$(eval $(i)_INST = $(INST_ADDITIONS)/32/))
e4705a15802f8ea5f5113cedd969b3048a82a58fvboxsync $(foreach i,$(VBOX_OGL_X86_COMMON_DLLS),$(eval $(i)_NAME = $(subst -x86,,$(i))))
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLcrutil
91afe8a45492af90be74e8b56d46c8659f827b0bvboxsyncVBoxOGLcrutil_TEMPLATE = VBOXCROGLR3GUESTDLL
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
de4b88070eed3a77d1e5b285a6373124450f8fccvboxsyncVBoxOGLcrutil_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
aae15a3015041f7ed6043344bf4939736254acf6vboxsyncVBoxOGLcrutil_INTERMEDIATES = $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h
e5d3b7a3187d8f891f55aa8fcb5ad3dee90b1e68vboxsyncif1of ($(KBUILD_TARGET), linux solaris freebsd)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLcrutil_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
aae15a3015041f7ed6043344bf4939736254acf6vboxsyncVBoxOGLcrutil_SOURCES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
de4b88070eed3a77d1e5b285a6373124450f8fccvboxsync $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
10ca321f3be6e9e0ad484f4684cab6532bea20e2vboxsync $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib \
10ca321f3be6e9e0ad484f4684cab6532bea20e2vboxsync $(PATH_SDK_$(VBOX_WINDDK)_LIB)/shlwapi.lib
047755364a4a04102a05bb7866966db1ea00110dvboxsyncVBoxOGLcrutil_LIBS = \
75bdcd627a7ab8dfa25135d5d75ec5998962d705vboxsync $(VBOX_LIB_IPRT_GUEST_R3_SHARED) \
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync $(VBOX_LIB_VBGL_R3_SHARED)
10ca321f3be6e9e0ad484f4684cab6532bea20e2vboxsync# Needed by GDEbuger
10ca321f3be6e9e0ad484f4684cab6532bea20e2vboxsyncifdef CR_NO_GL_SYSTEM_PATH
10ca321f3be6e9e0ad484f4684cab6532bea20e2vboxsyncVBoxOGLcrutil_DEFS += CR_NO_GL_SYSTEM_PATH
48729babf1ff9fab8098654bc8c465b5ede56fe7vboxsyncifdef VBOX_WITH_CRHGSMI
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrutil_DEFS.win += VBOX_WITH_CRHGSMI
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrutil_LIBS.win += $(VBOX_PATH_ADDITIONS_LIB)/VBoxCrHgsmi$(VBOX_SUFF_LIB)
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncifdef VBOX_WITH_WDDM
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLcrutil_DEFS.win += VBOX_WITH_WDDM
11f7445114bfc5dc0da9287b950c36658da79236vboxsyncVBoxOGLcrutil_DEFS.win += CR_DEBUG_BACKDOOR_ENABLE
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncVBoxOGLcrutil_INCS.win += $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncVBoxOGLcrutil_LIBS.win += $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger$(VBOX_SUFF_LIB)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrutil_CLEAN = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# vc7 hangs during compilation of this file when optimizations are enabled.
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync# VBoxOGLcrutil-x86 - x86 VBoxOGLcrutil version built for amd64 build
d55a27219d1a4cf241ff0cc0f8ac3a97b40e1ad3vboxsyncVBoxOGLcrutil-x86_TEMPLATE = VBOXCROGLR3GUESTDLL
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrutil-x86_EXTENDS = VBoxOGLcrutil
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrutil-x86_BLD_TRG_ARCH = x86
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrutil-x86_LIBS = $(VBOX_LIB_IPRT_GUEST_R3_SHARED_X86) \
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync $(VBOX_LIB_VBGL_R3_SHARED_X86)
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncifdef VBOX_WITH_CRHGSMI
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync# VBOX_WITH_CRHGSMI define is inherited from VBoxOGLcrutil
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrutil-x86_LIBS.win += $(VBOX_PATH_ADDITIONS_LIB)/VBoxCrHgsmi-x86$(VBOX_SUFF_LIB)
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrutil-x86_DEFS = $(VBoxOGLcrutil_DEFS) VBOX_WDDM_WOW64
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncifdef VBOX_WITH_WDDM
11f7445114bfc5dc0da9287b950c36658da79236vboxsync# CR_DEBUG_BACKDOOR_ENABLE define is inherited from VBoxOGLcrutil
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncVBoxOGLcrutil-x86_INCS.win += $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncVBoxOGLcrutil-x86_LIBS.win += $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger-x86$(VBOX_SUFF_LIB)
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync# vc7 hangs during compilation of this file when optimizations are enabled.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhostcrutil
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_EXTENDS = VBoxOGLcrutil
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrutil_TEMPLATE = VBOXCROGLR3HOSTDLL
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_LDFLAGS.darwin = $(VBoxOGLcrutil_LDFLAGS.darwin) \
2b4e84aa037ca3dc4cc8e5532c05bd13b5551ac3vboxsync -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhostcrutil.dylib
de4b88070eed3a77d1e5b285a6373124450f8fccvboxsync $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
de4b88070eed3a77d1e5b285a6373124450f8fccvboxsync $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_LIBS = $(LIB_RUNTIME)
769108208fb3edf0f765132bc7104f93399db77avboxsyncifdef VBOX_WITH_CRHGSMI
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncVBoxOGLhostcrutil_DEFS += VBOX_WITH_CRHGSMI
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncifdef VBOX_WITH_WDDM
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncVBoxOGLhostcrutil_INCS.win = $(NO_SUCH_VARIABLE)
384478d3896257fbce9ceb8c01e74040b969e6d7vboxsyncVBoxOGLhostcrutil_DEFS.win = $(NO_SUCH_VARIABLE)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Generate files for VBoxOGLcrutil and VBoxOGLhostcrutil.
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c: $(PATH_SUB_CURRENT)/util/debug_opcodes.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
81578c6df6541d965dcfe32dd0e0decb64a42284vboxsyncifdef VBOX_WITH_CRDUMPER
e20b6c04833c7afc840681167235afc1e1376f34vboxsync$(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp: $(PATH_SUB_CURRENT)/state_tracker/dump_gen.py $(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib/get_sizes.py $(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib/get_components.py $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_isenabled.txt state_extensions_isenabled.txt) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
81578c6df6541d965dcfe32dd0e0decb64a42284vboxsync $(call MSG_GENERATE,python,$@,$<)
81578c6df6541d965dcfe32dd0e0decb64a42284vboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) $(<D)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLcrpacker
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_TEMPLATE = VBOXCROGLR3GUESTLIB
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_INCS = \
e5d3b7a3187d8f891f55aa8fcb5ad3dee90b1e68vboxsyncif1of ($(KBUILD_TARGET), linux solaris freebsd)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLcrpacker_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_INTERMEDIATES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/cr_packfunctions.h \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h \
b9a6f7db9362492be8b058a52ccf9e52d1eabb67vboxsync $(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_SOURCES = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_arrays_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_bounds_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_bufferobject_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_client_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_clipplane_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_fog_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_lights_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_materials_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_matrices_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_misc_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_pixels_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_point_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_program_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_regcombiner_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_stipple_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_bbox.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_current.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/packer.c
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_CLEAN = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_arrays_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_bounds_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_bufferobject_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_client_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_clipplane_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_fog_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_lights_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_materials_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_matrices_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_misc_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_pixels_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_point_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_program_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_regcombiner_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_stipple_swap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_bbox.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/pack_current.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/packer.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/cr_packfunctions.h \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLcrpacker_DEFS.win += VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_WDDM
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLcrpacker_DEFS.win += VBOX_WITH_WDDM
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync# VBoxOGLcrpacker-x86 - x86 VBoxOGLcrpacker version built for amd64 build
d55a27219d1a4cf241ff0cc0f8ac3a97b40e1ad3vboxsyncVBoxOGLcrpacker-x86_TEMPLATE = VBOXCROGLR3GUESTLIB
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrpacker-x86_EXTENDS = VBoxOGLcrpacker
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrpacker-x86_BLD_TRG_ARCH = x86
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrpacker-x86_DEFS = $(VBoxOGLcrpacker_DEFS) VBOX_WDDM_WOW64
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhostcrpacker
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostcrpacker_EXTENDS = VBoxOGLcrpacker
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrpacker_TEMPLATE = VBOXCROGLR3HOSTLIB
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Generate files for VBoxOGLcrpacker and VBoxOGLhostcrpacker.
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/packer.def: $(PATH_SUB_CURRENT)/packer/packer_defs.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
b40c3fa94b8a873f7f2eca1558e0de367a276687vboxsync$(VBOX_PATH_CROGL_GENFILES)/cr_packfunctions.h: $(PATH_SUB_CURRENT)/packer/pack_header.py $(PATH_SUB_CURRENT)/packer/packer_special $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h: $(PATH_SUB_CURRENT)/packer/opcodes.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h: $(PATH_SUB_CURRENT)/packer/pack_currentheader.py $(PATH_SUB_CURRENT)/packer/pack_currenttypes.py | $$(dir $(VBOX_PATH_CROGL_GENFILES)) $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $<
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/packer.c: $(PATH_SUB_CURRENT)/packer/packer.py $(PATH_SUB_CURRENT)/packer/packer_special $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/pack_bbox.c: $(PATH_SUB_CURRENT)/packer/packer_bbox.py | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/pack_current.c: $(PATH_SUB_CURRENT)/packer/pack_current.py $(PATH_SUB_CURRENT)/packer/pack_currenttypes.py | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $<
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/%_swap.c: $(PATH_SUB_CURRENT)/packer/%.c $(PATH_SUB_CURRENT)/packer/pack_swap.py | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/pack_swap.py $<
aae15a3015041f7ed6043344bf4939736254acf6vboxsync# VBoxOGLspuload
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLspuload_TEMPLATE = VBOXCROGLR3GUESTLIB
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLspuload_INTERMEDIATES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
e5d3b7a3187d8f891f55aa8fcb5ad3dee90b1e68vboxsyncif1of ($(KBUILD_TARGET), linux solaris freebsd)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLspuload_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLspuload_SOURCES = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/spuchange.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/spucopy.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/dispatch.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/glloader.c
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLspuload_CLEAN = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/spuchange.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/spucopy.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/dispatch.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/glloader.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLspuload_DEFS.win += VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_WDDM
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLspuload_DEFS.win += VBOX_WITH_WDDM
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync# VBoxOGLspuload-x86 - x86 VBoxOGLspuload version built for amd64 build
d55a27219d1a4cf241ff0cc0f8ac3a97b40e1ad3vboxsyncVBoxOGLspuload-x86_TEMPLATE = VBOXCROGLR3GUESTLIB
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLspuload-x86_EXTENDS = VBoxOGLspuload
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLspuload-x86_BLD_TRG_ARCH = x86
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLspuload-x86_DEFS = $(VBoxOGLspuload_DEFS) VBOX_WDDM_WOW64
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync# VBoxOGLhostspuload
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostspuload_EXTENDS = VBoxOGLspuload
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostspuload_TEMPLATE = VBOXCROGLR3HOSTLIB
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync# Generate files for VBoxOGLspuload and VBoxOGLhostspuload.
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/dispatch.c: $(PATH_SUB_CURRENT)/spu_loader/dispatch.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/spucopy.c: $(PATH_SUB_CURRENT)/spu_loader/spucopy.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/spuchange.c: $(PATH_SUB_CURRENT)/spu_loader/spuchange.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/glloader.c: $(PATH_SUB_CURRENT)/spu_loader/glloader.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h: $(PATH_SUB_CURRENT)/spu_loader/dispatchheader.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLcrstate
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrstate_TEMPLATE = VBOXCROGLR3GUESTLIB
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrstate_INCS = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync state_tracker
e5d3b7a3187d8f891f55aa8fcb5ad3dee90b1e68vboxsyncif1of ($(KBUILD_TARGET), linux solaris freebsd)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLcrstate_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrstate_INTERMEDIATES = \
8f0a8248a277021da955c40eaef0c6799bf082cdvboxsync $(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h \
8f0a8248a277021da955c40eaef0c6799bf082cdvboxsync $(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h \
8f0a8248a277021da955c40eaef0c6799bf082cdvboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrstate_SOURCES = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_buffer_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_current_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_fog_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_hint_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_lighting_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_line_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_multisample_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_point_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_polygon_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_regcombiner_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_viewport_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_get.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_isenabled.c
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsyncifdef VBOX_WITH_CRDUMPER
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsyncVBoxOGLcrstate_SOURCES += state_tracker/dump.cpp \
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsync $(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrstate_CLEAN = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_buffer_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_current_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_fog_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_hint_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_lighting_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_line_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_multisample_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_point_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_polygon_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_regcombiner_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_viewport_gen.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_get.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state_isenabled.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsyncifdef VBOX_WITH_CRDUMPER
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsyncVBoxOGLcrstate_CLEAN += $(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp
22779f914326d58cfd205ee44c1100323fd59821vboxsyncifneq ($(KBUILD_TARGET),win)
f74dc240a0d264675cd342aeae29a624aa5b91efvboxsync ifeq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),)
22779f914326d58cfd205ee44c1100323fd59821vboxsyncstate_tracker/state_lists.c_CFLAGS += $(VBOX_GCC_Wno-pointer-sign)
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsyncVBoxOGLcrstate_CFLAGS +=
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLcrstate_DEFS.win += VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_WDDM
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLcrstate_DEFS.win += VBOX_WITH_WDDM
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsyncifdef VBOX_WITH_CRDUMPER
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsyncVBoxOGLcrstate_DEFS += VBOX_WITH_CRDUMPER
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsync#VBoxOGLcrutil_LIBS += \
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsync $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB) \
c5fbfff2c6f46db681b0c092d69e6c163917806avboxsync $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB)
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync# VBoxOGLcrstate-x86 - x86 VBoxOGLcrstate version built for amd64 build
d55a27219d1a4cf241ff0cc0f8ac3a97b40e1ad3vboxsyncVBoxOGLcrstate-x86_TEMPLATE = VBOXCROGLR3GUESTLIB
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrstate-x86_EXTENDS = VBoxOGLcrstate
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrstate-x86_BLD_TRG_ARCH = x86
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLcrstate-x86_DEFS = $(VBoxOGLcrstate_DEFS) VBOX_WDDM_WOW64
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhostcrstate
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostcrstate_EXTENDS = VBoxOGLcrstate
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrstate_TEMPLATE = VBOXCROGLR3HOSTLIB
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrstate_SOURCES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBoxOGLcrstate_SOURCES) \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Generate files for VBoxOGLcrstate and VBoxOGLhostcrstate.
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_buffer_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_buffer.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py buffer Buffer $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_client_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_client.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py client Client $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_current_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_current.py convert.py) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/state_current.py
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_fog_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_fog.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py fog Fog $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_hint_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_hint.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py hint Hint $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_lighting_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_lighting.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py lighting Lighting $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_line_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_line.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py line Line $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_multisample_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_multisample.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py multisample Multisample $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_point_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_point.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py point Point $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_polygon_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_polygon.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py polygon Polygon $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_regcombiner_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_regcombiner.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py regcombiner RegCombiner $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_viewport_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_viewport.txt gendiffcode.py) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py viewport Viewport $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_get.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_get.py state_get.txt state_extensions_get.txt) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/state_get.py $(VBOX_PATH_CROGL_GLAPI) $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state_isenabled.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_isenabled.py state_isenabled.txt state_extensions_isenabled.txt) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/state_isenabled.py $(VBOX_PATH_CROGL_GLAPI) $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state.def: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_defs.py state_special state_select_special state_feedback_special) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/state_defs.py $(VBOX_PATH_CROGL_GLAPI) $(<D)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_funcs.py state_special state_feedback_special state_select_special) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $(<D)/state_funcs.py $(VBOX_PATH_CROGL_GLAPI) $(<D)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLerrorspu
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsync# @remark See HostServices/OpenGL/Makefile for and explanation of the gl.h
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsync# and glu.h intermediate files on darwin.
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsyncVBoxOGLerrorspu_TEMPLATE = VBOXCROGLR3GUESTDLL
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLerrorspu_INTERMEDIATES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
e5d3b7a3187d8f891f55aa8fcb5ad3dee90b1e68vboxsyncif1of ($(KBUILD_TARGET), linux solaris freebsd)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLerrorspu_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsyncVBoxOGLerrorspu_SOURCES = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/errorspu.c \
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsyncVBoxOGLerrorspu_CLEAN = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/errorspu.c
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLerrorspu_LIBS = \
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(VBOX_LIB_OGL_CRUTIL)
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLerrorspu_DEFS.win += VBOX_WITH_CRHGSMI
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncifdef VBOX_WITH_WDDM
d10b60270f0c0eeb87f45002a010cff8ba2126b1vboxsyncVBoxOGLerrorspu_DEFS.win += VBOX_WITH_WDDM
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync# VBoxOGLerrorspu-x86 - x86 VBoxOGLerrorspu version built for amd64 build
d55a27219d1a4cf241ff0cc0f8ac3a97b40e1ad3vboxsyncVBoxOGLerrorspu-x86_TEMPLATE = VBOXCROGLR3GUESTDLL
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLerrorspu-x86_EXTENDS = VBoxOGLerrorspu
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLerrorspu-x86_BLD_TRG_ARCH = x86
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLerrorspu-x86_LIBS = \
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync $(VBOX_LIB_OGL_CRUTIL_X86)
67927207a2d6bb545eb655ef14cdb090b1957120vboxsyncVBoxOGLerrorspu-x86_DEFS = $(VBoxOGLerrorspu_DEFS) VBOX_WDDM_WOW64
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhosterrorspu
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhosterrorspu_EXTENDS = VBoxOGLerrorspu
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhosterrorspu_TEMPLATE = VBOXCROGLR3HOSTDLL
e068057c82b010bc7cc663e8f57ac3ef1890a33cvboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhosterrorspu_LDFLAGS.darwin += $(VBoxOGLerrorspu_LDFLAGS.darwin) \
2b4e84aa037ca3dc4cc8e5532c05bd13b5551ac3vboxsync -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhosterrorspu.dylib
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhosterrorspu_LIBS = \
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(VBOX_LIB_OGL_HOSTCRUTIL) \
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsync $(LIB_RUNTIME)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync# Generate files for VBoxOGLerrorspu and VBoxOGLhosterrorspu.
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/errorspu.c: $(PATH_SUB_CURRENT)/error/error.py $(VBOX_CROGL_API_FILES)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(call MSG_GENERATE,python,$@,$<)
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
772269936494ffaddd0750ba9e28e805ba81398cvboxsyncinclude $(FILE_KBUILD_SUB_FOOTER)