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