st/egl: Remove.
[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 if HAVE_EGL_PLATFORM_WAYLAND
104 SUBDIRS += winsys/sw/wayland
105 endif
106
107 SUBDIRS += winsys/sw/wrapper
108
109 ##
110 ## Don't forget to bundle the remaining (non autotools) winsys'
111 ##
112
113 EXTRA_DIST = \
114 docs \
115 README.portability \
116 SConscript \
117 state_trackers/gbm \
118 targets/gbm \
119 winsys/sw/gdi \
120 winsys/sw/hgl
121
122
123 ##
124 ## Gallium state trackers and their users (targets)
125 ##
126
127 if HAVE_LOADER_GALLIUM
128 SUBDIRS += targets/pipe-loader
129 endif
130
131 if HAVE_CLOVER
132 SUBDIRS += state_trackers/clover targets/opencl
133 endif
134
135 if HAVE_DRICOMMON
136 SUBDIRS += state_trackers/dri targets/dri
137 endif
138
139 ## the egl target depends on vega
140 if HAVE_OPENVG
141 SUBDIRS += state_trackers/vega
142 endif
143
144 if HAVE_X11_DRIVER
145 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
146 endif
147
148 if HAVE_ST_OMX
149 SUBDIRS += state_trackers/omx targets/omx
150 endif
151
152 if HAVE_GALLIUM_OSMESA
153 SUBDIRS += state_trackers/osmesa targets/osmesa
154 endif
155
156 if HAVE_ST_VA
157 SUBDIRS += state_trackers/va targets/va
158 endif
159
160 if HAVE_ST_VDPAU
161 SUBDIRS += state_trackers/vdpau targets/vdpau
162 endif
163
164 if HAVE_ST_XA
165 SUBDIRS += state_trackers/xa targets/xa
166 endif
167
168 if HAVE_ST_XVMC
169 SUBDIRS += state_trackers/xvmc targets/xvmc
170 endif
171
172 if HAVE_ST_NINE
173 SUBDIRS += state_trackers/nine targets/d3dadapter9
174 endif
175
176 ##
177 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets
178 ##
179
180 EXTRA_DIST += \
181 include \
182 state_trackers/README \
183 state_trackers/wgl targets/libgl-gdi \
184 targets/graw-gdi targets/graw-null targets/graw-xlib \
185 state_trackers/hgl targets/haiku-softpipe \
186 tools
187
188
189 ##
190 ## Gallium tests
191 ##
192
193 if HAVE_GALLIUM_TESTS
194 SUBDIRS += \
195 tests/trivial \
196 tests/unit
197 endif
198
199 EXTRA_DIST += \
200 tests/graw \
201 tests/python