Makefile.kmk revision f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Sub-Makefile for the VirtualBox Guest/Host OpenGL part
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright (C) 2008 Sun Microsystems, Inc.
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.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# additional information or have any questions.
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
aae15a3015041f7ed6043344bf4939736254acf6vboxsyncVBoxOGLcrutil_INTERMEDIATES = $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h
aae15a3015041f7ed6043344bf4939736254acf6vboxsyncVBoxOGLcrutil_SOURCES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(PATH_SDK_DXSDK_LIB)/ddraw.lib \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(PATH_SDK_DXSDK_LIB)/dxguid.lib
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
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_LDFLAGS.darwin = $(VBoxOGLcrutil_LDFLAGS.darwin) \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhostcrutil.dylib \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLcrpacker
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_TEMPLATE = VBOXCROGLR3GUESTLIB
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_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 \
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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync$(VBOX_PATH_CROGL_GENFILES)/cr_packfunctions.h: $(PATH_SUB_CURRENT)/packer/pack_header.py $(PATH_SUB_CURRENT)/packer/packer_special $(API_FILES) | $$(dir $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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
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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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
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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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 $$@)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(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
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLerrorspu_INTERMEDIATES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
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
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhosterrorspu_LDFLAGS.darwin += $(VBoxOGLerrorspu_LDFLAGS.darwin) \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhosterrorspu.dylib \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
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)
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk