freedreno/a3xx: use INDIRECT state load for shaders
[mesa.git] / src / gallium / drivers / Makefile.am
index 25d9533c9496d97123fca15522bc025a8a54853e..171d102dad83147e12c46bf50d39afbfe84efb45 100644 (file)
@@ -1,6 +1,7 @@
 AUTOMAKE_OPTIONS = subdir-objects
 
 AM_CPPFLAGS = \
+       -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/gallium/include \
        -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/gallium/drivers \
@@ -10,12 +11,10 @@ AM_CFLAGS = $(VISIBILITY_CFLAGS)
 
 noinst_LTLIBRARIES =
 
-SUBDIRS = .
+SUBDIRS = . trace rbug
 
 ################################################################################
 
-if HAVE_GALAHAD_GALLIUM
-
 noinst_LTLIBRARIES += galahad/libgalahad.la
 
 galahad_libgalahad_la_SOURCES = \
@@ -23,12 +22,8 @@ galahad_libgalahad_la_SOURCES = \
        galahad/glhd_context.c \
        galahad/glhd_screen.c
 
-endif
-
 ################################################################################
 
-if HAVE_IDENTITY_GALLIUM
-
 noinst_LTLIBRARIES += identity/libidentity.la
 
 identity_libidentity_la_SOURCES = \
@@ -36,12 +31,8 @@ identity_libidentity_la_SOURCES = \
        identity/id_context.c \
        identity/id_screen.c
 
-endif
-
 ################################################################################
 
-if HAVE_NOOP_GALLIUM
-
 # Meta-driver which combines whichever software rasterizers have been
 # built into a single convenience library.
 
@@ -51,16 +42,98 @@ noop_libnoop_la_SOURCES = \
        noop/noop_pipe.c \
        noop/noop_state.c
 
+################################################################################
+
+if HAVE_GALLIUM_R600
+
+SUBDIRS += radeon
+
+else
+
+if HAVE_GALLIUM_RADEONSI
+
+SUBDIRS += radeon
+
+endif
+
 endif
 
 ################################################################################
 
-if NEED_RADEON_GALLIUM
+if HAVE_GALLIUM_FREEDRENO
 
-SUBDIRS += radeon
+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
 
 ################################################################################
 
-SUBDIRS += $(GALLIUM_MAKE_DIRS)
+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