Makefile.kmk revision 91afe8a45492af90be74e8b56d46c8659f827b0b
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# $Id$
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland## @file
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Makefile for Chromium packer
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Copyright (C) 2008 Sun Microsystems, Inc.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# This file is part of VirtualBox Open Source Edition (OSE), as
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# available from http://www.virtualbox.org. This file is free software;
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# you can redistribute it and/or modify it under the terms of the GNU
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# General Public License (GPL) as published by the Free Software
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Foundation, in version 2 as it comes in the "COPYING" file of the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Clara, CA 95054 USA or visit http://www.sun.com if you need
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# additional information or have any questions.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandSUB_DEPTH = ../../../../../../..
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterlandinclude $(KBUILD_PATH)/subheader.kmk
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland## @todo r=bird: See comments else where about merging with partent and why it won't work and stuff.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland$$(PATH_VBoxOGLpassthroughspu)/passthroughspu.c: $(PATH_SUB_CURRENT)/passthrough.py $(APIFILES) | $$(dir $$@)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(VBOX_BLD_PYTHON) $< $(GLAPI_PATH) > $@
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandDLLS += VBoxOGLpassthroughspu
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_TEMPLATE = VBOXGUESTR3NPDLL
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_DEFS = CHROMIUM_THREADSAFE
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_DEFS.win = _WIN32_WINNT=0x0500 WINDOWS=1
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_DEFS.linux = Linux=1
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_DEFS.solaris = SunOS=1
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_INCS := \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(PATH_SUB_CURRENT) \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(PATH_VBOXCROGL_INCLUDE) \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(PATH_VBOXCROGL_GENFILES)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_SOURCES = \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland passthroughspu_init.c \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(PATH_VBoxOGLpassthroughspu)/passthroughspu.c
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_SOURCES.win = passthrough.def
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_CLEAN = $(PATH_VBoxOGLpassthroughspu)/passthroughspu.c
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandVBoxOGLpassthroughspu_LIBS.win = $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterlandif1of ($(KBUILD_TARGET), linux solaris) ## @todo See other make file; if win then implib; else dll;
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland VBoxOGLpassthroughspu_LIBS = $(VBOX_PATH_ADDITIONS)/VBoxOGLcrutil$(VBOX_SUFF_DLL)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterlandendif
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterlandinclude $(KBUILD_PATH)/subfooter.kmk
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland