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
|
|
|
|
2014-02-25 07:39:14 +00:00
|
|
|
SConscript('util/SConscript')
|
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()
|
|
|
|
|
2014-01-10 23:36:16 +00:00
|
|
|
SConscript('loader/SConscript')
|
2011-02-11 17:38:54 +00:00
|
|
|
|
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.
|
2012-05-30 17:08:11 +01:00
|
|
|
SConscript('mapi/glapi/gen/SConscript')
|
2010-11-01 13:30:22 +00:00
|
|
|
SConscript('mapi/glapi/SConscript')
|
2013-12-31 21:39:49 +00:00
|
|
|
|
|
|
|
# Haiku C++ libGL dispatch (renderers depend on libgl)
|
|
|
|
if env['platform'] in ['haiku']:
|
|
|
|
SConscript('hgl/SConscript')
|
|
|
|
|
2010-11-01 13:30:22 +00:00
|
|
|
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-05-24 01:26:20 +01:00
|
|
|
if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'windows'):
|
2011-09-20 20:40:05 +01:00
|
|
|
SConscript('glx/SConscript')
|
2012-05-01 02:57:38 +01:00
|
|
|
if env['platform'] not in ['darwin', 'haiku', 'sunos']:
|
2011-09-20 20:40:05 +01:00
|
|
|
SConscript('egl/main/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
|
|
|
|