scons: remove dri-i915 build target
[mesa.git] / src / gallium / SConscript
1 Import('env')
2
3 #
4 # Auxiliary modules
5 #
6
7 SConscript('auxiliary/SConscript')
8
9 #
10 # Drivers
11 #
12
13 # These are common and work across all platforms
14 SConscript([
15 'drivers/galahad/SConscript',
16 'drivers/identity/SConscript',
17 'drivers/llvmpipe/SConscript',
18 'drivers/rbug/SConscript',
19 'drivers/softpipe/SConscript',
20 'drivers/svga/SConscript',
21 'drivers/trace/SConscript',
22 ])
23
24 if not env['msvc']:
25 # These drivers do not build on MSVC compilers
26 SConscript([
27 'drivers/i915/SConscript',
28 ])
29
30 #
31 # State trackers
32 #
33
34 # Needed by some state trackers
35 SConscript('winsys/sw/null/SConscript')
36
37 if not env['embedded']:
38 SConscript('state_trackers/vega/SConscript')
39 if env['platform'] not in ('cygwin', 'darwin', 'haiku', 'sunos'):
40 SConscript('state_trackers/egl/SConscript')
41
42 if env['x11']:
43 SConscript('state_trackers/glx/xlib/SConscript')
44
45 if env['dri']:
46 SConscript('state_trackers/dri/SConscript')
47
48 if env['platform'] == 'windows':
49 SConscript('state_trackers/wgl/SConscript')
50
51 #
52 # Winsys
53 #
54
55 SConscript([
56 'winsys/sw/wrapper/SConscript',
57 ])
58
59 if env['x11']:
60 SConscript([
61 'winsys/sw/xlib/SConscript',
62 ])
63
64 if env['platform'] == 'windows':
65 SConscript([
66 'winsys/sw/gdi/SConscript',
67 ])
68
69 if not env['msvc']:
70 SConscript([
71 'winsys/i915/sw/SConscript',
72 ])
73
74 if env['platform'] == 'haiku':
75 SConscript([
76 'winsys/sw/hgl/SConscript',
77 ])
78
79 if env['dri']:
80 SConscript([
81 'winsys/sw/dri/SConscript',
82 ])
83
84 SConscript([
85 'winsys/svga/drm/SConscript',
86 ])
87
88 #
89 # Targets
90 #
91
92 SConscript([
93 'targets/graw-null/SConscript',
94 ])
95
96 if not env['embedded']:
97 if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'sunos'):
98 SConscript([
99 'targets/egl-static/SConscript'
100 ])
101
102 if env['x11']:
103 SConscript([
104 'targets/graw-xlib/SConscript',
105 'targets/libgl-xlib/SConscript',
106 ])
107
108 if env['platform'] == 'windows':
109 SConscript([
110 'targets/graw-gdi/SConscript',
111 'targets/libgl-gdi/SConscript',
112 ])
113
114 if env['platform'] == 'haiku':
115 SConscript([
116 'targets/haiku-softpipe/SConscript',
117 ])
118
119 if env['dri']:
120 SConscript([
121 'targets/dri-swrast/SConscript',
122 'targets/dri-vmwgfx/SConscript',
123 ])
124
125
126 #
127 # Unit tests & tools
128 #
129
130 if not env['embedded']:
131 SConscript('tests/unit/SConscript')
132 SConscript('tests/graw/SConscript')