blob: 2e6b62824a337a0bed3ab06192df419288f4b0d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#######################################################################
# SConscript for Haiku OpenGL kit
Import('*')
env = env.Clone()
env.Append(CPPPATH = [
'#/src/mapi',
'#/src/mesa',
'#/src/mesa/main',
'/boot/system/develop/headers/private',
Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers
])
env.Prepend(LIBS = [
glapi
])
sources = [
'GLView.cpp',
'GLRenderer.cpp',
'GLRendererRoster.cpp',
'GLDispatcher.cpp',
]
# libGL.so
libgl = env.SharedLibrary(
target ='GL',
source = sources,
SHLIBSUFFIX = env['SHLIBSUFFIX'],
)
env.Alias('libgl-haiku', libgl)
|