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