06c6f94bf0c2c9c17a9a55895d1c05976e19ad2f
[mesa.git] / src / SConscript
1 Import('*')
2
3 if env['platform'] == 'windows':
4 SConscript('getopt/SConscript')
5 SConscript('talloc/SConscript')
6 else:
7 talloc = 'talloc'
8 Export('talloc')
9
10 SConscript('glsl/SConscript')
11 # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
12 # used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined
13 # in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to
14 # enable OpenGL ES support.
15 SConscript('mapi/glapi/SConscript')
16 SConscript('mesa/SConscript')
17
18 SConscript('mapi/vgapi/SConscript')
19
20 if env['platform'] != 'embedded':
21 SConscript('egl/main/SConscript')
22 SConscript('glut/glx/SConscript')
23
24 if env['gles']:
25 SConscript('mapi/shared-glapi/SConscript')
26
27 SConscript('gallium/SConscript')
28