projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r600g/compute: PIPE_CAP_COMPUTE should be false for pre-evergreen GPUs
[mesa.git]
/
src
/
gallium
/
drivers
/
Makefile.am
diff --git
a/src/gallium/drivers/Makefile.am
b/src/gallium/drivers/Makefile.am
index 97c5695fa15f9c5c551d5fbcd6574ec0a6202219..f8baa3cf92c4a23249827603eefbef32a426d74b 100644
(file)
--- a/
src/gallium/drivers/Makefile.am
+++ b/
src/gallium/drivers/Makefile.am
@@
-1,70
+1,100
@@
AUTOMAKE_OPTIONS = subdir-objects
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
-SUBDIRS =
+################################################################################
+
+if HAVE_GALLIUM_R600
+
+SUBDIRS += radeon
+
+else
+
+if HAVE_GALLIUM_RADEONSI
+
+SUBDIRS += radeon
+
+endif
+
+endif
################################################################################
################################################################################
-if HAVE_GAL
AHAD_GALLIUM
+if HAVE_GAL
LIUM_FREEDRENO
-noinst_LIBRARIES+= galahad/libgalahad.a
+SUBDIRS += freedreno
-galahad_libgalahad_a_SOURCES = \
- galahad/glhd_objects.c \
- galahad/glhd_context.c \
- galahad/glhd_screen.c
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_I915
+
+SUBDIRS += i915
endif
################################################################################
endif
################################################################################
-if HAVE_
IDENTITY_GALLIUM
+if HAVE_
GALLIUM_ILO
-noinst_LIBRARIES+= identity/libidentity.a
+SUBDIRS += ilo
+
+endif
+
+################################################################################
-identity_libidentity_a_SOURCES = \
- identity/id_objects.c \
- identity/id_context.c \
- identity/id_screen.c
+if HAVE_GALLIUM_NOUVEAU
+
+SUBDIRS += nouveau
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_SVGA
+
+SUBDIRS += svga
+
+endif
+
+################################################################################
+
+if HAVE_GALLIUM_R300
+
+SUBDIRS += r300
endif
################################################################################
endif
################################################################################
-if HAVE_
NOOP_GALLIUM
+if HAVE_
GALLIUM_R600
-# Meta-driver which combines whichever software rasterizers have been
-# built into a single convenience library.
+SUBDIRS += r600
-noinst_LIBRARIES+= noop/libnoop.a
+endif
-noop_libnoop_a_SOURCES = \
- noop/noop_pipe.c \
- noop/noop_state.c
+################################################################################
+
+if HAVE_GALLIUM_RADEONSI
+
+SUBDIRS += radeonsi
endif
################################################################################
endif
################################################################################
-if NEED_
RADEON_GALLIUM
+if NEED_
GALLIUM_SOFTPIPE_DRIVER
-SUBDIRS
+= radeon
+SUBDIRS
+= softpipe
endif
################################################################################
endif
################################################################################
-SUBDIRS+= $(GALLIUM_MAKE_DIRS)
+if NEED_GALLIUM_LLVMPIPE_DRIVER
-# FIXME: Remove when the rest of Gallium is converted to automake.
-default: all
+SUBDIRS += llvmpipe
+endif