Makefile.kmk revision ba44972d4fba964e9794fb07b869741c42aa7d35
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# $Id$
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync## @file
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Sub-Makefile for the VirtualBox Guest/Host OpenGL part
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright (C) 2008 Sun Microsystems, Inc.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
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#
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.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncSUB_DEPTH = ../../../..
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Target lists.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncBLDDIRS += \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/ \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/state/
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncifdef VBOX_WITH_ADDITIONS
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync DLLS += VBoxOGLcrutil VBoxOGLerrorspu
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync LIBRARIES += VBoxOGLcrpacker VBoxOGLspuload VBoxOGLcrstate
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncendif
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncifndef VBOX_ONLY_ADDITIONS
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync DLLS += VBoxOGLhostcrutil VBoxOGLhosterrorspu
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync LIBRARIES += VBoxOGLhostcrpacker VBoxOGLhostspuload VBoxOGLhostcrstate
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncendif
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLcrutil
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
91afe8a45492af90be74e8b56d46c8659f827b0bvboxsyncVBoxOGLcrutil_TEMPLATE = VBOXCROGLR3GUESTDLL
aae15a3015041f7ed6043344bf4939736254acf6vboxsyncVBoxOGLcrutil_SDKS.win = DXSDK
aae15a3015041f7ed6043344bf4939736254acf6vboxsyncVBoxOGLcrutil_INTERMEDIATES = $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncif1of ($(KBUILD_TARGET),linux solaris)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLcrutil_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncendif
aae15a3015041f7ed6043344bf4939736254acf6vboxsyncVBoxOGLcrutil_SOURCES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/bbox.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/bufpool.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/calllists.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/devnull.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/dll.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/endian.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/environment.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/error.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/filenet.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/hash.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/hull.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/list.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/matrix.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/mem.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/net.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/pixel.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/process.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/rand.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/string.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/threads.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/tcpip.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/udptcpip.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/timer.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/url.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/warp.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync util/vboxhgcm.c \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrutil_SOURCES.win.x86 = \
ffa06e5b007c5b2f57341d90088189ce5f99c091vboxsync util/util.def \
ffa06e5b007c5b2f57341d90088189ce5f99c091vboxsync util/util.rc
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrutil_LIBS.win = \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(PATH_SDK_DXSDK_LIB)/ddraw.lib \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(PATH_SDK_DXSDK_LIB)/dxguid.lib
047755364a4a04102a05bb7866966db1ea00110dvboxsyncVBoxOGLcrutil_LIBS = \
c3dca3d06ff23c65583ec57c20b51c05aa09b9fdvboxsync $(VBOX_LIB_IPRT_GUEST_R3) \
a12021014e366ff8376d3627297e9c8734d2df64vboxsync $(VBOX_LIB_VBGL_R3_SHARED) \
c3dca3d06ff23c65583ec57c20b51c05aa09b9fdvboxsync $(VBOX_LIB_IPRT_GUEST_R3)
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrutil_CLEAN = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# vc7 hangs during compilation of this file when optimizations are enabled.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLcrutil_pixel.c_CFLAGS.win.x86 += -Od
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostcrutil_pixel.c_CFLAGS.win.x86 += -Od
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhostcrutil
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLhostcrutil_EXTENDS = VBoxOGLcrutil
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrutil_TEMPLATE = VBOXCROGLR3HOSTDLL
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Generate files for VBoxOGLcrutil and VBoxOGLhostcrutil.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
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)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLcrpacker
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_TEMPLATE = VBOXCROGLR3GUESTLIB
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrpacker_INCS = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync packer
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncif1of ($(KBUILD_TARGET),linux solaris)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLcrpacker_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncendif
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 packer/pack_arrays.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_beginend.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_bounds.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_buffer.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_bufferobject.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_client.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_clipplane.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_context.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_error.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_extensions.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_feedback.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_fence.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_fog.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_init.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_lights.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_lists.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_swap_lists.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_map.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_point.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_swap_map.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_misc.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_materials.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_matrices.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_pixels.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_pixelmap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_swap_pixelmap.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_program.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_regcombiner.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_stipple.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_texture.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_swap_texture.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync packer/pack_visibleregion.c \
8a5e0b7c43d7ee861689984edc2abd86b9ed4456vboxsync packer/pack_shaders.c \
ca551aca153d6df494985b5281c573ba2e3eb474vboxsync packer/pack_framebuffer.c \
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
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhostcrpacker
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostcrpacker_EXTENDS = VBoxOGLcrpacker
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrpacker_TEMPLATE = VBOXCROGLR3HOSTLIB
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Generate files for VBoxOGLcrpacker and VBoxOGLhostcrpacker.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
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) $<
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
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) $<
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
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
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync
aae15a3015041f7ed6043344bf4939736254acf6vboxsync#
aae15a3015041f7ed6043344bf4939736254acf6vboxsync# VBoxOGLspuload
aae15a3015041f7ed6043344bf4939736254acf6vboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLspuload_TEMPLATE = VBOXCROGLR3GUESTLIB
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLspuload_INTERMEDIATES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncif1of ($(KBUILD_TARGET),linux solaris)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLspuload_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncendif
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLspuload_SOURCES = \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync spu_loader/spuinit.c \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync spu_loader/spuload.c \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync spu_loader/choosevisual.c \
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
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLspuload
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostspuload_EXTENDS = VBoxOGLspuload
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostspuload_TEMPLATE = VBOXCROGLR3HOSTLIB
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync# Generate files for VBoxOGLspuload and VBoxOGLhostspuload.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
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
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
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
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
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)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLcrstate
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrstate_TEMPLATE = VBOXCROGLR3GUESTLIB
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLcrstate_INCS = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync state_tracker
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncif1of ($(KBUILD_TARGET),linux solaris)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLcrstate_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncendif
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 state_tracker/state_attrib.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_buffer.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_bufferobject.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_client.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_current.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_diff.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_enable.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_error.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_evaluators.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_feedback.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_fence.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_flush.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_fog.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_getstring.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_hint.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_init.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_lighting.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_limits.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_line.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_lists.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_multisample.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_occlude.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_pixel.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_point.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_polygon.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_program.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_rasterpos.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_regcombiner.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_stencil.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_texture.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_teximage.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_texdiff.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_transform.c \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync state_tracker/state_viewport.c \
ca551aca153d6df494985b5281c573ba2e3eb474vboxsync state_tracker/state_framebuffer.c \
6e7c344fc7cdb580356704e8201207b394d367bbvboxsync state_tracker/state_glsl.c \
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
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhostcrstate
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhostcrstate_EXTENDS = VBoxOGLcrstate
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrstate_TEMPLATE = VBOXCROGLR3HOSTLIB
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhostcrstate_SOURCES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBoxOGLcrstate_SOURCES) \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync state_tracker/state_snapshot.c
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# Generate files for VBoxOGLcrstate and VBoxOGLhostcrstate.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync
6a0a658a7d69e5730cdf36b4f717fea42fee6b4cvboxsync
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# VBoxOGLerrorspu
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsync# @remark See HostServices/OpenGL/Makefile for and explanation of the gl.h
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsync# and glu.h intermediate files on darwin.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsyncVBoxOGLerrorspu_TEMPLATE = VBOXCROGLR3GUESTDLL
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLerrorspu_INTERMEDIATES = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncif1of ($(KBUILD_TARGET),linux solaris)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync VBoxOGLerrorspu_INCS += \
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsync $(VBOX_MESA_INCS)
ba44972d4fba964e9794fb07b869741c42aa7d35vboxsyncendif
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsyncVBoxOGLerrorspu_SOURCES = \
aae15a3015041f7ed6043344bf4939736254acf6vboxsync $(VBOX_PATH_CROGL_GENFILES)/errorspu.c \
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync error/errorspu_init.c
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsyncVBoxOGLerrorspu_SOURCES.win.x86 = \
ffa06e5b007c5b2f57341d90088189ce5f99c091vboxsync error/error.def \
ffa06e5b007c5b2f57341d90088189ce5f99c091vboxsync error/errorspu.rc
cbb0f4da6089c4359e31e8028d94850b833cab17vboxsyncVBoxOGLerrorspu_CLEAN = \
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync $(VBOX_PATH_CROGL_GENFILES)/errorspu.c
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLerrorspu_LIBS = \
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync $(VBOX_LIB_OGL_CRUTIL)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync# VBoxOGLhosterrorspu
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncVBoxOGLhosterrorspu_EXTENDS = VBoxOGLerrorspu
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsyncVBoxOGLhosterrorspu_TEMPLATE = VBOXCROGLR3HOSTDLL
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)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
f9dd063f9fc5484ce7c1dffbd47b6ca9913a51b7vboxsync# Generate files for VBoxOGLerrorspu and VBoxOGLhosterrorspu.
a48399c41d6eb8b66ad69c050ad263af36873e9cvboxsync#
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)
aae15a3015041f7ed6043344bf4939736254acf6vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync