Merge remote-tracking branch 'mesa-public/master' into vulkan
[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/noop \
15 drivers/trace \
16 drivers/rbug
17
18 ## freedreno/msm/kgsl
19 if HAVE_GALLIUM_FREEDRENO
20 SUBDIRS += drivers/freedreno winsys/freedreno/drm
21 endif
22
23 ## i915g/i915
24 if HAVE_GALLIUM_I915
25 SUBDIRS += drivers/i915 winsys/i915/drm
26 endif
27
28 ## ilo/i965
29 if HAVE_GALLIUM_ILO
30 SUBDIRS += drivers/ilo winsys/intel/drm
31 endif
32
33 ## nouveau
34 if HAVE_GALLIUM_NOUVEAU
35 SUBDIRS += drivers/nouveau winsys/nouveau/drm
36 endif
37
38 ## vmwgfx/svga
39 if HAVE_GALLIUM_SVGA
40 SUBDIRS += drivers/svga winsys/svga/drm
41 endif
42
43 ## r300
44 if HAVE_GALLIUM_R300
45 SUBDIRS += drivers/r300
46 endif
47
48 ## radeon - linked into r600 and radeonsi
49 if HAVE_GALLIUM_RADEON_COMMON
50 SUBDIRS += drivers/radeon
51 endif
52
53 ## r600
54 if HAVE_GALLIUM_R600
55 SUBDIRS += drivers/r600
56 endif
57
58 ## radeonsi
59 if HAVE_GALLIUM_RADEONSI
60 SUBDIRS += drivers/radeonsi
61 SUBDIRS += winsys/amdgpu/drm
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 SUBDIRS += winsys/sw/wrapper
100
101 ##
102 ## Don't forget to bundle the remaining (non autotools) winsys'
103 ##
104
105 EXTRA_DIST = \
106 docs \
107 README.portability \
108 SConscript \
109 winsys/sw/gdi \
110 winsys/sw/hgl
111
112
113 ##
114 ## Gallium state trackers and their users (targets)
115 ##
116
117 if HAVE_LOADER_GALLIUM
118 SUBDIRS += targets/pipe-loader
119 endif
120
121 if HAVE_CLOVER
122 SUBDIRS += state_trackers/clover targets/opencl
123 endif
124
125 if HAVE_DRICOMMON
126 SUBDIRS += state_trackers/dri targets/dri
127 endif
128
129 if HAVE_X11_DRIVER
130 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
131 endif
132
133 if HAVE_ST_OMX
134 SUBDIRS += state_trackers/omx targets/omx
135 endif
136
137 if HAVE_GALLIUM_OSMESA
138 SUBDIRS += state_trackers/osmesa targets/osmesa
139 endif
140
141 if HAVE_ST_VA
142 SUBDIRS += state_trackers/va targets/va
143 endif
144
145 if HAVE_ST_VDPAU
146 SUBDIRS += state_trackers/vdpau targets/vdpau
147 endif
148
149 if HAVE_ST_XA
150 SUBDIRS += state_trackers/xa targets/xa
151 endif
152
153 if HAVE_ST_XVMC
154 SUBDIRS += state_trackers/xvmc targets/xvmc
155 endif
156
157 if HAVE_ST_NINE
158 SUBDIRS += state_trackers/nine targets/d3dadapter9
159 endif
160
161 ##
162 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets
163 ##
164
165 EXTRA_DIST += \
166 include \
167 state_trackers/README \
168 state_trackers/wgl targets/libgl-gdi \
169 targets/graw-gdi targets/graw-null targets/graw-xlib \
170 state_trackers/hgl targets/haiku-softpipe \
171 tools
172
173
174 ##
175 ## Gallium tests
176 ##
177
178 if HAVE_GALLIUM_TESTS
179 SUBDIRS += \
180 tests/trivial \
181 tests/unit
182 endif
183
184 EXTRA_DIST += \
185 tests/graw \
186 tests/python