+if with_platform_haiku
+ subdir('frontends/hgl')
+ subdir('targets/haiku-softpipe')
+endif
+if with_gallium_st_nine
+ subdir('frontends/nine')
+ subdir('targets/d3dadapter9')
+endif
+if with_platform_windows
+ subdir('frontends/wgl')
+ subdir('targets/libgl-gdi')
+endif
+if with_tests
+ subdir('targets/graw-null')
+ if with_platform_windows
+ subdir('targets/graw-gdi')
+ elif with_glx == 'gallium-xlib'
+ subdir('targets/graw-xlib')
+ endif
+ subdir('tests')
+endif