1 | # $Id: Makefile.kmk 16241 2009-01-26 17:14:44Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for Chromium packer
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2008 Sun Microsystems, Inc.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 | SUB_DEPTH = ../../../../../../..
|
---|
23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
24 |
|
---|
25 | ## @todo r=bird: See comments else where about merging with partent and why it won't work and stuff.
|
---|
26 | $$(PATH_VBoxOGLpassthroughspu)/passthroughspu.c: $(PATH_SUB_CURRENT)/passthrough.py $(APIFILES) | $$(dir $$@)
|
---|
27 | $(VBOX_BLD_PYTHON) $< $(GLAPI_PATH) > $@
|
---|
28 |
|
---|
29 | DLLS += VBoxOGLpassthroughspu
|
---|
30 |
|
---|
31 | VBoxOGLpassthroughspu_TEMPLATE = VBOXGUESTR3NPDLL
|
---|
32 | VBoxOGLpassthroughspu_DEFS = CHROMIUM_THREADSAFE
|
---|
33 | VBoxOGLpassthroughspu_DEFS.win = _WIN32_WINNT=0x0500 WINDOWS=1
|
---|
34 | VBoxOGLpassthroughspu_DEFS.linux = Linux=1
|
---|
35 | VBoxOGLpassthroughspu_DEFS.solaris = SunOS=1
|
---|
36 | VBoxOGLpassthroughspu_INCS := \
|
---|
37 | $(PATH_SUB_CURRENT) \
|
---|
38 | $(PATH_VBOXCROGL_INCLUDE) \
|
---|
39 | $(PATH_VBOXCROGL_GENFILES)
|
---|
40 | VBoxOGLpassthroughspu_SOURCES = \
|
---|
41 | passthroughspu_init.c \
|
---|
42 | $(PATH_VBoxOGLpassthroughspu)/passthroughspu.c
|
---|
43 | VBoxOGLpassthroughspu_SOURCES.win = passthrough.def
|
---|
44 | VBoxOGLpassthroughspu_CLEAN = $(PATH_VBoxOGLpassthroughspu)/passthroughspu.c
|
---|
45 | VBoxOGLpassthroughspu_LIBS.win = $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB)
|
---|
46 | if1of ($(KBUILD_TARGET), linux solaris) ## @todo See other make file; if win then implib; else dll;
|
---|
47 | VBoxOGLpassthroughspu_LIBS = $(VBOX_PATH_ADDITIONS)/VBoxOGLcrutil$(VBOX_SUFF_DLL)
|
---|
48 | endif
|
---|
49 |
|
---|
50 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
51 |
|
---|