automake: compact gallium/target/Makefile into gallium/Makefile
[mesa.git] / src / gallium / Makefile.am
1 SUBDIRS =
2
3 ##
4 ## Gallium pipe drivers and their respective winsys'
5 ##
6
7 SUBDIRS += \
8 drivers/galahad \
9 drivers/identity \
10 drivers/noop \
11 drivers/trace \
12 drivers/rbug
13
14 ## freedreno/msm/kgsl
15 if HAVE_GALLIUM_FREEDRENO
16 SUBDIRS += drivers/freedreno winsys/freedreno/drm
17 endif
18
19 ## i915g/i915
20 if HAVE_GALLIUM_I915
21 SUBDIRS += drivers/i915 winsys/i915/drm
22 endif
23
24 ## ilo/i965
25 if HAVE_GALLIUM_ILO
26 SUBDIRS += drivers/ilo winsys/intel/drm
27 endif
28
29 ## nouveau
30 if HAVE_GALLIUM_NOUVEAU
31 SUBDIRS += drivers/nouveau winsys/nouveau/drm
32 endif
33
34 ## vmwgfx/svga
35 if HAVE_GALLIUM_SVGA
36 SUBDIRS += drivers/svga winsys/svga/drm
37 endif
38
39 ## r300
40 if HAVE_GALLIUM_R300
41 SUBDIRS += drivers/r300
42 endif
43
44 ## radeon - linked into r600 and radeonsi
45 if HAVE_GALLIUM_RADEON_COMMON
46 SUBDIRS += drivers/radeon
47 endif
48
49 ## r600
50 if HAVE_GALLIUM_R600
51 SUBDIRS += drivers/r600
52 endif
53
54 ## radeonsi
55 if HAVE_GALLIUM_RADEONSI
56 SUBDIRS += drivers/radeonsi
57 endif
58
59 ## the radeon winsys - linked in by r300, r600 and radeonsi
60 if NEED_RADEON_DRM_WINSYS
61 SUBDIRS += winsys/radeon/drm
62 endif
63
64 ## swrast/softpipe
65 if NEED_GALLIUM_SOFTPIPE_DRIVER
66 SUBDIRS += drivers/softpipe
67
68 ## swrast/llvmpipe
69 if NEED_GALLIUM_LLVMPIPE_DRIVER
70 SUBDIRS += drivers/llvmpipe
71 endif
72 endif
73
74 ## vc4/rpi
75 if HAVE_GALLIUM_VC4
76 SUBDIRS += drivers/vc4 winsys/vc4/drm
77 endif
78
79 ## the sw winsys'
80 SUBDIRS += winsys/sw/null
81
82 if NEED_WINSYS_XLIB
83 SUBDIRS += winsys/sw/xlib
84 endif
85
86 if HAVE_DRISW
87 SUBDIRS += winsys/sw/dri
88 endif
89
90 if HAVE_DRI2
91 SUBDIRS += winsys/sw/kms-dri
92 endif
93
94 if HAVE_EGL_PLATFORM_FBDEV
95 SUBDIRS += winsys/sw/fbdev
96 endif
97
98 if HAVE_EGL_PLATFORM_WAYLAND
99 SUBDIRS += winsys/sw/wayland
100 endif
101
102 if NEED_WINSYS_WRAPPER
103 SUBDIRS += winsys/sw/wrapper
104 endif
105
106
107 ##
108 ## Gallium state trackers and their users (targets)
109 ##
110
111 if NEED_GALLIUM_LOADER
112 SUBDIRS += targets/pipe-loader
113 endif
114
115 if HAVE_CLOVER
116 SUBDIRS += state_trackers/clover targets/opencl
117 endif
118
119 if HAVE_DRICOMMON
120 SUBDIRS += state_trackers/dri targets/dri
121 endif
122
123 ## the egl target depends on vega
124 if HAVE_OPENVG
125 SUBDIRS += state_trackers/vega
126 endif
127
128 if HAVE_GALLIUM_EGL
129 SUBDIRS += state_trackers/egl targets/egl-static
130 endif
131
132 if HAVE_GALLIUM_GBM
133 SUBDIRS += state_trackers/gbm targets/gbm
134 endif
135
136 if HAVE_X11_DRIVER
137 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
138 endif
139
140 if HAVE_ST_OMX
141 SUBDIRS += state_trackers/omx targets/omx
142 endif
143
144 if HAVE_GALLIUM_OSMESA
145 SUBDIRS += state_trackers/osmesa targets/osmesa
146 endif
147
148 if HAVE_ST_VDPAU
149 SUBDIRS += state_trackers/vdpau targets/vdpau
150 endif
151
152 if HAVE_ST_XA
153 SUBDIRS += state_trackers/xa targets/xa
154 endif
155
156 if HAVE_ST_XVMC
157 SUBDIRS += state_trackers/xvmc targets/xvmc
158 endif