OSDN Git Service

mesa: handle GL_NONE draw buffers correctly in glClear
[android-x86/external-mesa.git] / src / SConscript
1 Import('*')
2
3
4 if env['platform'] == 'windows':
5     SConscript('getopt/SConscript')
6
7 SConscript('glsl/SConscript')
8
9 if env['hostonly']:
10     # We are just compiling the things necessary on the host for cross
11     # compilation
12     Return()
13
14
15 # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
16 # used.  libgl-xlib and libgl-gdi adapt themselves to use the targets defined
17 # in mapi/glapi-shared/SConscript.  mesa/SConscript also adapts itself to
18 # enable OpenGL ES support.
19 SConscript('mapi/glapi/gen/SConscript')
20 SConscript('mapi/glapi/SConscript')
21
22 # Haiku C++ libGL dispatch (renderers depend on libgl)
23 if env['platform'] in ['haiku']:
24     SConscript('hgl/SConscript')
25
26 SConscript('mesa/SConscript')
27
28 SConscript('mapi/vgapi/SConscript')
29
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']:
34         SConscript('egl/main/SConscript')
35
36     if env['gles']:
37         SConscript('mapi/shared-glapi/SConscript')
38
39 SConscript('gallium/SConscript')
40