4 if env['platform'] == 'windows':
5 SConscript('getopt/SConscript')
7 SConscript('util/SConscript')
8 SConscript('glsl/SConscript')
11 # We are just compiling the things necessary on the host for cross
15 SConscript('loader/SConscript')
17 # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
18 # used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined
19 # in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to
20 # enable OpenGL ES support.
21 SConscript('mapi/glapi/gen/SConscript')
22 SConscript('mapi/glapi/SConscript')
24 # Haiku C++ libGL dispatch (renderers depend on libgl)
25 if env['platform'] in ['haiku']:
26 SConscript('hgl/SConscript')
28 SConscript('mesa/SConscript')
30 if not env['embedded']:
31 if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'windows'):
32 SConscript('glx/SConscript')
33 if env['platform'] not in ['darwin', 'haiku', 'sunos']:
35 SConscript('egl/drivers/dri2/SConscript')
36 SConscript('egl/main/SConscript')
37 if env['platform'] == 'haiku':
38 SConscript('egl/drivers/haiku/SConscript')
39 SConscript('egl/main/SConscript')
42 SConscript('mapi/shared-glapi/SConscript')
44 SConscript('gallium/SConscript')