tegra: Initial support
[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 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 if HAVE_GALLIUM_PL111
75 SUBDIRS += drivers/pl111 winsys/pl111/drm
76 endif
77
78 ## swrast/softpipe
79 if HAVE_GALLIUM_SOFTPIPE
80 SUBDIRS += drivers/softpipe
81
82 ## swrast/llvmpipe
83 if HAVE_GALLIUM_LLVMPIPE
84 SUBDIRS += drivers/llvmpipe
85 endif
86 endif
87
88 if HAVE_GALLIUM_SWR
89 SUBDIRS += drivers/swr
90 endif
91
92 ## tegra
93 if HAVE_GALLIUM_TEGRA
94 SUBDIRS += drivers/tegra winsys/tegra/drm
95 endif
96
97 ## vc4/rpi
98 if HAVE_GALLIUM_VC4
99 SUBDIRS += drivers/vc4 winsys/vc4/drm
100 endif
101
102 ## vc5
103 if HAVE_GALLIUM_VC5
104 SUBDIRS += drivers/vc5 winsys/vc5/drm
105 endif
106
107 ## virgl
108 if HAVE_GALLIUM_VIRGL
109 SUBDIRS += drivers/virgl winsys/virgl/drm winsys/virgl/vtest
110 endif
111
112 ## the sw winsys'
113 SUBDIRS += winsys/sw/null
114
115 if NEED_WINSYS_XLIB
116 SUBDIRS += winsys/sw/xlib
117 endif
118
119 if HAVE_DRISW
120 SUBDIRS += winsys/sw/dri
121 endif
122
123 if HAVE_DRISW_KMS
124 SUBDIRS += winsys/sw/kms-dri
125 endif
126
127 SUBDIRS += winsys/sw/wrapper
128
129 ##
130 ## Don't forget to bundle the remaining (non autotools) winsys'
131 ##
132
133 EXTRA_DIST = \
134 docs \
135 README.portability \
136 SConscript \
137 winsys/sw/gdi \
138 winsys/sw/hgl
139
140
141 ##
142 ## Gallium state trackers and their users (targets)
143 ##
144
145 ## XXX: Rename the conditional once we have a config switch for static/dynamic pipe-drivers
146 if HAVE_CLOVER
147 SUBDIRS += targets/pipe-loader
148 endif
149
150 if HAVE_CLOVER
151 SUBDIRS += state_trackers/clover targets/opencl
152 endif
153
154 if HAVE_DRICOMMON
155 SUBDIRS += state_trackers/dri targets/dri
156 endif
157
158 if HAVE_GALLIUM_XLIB_GLX
159 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
160 endif
161
162 if HAVE_ST_OMX_BELLAGIO
163 SUBDIRS += state_trackers/omx targets/omx
164 endif
165
166 if HAVE_ST_OMX_TIZONIA
167 SUBDIRS += state_trackers/omx targets/omx
168 endif
169
170 if HAVE_GALLIUM_OSMESA
171 SUBDIRS += state_trackers/osmesa targets/osmesa
172 endif
173
174 if HAVE_ST_VA
175 SUBDIRS += state_trackers/va targets/va
176 endif
177
178 if HAVE_ST_VDPAU
179 SUBDIRS += state_trackers/vdpau targets/vdpau
180 endif
181
182 if HAVE_ST_XA
183 SUBDIRS += state_trackers/xa targets/xa
184 endif
185
186 if HAVE_ST_XVMC
187 SUBDIRS += state_trackers/xvmc targets/xvmc
188 endif
189
190 if HAVE_ST_NINE
191 SUBDIRS += state_trackers/nine targets/d3dadapter9
192 endif
193
194 ##
195 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets
196 ##
197
198 EXTRA_DIST += \
199 include \
200 state_trackers/README \
201 state_trackers/wgl targets/libgl-gdi \
202 targets/graw-gdi targets/graw-null targets/graw-xlib \
203 state_trackers/hgl targets/haiku-softpipe \
204 tools
205
206
207 ##
208 ## Gallium tests
209 ##
210
211 if HAVE_GALLIUM_TESTS
212 SUBDIRS += \
213 tests/trivial \
214 tests/unit
215 endif
216
217 EXTRA_DIST += \
218 tests/graw \
219 tests/python \
220 meson.build