docs: Add to distribution.
[mesa.git] / src / gallium / Makefile.am
1 SUBDIRS =
2
3 ##
4 ## Gallium auxiliary module
5 ##
6
7 SUBDIRS += auxiliary
8
9 ##
10 ## Gallium pipe drivers and their respective winsys'
11 ##
12
13 SUBDIRS += \
14 drivers/galahad \
15 drivers/identity \
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 endif
64
65 ## the radeon winsys - linked in by r300, r600 and radeonsi
66 if NEED_RADEON_DRM_WINSYS
67 SUBDIRS += winsys/radeon/drm
68 endif
69
70 ## swrast/softpipe
71 if HAVE_GALLIUM_SOFTPIPE
72 SUBDIRS += drivers/softpipe
73
74 ## swrast/llvmpipe
75 if HAVE_GALLIUM_LLVMPIPE
76 SUBDIRS += drivers/llvmpipe
77 endif
78 endif
79
80 ## vc4/rpi
81 if HAVE_GALLIUM_VC4
82 SUBDIRS += drivers/vc4 winsys/vc4/drm
83 endif
84
85 ## the sw winsys'
86 SUBDIRS += winsys/sw/null
87
88 if NEED_WINSYS_XLIB
89 SUBDIRS += winsys/sw/xlib
90 endif
91
92 if HAVE_DRISW
93 SUBDIRS += winsys/sw/dri
94 endif
95
96 if HAVE_DRI2
97 SUBDIRS += winsys/sw/kms-dri
98 endif
99
100 if HAVE_EGL_PLATFORM_FBDEV
101 SUBDIRS += winsys/sw/fbdev
102 endif
103
104 if HAVE_EGL_PLATFORM_WAYLAND
105 SUBDIRS += winsys/sw/wayland
106 endif
107
108 SUBDIRS += winsys/sw/wrapper
109
110 ##
111 ## Don't forget to bundle the remaining (non autotools) winsys'
112 ##
113
114 EXTRA_DIST = \
115 docs \
116 winsys/sw/android \
117 winsys/sw/gdi \
118 winsys/sw/hgl
119
120
121 ##
122 ## Gallium state trackers and their users (targets)
123 ##
124
125 if HAVE_LOADER_GALLIUM
126 SUBDIRS += targets/pipe-loader
127 endif
128
129 if HAVE_CLOVER
130 SUBDIRS += state_trackers/clover targets/opencl
131 endif
132
133 if HAVE_DRICOMMON
134 SUBDIRS += state_trackers/dri targets/dri
135 endif
136
137 ## the egl target depends on vega
138 if HAVE_OPENVG
139 SUBDIRS += state_trackers/vega
140 endif
141
142 if HAVE_X11_DRIVER
143 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
144 endif
145
146 if HAVE_ST_OMX
147 SUBDIRS += state_trackers/omx targets/omx
148 endif
149
150 if HAVE_GALLIUM_OSMESA
151 SUBDIRS += state_trackers/osmesa targets/osmesa
152 endif
153
154 if HAVE_ST_VA
155 SUBDIRS += state_trackers/va targets/va
156 endif
157
158 if HAVE_ST_VDPAU
159 SUBDIRS += state_trackers/vdpau targets/vdpau
160 endif
161
162 if HAVE_ST_XA
163 SUBDIRS += state_trackers/xa targets/xa
164 endif
165
166 if HAVE_ST_XVMC
167 SUBDIRS += state_trackers/xvmc targets/xvmc
168 endif
169
170 if HAVE_ST_NINE
171 SUBDIRS += state_trackers/nine targets/d3dadapter9
172 endif
173
174 ##
175 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets
176 ##
177
178 EXTRA_DIST += \
179 include \
180 state_trackers/README \
181 state_trackers/wgl targets/libgl-gdi \
182 targets/graw-gdi targets/graw-null targets/graw-xlib \
183 state_trackers/hgl targets/haiku-softpipe \
184 tools
185
186
187 ##
188 ## Gallium tests
189 ##
190
191 if HAVE_GALLIUM_TESTS
192 SUBDIRS += \
193 tests/trivial \
194 tests/unit
195 endif
196
197 EXTRA_DIST += \
198 tests/graw \
199 tests/python