1 | # $Id: Makefile.kmk 21700 2007-06-01 16:01:28Z umoeller $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the OpenGL Host Service.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 innotek GmbH
|
---|
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 as published by the Free Software Foundation,
|
---|
13 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
14 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
15 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 |
|
---|
17 | DEPTH ?= ../../../..
|
---|
18 | SUB_DEPTH = ..
|
---|
19 | include $(PATH_KBUILD)/subheader.kmk
|
---|
20 |
|
---|
21 | #
|
---|
22 | # The opengl service DLL.
|
---|
23 | #
|
---|
24 | DLLS += VBoxSharedOpenGL
|
---|
25 | VBoxSharedOpenGL_TEMPLATE = VBOXR3
|
---|
26 | VBoxSharedOpenGL_DEFS = VBOX_HGCM VBOX_OGL_HOST_SIDE
|
---|
27 | VBoxSharedOpenGL_INCS.win = \
|
---|
28 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) \
|
---|
29 | $(VBOX_PATH_SDK)
|
---|
30 | VBoxSharedOpenGL_CXXFLAGS.linux = -pthread
|
---|
31 |
|
---|
32 | VBoxSharedOpenGL_SOURCES = \
|
---|
33 | service.cpp \
|
---|
34 | vboxgl.cpp \
|
---|
35 | HostOGLSimpleAsync.cpp \
|
---|
36 | HostOGLSimpleSync.cpp \
|
---|
37 | HostOGLComplexAsync.cpp \
|
---|
38 | HostOGLComplexSync.cpp \
|
---|
39 | glext.cpp
|
---|
40 |
|
---|
41 | VBoxSharedOpenGL_SOURCES.linux = \
|
---|
42 | gllindrv.cpp
|
---|
43 |
|
---|
44 | VBoxSharedOpenGL_SOURCES.win = \
|
---|
45 | glwindrv.cpp
|
---|
46 |
|
---|
47 | VBoxSharedOpenGL_LIBS = \
|
---|
48 | $(LIB_VMM) \
|
---|
49 | $(LIB_RUNTIME) \
|
---|
50 | $(LIB_REM)
|
---|
51 | VBoxSharedOpenGL_LIBS.win = \
|
---|
52 | $(PATH_SDK_WINPSDK_LIB)/opengl32.lib
|
---|
53 | VBoxSharedOpenGL_LIBPATH.linux = \
|
---|
54 | $(VBOX_LIBPATH_X11)
|
---|
55 | VBoxSharedOpenGL_LIBS.linux = \
|
---|
56 | GL
|
---|
57 |
|
---|
58 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
59 |
|
---|