519dbff7fd3347cf09d2447943e3c123cc31ebb2
[mesa.git] / src / gallium / targets / SConscript
1 import os
2 Import('*')
3
4 # Compatibility with old build scripts:
5 #
6 if 'mesa' in env['statetrackers']:
7 if 'xlib' in env['winsys']:
8 SConscript([
9 'libgl-xlib/SConscript',
10 ])
11
12 if 'gdi' in env['winsys']:
13 SConscript([
14 'libgl-gdi/SConscript',
15 ])
16
17 if not 'graw-xlib' in env['targets'] and not env['msvc']:
18 # XXX: disable until MSVC can link correctly
19 SConscript('graw-null/SConscript')
20
21
22 if env['dri']:
23 SConscript([
24 'SConscript.dri'
25 ])
26
27 if 'xorg' in env['statetrackers']:
28 if 'vmware' in env['winsys']:
29 SConscript([
30 'xorg-vmwgfx/SConscript',
31 ])
32
33 # Ideally all non-target directories would produce convenience
34 # libraries, and the actual shared libraries and other installables
35 # would be finally assembled in the targets subtree:
36 #
37 for target in env['targets']:
38 SConscript(os.path.join(target, 'SConscript'))
39
40
41