Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5564 | serge | 1 | Import('*') |
2 | |||
3 | |||
4 | if env['platform'] == 'windows': |
||
5 | SConscript('getopt/SConscript') |
||
6 | |||
7 | SConscript('util/SConscript') |
||
8 | SConscript('glsl/SConscript') |
||
9 | |||
10 | if env['hostonly']: |
||
11 | # We are just compiling the things necessary on the host for cross |
||
12 | # compilation |
||
13 | Return() |
||
14 | |||
15 | if env['platform'] != 'windows': |
||
16 | SConscript('loader/SConscript') |
||
17 | |||
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') |
||
24 | |||
25 | # Haiku C++ libGL dispatch (renderers depend on libgl) |
||
26 | if env['platform'] in ['haiku']: |
||
27 | SConscript('hgl/SConscript') |
||
28 | |||
29 | SConscript('mesa/SConscript') |
||
30 | |||
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', 'windows']: |
||
35 | if env['dri']: |
||
36 | SConscript('egl/drivers/dri2/SConscript') |
||
37 | SConscript('egl/main/SConscript') |
||
38 | if env['platform'] == 'haiku': |
||
39 | SConscript('egl/drivers/haiku/SConscript') |
||
40 | SConscript('egl/main/SConscript') |
||
41 | |||
42 | if env['gles']: |
||
43 | SConscript('mapi/shared-glapi/SConscript') |
||
44 | |||
45 | SConscript('gallium/SConscript') |
||
46 |