VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/array/Makefile.kmk@ 16074

Last change on this file since 16074 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 15532 2008-12-15 18:53:11Z vboxsync $
2## @file
3# Makefile for Chromium SPU loader
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
22SUB_DEPTH = ../../../../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25## @todo r=bird: We don't do dependencies like this, and it's also wrong since both arrayspu_config.c
26# and arrayspu_init.c makes use of these headers according to the dependency info.
27# Add these as INTERMEDIATES, that way all sources will depend upon them being made.
28# Btw. *if* you needed such a hack like this, put if *after* the target, not before. [another unwritten rule]
29$$(PATH_VBoxOGLarrayspu)/arrayspu$(SUFF_OBJ): \
30 $(PATH_VBOXCROGL_GENFILES)/state/cr_currentpointers.h \
31 $(PATH_VBOXCROGL_GENFILES)/state/cr_statefuncs.h
32
33DLLS += VBoxOGLarrayspu
34
35VBoxOGLarrayspu_TEMPLATE = VBOXGUESTR3NPDLL
36VBoxOGLarrayspu_DEFS = CHROMIUM_THREADSAFE
37VBoxOGLarrayspu_DEFS.win = _WIN32_WINNT=0x0500 WINDOWS=1
38VBoxOGLarrayspu_DEFS.linux = Linux=1
39VBoxOGLarrayspu_DEFS.solaris = SunOS=1
40VBoxOGLarrayspu_DEFS.darwin = DARWIN=1 GL_GLEXT_LEGACY
41VBoxOGLarrayspu_INCS := \
42 $(PATH_VBOXCROGL_INCLUDE) \
43 $(PATH_VBOXCROGL_GENFILES)
44VBoxOGLarrayspu_INCS.darwin += $(PATH_OUT)/obj/VBoxOGL
45VBoxOGLarrayspu_LDFLAGS.darwin += -framework Carbon -framework OpenGL
46VBoxOGLarrayspu_SOURCES = \
47 arrayspu.c \
48 arrayspu_config.c \
49 arrayspu_init.c
50VBoxOGLarrayspu_SOURCES.win = arrayspu.def
51VBoxOGLarrayspu_LIBS.win = \
52 $(PATH_LIB)/VBoxOGLcrutil$(VBOX_SUFF_LIB) \
53 $(PATH_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB) \
54 $(PATH_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB)
55if1of ($(KBUILD_TARGET), linux solaris darwin)
56 VBoxOGLarrayspu_LIBS += \
57 $(VBOX_PATH_ADDITIONS)/VBoxOGLcrutil$(VBOX_SUFF_DLL) \
58 $(PATH_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB) \
59 $(PATH_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB)
60endif
61
62include $(KBUILD_PATH)/subfooter.kmk
63
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette