2008-02-18 10:52:44 +00:00
|
|
|
Import('*')
|
|
|
|
|
2011-02-11 17:38:54 +00:00
|
|
|
|
2010-11-01 13:30:22 +00:00
|
|
|
if env['platform'] == 'windows':
|
2011-01-12 15:32:17 +00:00
|
|
|
SConscript('getopt/SConscript')
|
2010-08-13 13:53:04 +01:00
|
|
|
|
2010-11-01 13:30:22 +00:00
|
|
|
SConscript('glsl/SConscript')
|
2011-02-11 17:38:54 +00:00
|
|
|
|
|
|
|
if env['hostonly']:
|
|
|
|
# We are just compiling the things necessary on the host for cross
|
|
|
|
# compilation
|
|
|
|
Return()
|
|
|
|
|
|
|
|
|
2011-01-14 09:50:29 +00:00
|
|
|
# When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
|
|
|
|
# used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined
|
|
|
|
# in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to
|
|
|
|
# enable OpenGL ES support.
|
2010-11-01 13:30:22 +00:00
|
|
|
SConscript('mapi/glapi/SConscript')
|
|
|
|
SConscript('mesa/SConscript')
|
2008-02-22 15:46:40 +00:00
|
|
|
|
2011-01-09 15:37:32 +00:00
|
|
|
SConscript('mapi/vgapi/SConscript')
|
|
|
|
|
2011-09-16 17:11:52 +01:00
|
|
|
if not env['embedded']:
|
2012-01-16 12:42:05 +00:00
|
|
|
if env['platform'] not in ['windows', 'darwin', 'haiku']:
|
2011-09-20 20:40:05 +01:00
|
|
|
SConscript('glx/SConscript')
|
2012-01-16 12:42:05 +00:00
|
|
|
if env['platform'] not in ['darwin', 'haiku']:
|
2011-09-20 20:40:05 +01:00
|
|
|
SConscript('egl/main/SConscript')
|
2012-01-16 12:42:05 +00:00
|
|
|
if env['platform'] not in ['darwin']:
|
2011-09-20 20:40:05 +01:00
|
|
|
SConscript('glu/sgi/SConscript')
|
2010-06-08 17:38:01 +01:00
|
|
|
|
2011-01-14 09:50:29 +00:00
|
|
|
if env['gles']:
|
|
|
|
SConscript('mapi/shared-glapi/SConscript')
|
|
|
|
|
2010-03-09 15:07:57 +00:00
|
|
|
SConscript('gallium/SConscript')
|
2009-01-23 12:32:35 +00:00
|
|
|
|