tgsi/ureg: return correct token count in ureg_get_tokens
[mesa.git] / src / gallium / Makefile.am
1 SUBDIRS =
2
3 ##
4 ## Gallium auxiliary module
5 ##
6
7 SUBDIRS += auxiliary
8 SUBDIRS += auxiliary/pipe-loader
9
10 ##
11 ## Gallium pipe drivers and their respective winsys'
12 ##
13
14 SUBDIRS += \
15 drivers/ddebug \
16 drivers/noop \
17 drivers/trace \
18 drivers/rbug
19
20 ## freedreno/msm/kgsl
21 if HAVE_GALLIUM_FREEDRENO
22 SUBDIRS += drivers/freedreno winsys/freedreno/drm
23 endif
24
25 ## i915g/i915
26 if HAVE_GALLIUM_I915
27 SUBDIRS += drivers/i915 winsys/i915/drm
28 endif
29
30 ## nouveau
31 if HAVE_GALLIUM_NOUVEAU
32 SUBDIRS += drivers/nouveau winsys/nouveau/drm
33 endif
34
35 ## vmwgfx/svga
36 if HAVE_GALLIUM_SVGA
37 SUBDIRS += drivers/svga winsys/svga/drm
38 endif
39
40 ## r300
41 if HAVE_GALLIUM_R300
42 SUBDIRS += drivers/r300
43 endif
44
45 ## radeon - linked into r600 and radeonsi
46 if HAVE_GALLIUM_RADEON_COMMON
47 SUBDIRS += drivers/radeon
48 endif
49
50 ## r600
51 if HAVE_GALLIUM_R600
52 SUBDIRS += drivers/r600
53 endif
54
55 ## radeonsi
56 if HAVE_GALLIUM_RADEONSI
57 SUBDIRS += drivers/radeonsi
58 SUBDIRS += winsys/amdgpu/drm
59 endif
60
61 ## the radeon winsys - linked in by r300, r600 and radeonsi
62 if NEED_RADEON_DRM_WINSYS
63 SUBDIRS += winsys/radeon/drm
64 endif
65
66 if HAVE_GALLIUM_ETNAVIV
67 SUBDIRS += drivers/etnaviv winsys/etnaviv/drm
68 endif
69
70 if HAVE_GALLIUM_IMX
71 SUBDIRS += drivers/imx winsys/imx/drm
72 endif
73
74 ## swrast/softpipe
75 if HAVE_GALLIUM_SOFTPIPE
76 SUBDIRS += drivers/softpipe
77
78 ## swrast/llvmpipe
79 if HAVE_GALLIUM_LLVMPIPE
80 SUBDIRS += drivers/llvmpipe
81 endif
82 endif
83
84 if HAVE_GALLIUM_SWR
85 SUBDIRS += drivers/swr
86 endif
87
88 ## vc4/rpi
89 if HAVE_GALLIUM_VC4
90 SUBDIRS += drivers/vc4 winsys/vc4/drm
91 endif
92
93 ## virgl
94 if HAVE_GALLIUM_VIRGL
95 SUBDIRS += drivers/virgl winsys/virgl/drm winsys/virgl/vtest
96 endif
97
98 ## the sw winsys'
99 SUBDIRS += winsys/sw/null
100
101 if NEED_WINSYS_XLIB
102 SUBDIRS += winsys/sw/xlib
103 endif
104
105 if HAVE_DRISW
106 SUBDIRS += winsys/sw/dri
107 endif
108
109 if HAVE_DRISW_KMS
110 SUBDIRS += winsys/sw/kms-dri
111 endif
112
113 SUBDIRS += winsys/sw/wrapper
114
115 ##
116 ## Don't forget to bundle the remaining (non autotools) winsys'
117 ##
118
119 EXTRA_DIST = \
120 docs \
121 README.portability \
122 SConscript \
123 winsys/sw/gdi \
124 winsys/sw/hgl
125
126
127 ##
128 ## Gallium state trackers and their users (targets)
129 ##
130
131 ## XXX: Rename the conditional once we have a config switch for static/dynamic pipe-drivers
132 if HAVE_CLOVER
133 SUBDIRS += targets/pipe-loader
134 endif
135
136 if HAVE_CLOVER
137 SUBDIRS += state_trackers/clover targets/opencl
138 endif
139
140 if HAVE_DRICOMMON
141 SUBDIRS += state_trackers/dri targets/dri
142 endif
143
144 if HAVE_GALLIUM_XLIB_GLX
145 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
146 endif
147
148 if HAVE_ST_OMX
149 SUBDIRS += state_trackers/omx targets/omx
150 endif
151
152 if HAVE_GALLIUM_OSMESA
153 SUBDIRS += state_trackers/osmesa targets/osmesa
154 endif
155
156 if HAVE_ST_VA
157 SUBDIRS += state_trackers/va targets/va
158 endif
159
160 if HAVE_ST_VDPAU
161 SUBDIRS += state_trackers/vdpau targets/vdpau
162 endif
163
164 if HAVE_ST_XA
165 SUBDIRS += state_trackers/xa targets/xa
166 endif
167
168 if HAVE_ST_XVMC
169 SUBDIRS += state_trackers/xvmc targets/xvmc
170 endif
171
172 if HAVE_ST_NINE
173 SUBDIRS += state_trackers/nine targets/d3dadapter9
174 endif
175
176 ##
177 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets
178 ##
179
180 EXTRA_DIST += \
181 include \
182 state_trackers/README \
183 state_trackers/wgl targets/libgl-gdi \
184 targets/graw-gdi targets/graw-null targets/graw-xlib \
185 state_trackers/hgl targets/haiku-softpipe \
186 tools
187
188
189 ##
190 ## Gallium tests
191 ##
192
193 if HAVE_GALLIUM_TESTS
194 SUBDIRS += \
195 tests/trivial \
196 tests/unit
197 endif
198
199 EXTRA_DIST += \
200 tests/graw \
201 tests/python