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