gallium/radeon: allow the winsys to choose the IB size
[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 endif
62
63 ## the radeon winsys - linked in by r300, r600 and radeonsi
64 if NEED_RADEON_DRM_WINSYS
65 SUBDIRS += winsys/radeon/drm
66 endif
67
68 ## swrast/softpipe
69 if HAVE_GALLIUM_SOFTPIPE
70 SUBDIRS += drivers/softpipe
71
72 ## swrast/llvmpipe
73 if HAVE_GALLIUM_LLVMPIPE
74 SUBDIRS += drivers/llvmpipe
75 endif
76 endif
77
78 ## vc4/rpi
79 if HAVE_GALLIUM_VC4
80 SUBDIRS += drivers/vc4 winsys/vc4/drm
81 endif
82
83 ## the sw winsys'
84 SUBDIRS += winsys/sw/null
85
86 if NEED_WINSYS_XLIB
87 SUBDIRS += winsys/sw/xlib
88 endif
89
90 if HAVE_DRISW
91 SUBDIRS += winsys/sw/dri
92 endif
93
94 if HAVE_DRI2
95 SUBDIRS += winsys/sw/kms-dri
96 endif
97
98 SUBDIRS += winsys/sw/wrapper
99
100 ##
101 ## Don't forget to bundle the remaining (non autotools) winsys'
102 ##
103
104 EXTRA_DIST = \
105 docs \
106 README.portability \
107 SConscript \
108 winsys/sw/gdi \
109 winsys/sw/hgl
110
111
112 ##
113 ## Gallium state trackers and their users (targets)
114 ##
115
116 if HAVE_LOADER_GALLIUM
117 SUBDIRS += targets/pipe-loader
118 endif
119
120 if HAVE_CLOVER
121 SUBDIRS += state_trackers/clover targets/opencl
122 endif
123
124 if HAVE_DRICOMMON
125 SUBDIRS += state_trackers/dri targets/dri
126 endif
127
128 if HAVE_X11_DRIVER
129 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
130 endif
131
132 if HAVE_ST_OMX
133 SUBDIRS += state_trackers/omx targets/omx
134 endif
135
136 if HAVE_GALLIUM_OSMESA
137 SUBDIRS += state_trackers/osmesa targets/osmesa
138 endif
139
140 if HAVE_ST_VA
141 SUBDIRS += state_trackers/va targets/va
142 endif
143
144 if HAVE_ST_VDPAU
145 SUBDIRS += state_trackers/vdpau targets/vdpau
146 endif
147
148 if HAVE_ST_XA
149 SUBDIRS += state_trackers/xa targets/xa
150 endif
151
152 if HAVE_ST_XVMC
153 SUBDIRS += state_trackers/xvmc targets/xvmc
154 endif
155
156 if HAVE_ST_NINE
157 SUBDIRS += state_trackers/nine targets/d3dadapter9
158 endif
159
160 ##
161 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets
162 ##
163
164 EXTRA_DIST += \
165 include \
166 state_trackers/README \
167 state_trackers/wgl targets/libgl-gdi \
168 targets/graw-gdi targets/graw-null targets/graw-xlib \
169 state_trackers/hgl targets/haiku-softpipe \
170 tools
171
172
173 ##
174 ## Gallium tests
175 ##
176
177 if HAVE_GALLIUM_TESTS
178 SUBDIRS += \
179 tests/trivial \
180 tests/unit
181 endif
182
183 EXTRA_DIST += \
184 tests/graw \
185 tests/python