mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
* No impact risk to any other platforms * Tracing printf needs stdio.h now due to child header change * Add missing #/src include directory for util/macros.h
37 lines
706 B
Python
37 lines
706 B
Python
#######################################################################
|
|
# SConscript for Haiku OpenGL kit
|
|
|
|
Import('*')
|
|
|
|
env = env.Clone()
|
|
|
|
env.Append(CPPPATH = [
|
|
'#/src',
|
|
'#/src/mapi',
|
|
'#/src/mesa',
|
|
'#/src/mesa/main',
|
|
'#/include/HaikuGL',
|
|
'/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)
|
|
Export('libgl')
|