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