r600g/compute: PIPE_CAP_COMPUTE should be false for pre-evergreen GPUs
[mesa.git] / src / gallium / drivers / Makefile.am
index b6954e2d94a06e0d69ea4987e687987b46c035fd..f8baa3cf92c4a23249827603eefbef32a426d74b 100644 (file)
@@ -1,4 +1,100 @@
-SUBDIRS = $(GALLIUM_DRIVERS_DIRS)
+AUTOMAKE_OPTIONS = subdir-objects
 
-# FIXME: Remove when the rest of Gallium is converted to automake.
-default: all
+
+SUBDIRS = . galahad identity noop trace rbug
+
+################################################################################
+
+if HAVE_GALLIUM_R600
+
+SUBDIRS += radeon
+
+else
+
+if HAVE_GALLIUM_RADEONSI
+
+SUBDIRS += radeon
+
+endif
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_FREEDRENO
+
+SUBDIRS += freedreno
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_I915
+
+SUBDIRS += i915
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_ILO
+
+SUBDIRS += ilo
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_NOUVEAU
+
+SUBDIRS += nouveau
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_SVGA
+
+SUBDIRS += svga
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_R300
+
+SUBDIRS += r300
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_R600
+
+SUBDIRS += r600
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_RADEONSI
+
+SUBDIRS += radeonsi
+
+endif
+
+################################################################################
+
+if NEED_GALLIUM_SOFTPIPE_DRIVER
+
+SUBDIRS += softpipe
+
+endif
+
+################################################################################
+
+if NEED_GALLIUM_LLVMPIPE_DRIVER
+
+SUBDIRS += llvmpipe
+
+endif