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