freedreno/a3xx: add support for frag coord/face
[mesa.git] / src / gallium / drivers / Makefile.am
index 6a0a2472c169adf26e57ee953fe8f177446a562f..f8baa3cf92c4a23249827603eefbef32a426d74b 100644 (file)
 AUTOMAKE_OPTIONS = subdir-objects
 
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src/gallium/include \
-       -I$(top_srcdir)/src/gallium/auxiliary \
-       -I$(top_srcdir)/src/gallium/drivers \
-       $(DEFINES) \
-       $(ASM_FLAGS) \
-       $(PIC_FLAGS)
 
-noinst_LIBRARIES =
+SUBDIRS = . galahad identity noop trace rbug
 
 ################################################################################
 
-if HAVE_GALAHAD_GALLIUM
+if HAVE_GALLIUM_R600
 
-noinst_LIBRARIES+= galahad/libgalahad.a
+SUBDIRS += radeon
 
-galahad_libgalahad_a_SOURCES = \
-       galahad/glhd_objects.c \
-       galahad/glhd_context.c \
-       galahad/glhd_screen.c
+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
 
 ################################################################################
 
-SUBDIRS = $(GALLIUM_MAKE_DIRS)
+if NEED_GALLIUM_SOFTPIPE_DRIVER
+
+SUBDIRS += softpipe
 
-# FIXME: Remove when the rest of Gallium is converted to automake.
-default: all
+endif
+
+################################################################################
+
+if NEED_GALLIUM_LLVMPIPE_DRIVER
+
+SUBDIRS += llvmpipe
+
+endif