configure: use HAVE_DRISW_KMS when handling kms swrast
[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/ddebug \
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 SUBDIRS += winsys/amdgpu/drm
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 ## virgl
86 if HAVE_GALLIUM_VIRGL
87 SUBDIRS += drivers/virgl winsys/virgl/drm winsys/virgl/vtest
88 endif
89
90 ## the sw winsys'
91 SUBDIRS += winsys/sw/null
92
93 if NEED_WINSYS_XLIB
94 SUBDIRS += winsys/sw/xlib
95 endif
96
97 if HAVE_DRISW
98 SUBDIRS += winsys/sw/dri
99 endif
100
101 if HAVE_DRISW_KMS
102 SUBDIRS += winsys/sw/kms-dri
103 endif
104
105 SUBDIRS += winsys/sw/wrapper
106
107 ##
108 ## Don't forget to bundle the remaining (non autotools) winsys'
109 ##
110
111 EXTRA_DIST = \
112 docs \
113 README.portability \
114 SConscript \
115 winsys/sw/gdi \
116 winsys/sw/hgl
117
118
119 ##
120 ## Gallium state trackers and their users (targets)
121 ##
122
123 if HAVE_LOADER_GALLIUM
124 SUBDIRS += targets/pipe-loader
125 endif
126
127 if HAVE_CLOVER
128 SUBDIRS += state_trackers/clover targets/opencl
129 endif
130
131 if HAVE_DRICOMMON
132 SUBDIRS += state_trackers/dri targets/dri
133 endif
134
135 if HAVE_X11_DRIVER
136 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
137 endif
138
139 if HAVE_ST_OMX
140 SUBDIRS += state_trackers/omx targets/omx
141 endif
142
143 if HAVE_GALLIUM_OSMESA
144 SUBDIRS += state_trackers/osmesa targets/osmesa
145 endif
146
147 if HAVE_ST_VA
148 SUBDIRS += state_trackers/va targets/va
149 endif
150
151 if HAVE_ST_VDPAU
152 SUBDIRS += state_trackers/vdpau targets/vdpau
153 endif
154
155 if HAVE_ST_XA
156 SUBDIRS += state_trackers/xa targets/xa
157 endif
158
159 if HAVE_ST_XVMC
160 SUBDIRS += state_trackers/xvmc targets/xvmc
161 endif
162
163 if HAVE_ST_NINE
164 SUBDIRS += state_trackers/nine targets/d3dadapter9
165 endif
166
167 ##
168 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets
169 ##
170
171 EXTRA_DIST += \
172 include \
173 state_trackers/README \
174 state_trackers/wgl targets/libgl-gdi \
175 targets/graw-gdi targets/graw-null targets/graw-xlib \
176 state_trackers/hgl targets/haiku-softpipe \
177 tools
178
179
180 ##
181 ## Gallium tests
182 ##
183
184 if HAVE_GALLIUM_TESTS
185 SUBDIRS += \
186 tests/trivial \
187 tests/unit
188 endif
189
190 EXTRA_DIST += \
191 tests/graw \
192 tests/python