4 if env['platform'] == 'windows':
5 SConscript('getopt/SConscript')
7 SConscript('glsl/SConscript')
10 # We are just compiling the things necessary on the host for cross
14 SConscript('loader/SConscript')
16 # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
17 # used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined
18 # in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to
19 # enable OpenGL ES support.
20 SConscript('mapi/glapi/gen/SConscript')
21 SConscript('mapi/glapi/SConscript')
23 # Haiku C++ libGL dispatch (renderers depend on libgl)
24 if env['platform'] in ['haiku']:
25 SConscript('hgl/SConscript')
27 SConscript('mesa/SConscript')
29 SConscript('mapi/vgapi/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'] not in ['darwin', 'haiku', 'sunos']:
35 SConscript('egl/main/SConscript')
38 SConscript('mapi/shared-glapi/SConscript')
40 SConscript('gallium/SConscript')