Makefile.kmk revision 70866cdb387bb4c232229f7f6d826eb62b410d69
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Sub-Makefile for the VirtualBox Guest/Host OpenGL part
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync# Copyright (C) 2008 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 = ../../../..
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Target lists.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncBLDDIRS += \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/ \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state/
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncifdef VBOX_WITH_ADDITIONS
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync DLLS += VBoxOGLcrutil VBoxOGLerrorspu
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync LIBRARIES += VBoxOGLcrpacker VBoxOGLspuload VBoxOGLcrstate
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncifndef VBOX_ONLY_ADDITIONS
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync DLLS += VBoxOGLhostcrutil VBoxOGLhosterrorspu
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync LIBRARIES += VBoxOGLhostcrpacker VBoxOGLhostspuload VBoxOGLhostcrstate
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLcrutil
91afe8a45492af90be74e8b56d46c8659f827b0bvboxsyncVBoxOGLcrutil_TEMPLATE = VBOXCROGLR3GUESTDLL
0412c212ede05017a46044b407f58c82374f6fe4vboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOXWDDM)
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
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(PATH_SDK_DXSDK_LIB)/ddraw.lib \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(PATH_SDK_DXSDK_LIB)/dxguid.lib
047755364a4a04102a05bb7866966db1ea00110dvboxsyncVBoxOGLcrutil_LIBS = \
75bdcd627a7ab8dfa25135d5d75ec5998962d705vboxsync $(VBOX_LIB_IPRT_GUEST_R3_SHARED) \
a12021014e366ff8376d3627297e9c8734d2df64vboxsync $(VBOX_LIB_VBGL_R3_SHARED) \
75bdcd627a7ab8dfa25135d5d75ec5998962d705vboxsync $(VBOX_LIB_IPRT_GUEST_R3_SHARED)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrutil_CLEAN = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# vc7 hangs during compilation of this file when optimizations are enabled.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhostcrutil
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_EXTENDS = VBoxOGLcrutil
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrutil_TEMPLATE = VBOXCROGLR3HOSTDLL
b9b1a758d233ec99707a143ebb72e26724e8b709vboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOXWDDM)
b9b1a758d233ec99707a143ebb72e26724e8b709vboxsync # need to reset the NOINST flag
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_LDFLAGS.darwin = $(VBoxOGLcrutil_LDFLAGS.darwin) \
2b4e84aa037ca3dc4cc8e5532c05bd13b5551ac3vboxsync -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhostcrutil.dylib
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync## @todo kBuild bug, possibly same as ticket #51: PATH_SDK_DXSDK_LIB is expanded too early.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Update. bug 51 was fixed.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Still fails as PATH_SDK_DXSDK_LIB is empty.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync## @todo kBuild: recheck this (note to self).
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostcrutil_LIBS.win = $(VBoxOGLcrutil_LIBS.win)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_LIBS = $(LIB_RUNTIME)
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)
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
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
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLspuload
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_stencil_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
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_stencil_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
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_stencil_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_stencil.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 stencil Stencil $(<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
0412c212ede05017a46044b407f58c82374f6fe4vboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOXWDDM)
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)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhosterrorspu
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhosterrorspu_EXTENDS = VBoxOGLerrorspu
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhosterrorspu_TEMPLATE = VBOXCROGLR3HOSTDLL
b9b1a758d233ec99707a143ebb72e26724e8b709vboxsyncif defined(VBOX_SIGNING_MODE) && defined(VBOXWDDM)
b9b1a758d233ec99707a143ebb72e26724e8b709vboxsync # need to reset the NOINST flag
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk