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