build: Get rid of GALLIUM_MAKE_DIRS

Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Matt Turner
2013-01-20 11:46:02 -08:00
parent 69b69b1a0b
commit 0d3b1b0e2e
3 changed files with 78 additions and 42 deletions
+70 -14
View File
@@ -11,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 = \
@@ -24,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 = \
@@ -37,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.
@@ -52,8 +42,6 @@ noop_libnoop_la_SOURCES = \
noop/noop_pipe.c \
noop/noop_state.c
endif
################################################################################
if HAVE_GALLIUM_R600
@@ -72,4 +60,72 @@ endif
################################################################################
SUBDIRS += $(GALLIUM_MAKE_DIRS)
if HAVE_GALLIUM_FREEDRENO
SUBDIRS += freedreno
endif
################################################################################
if HAVE_GALLIUM_I915
SUBDIRS += i915
endif
################################################################################
if HAVE_GALLIUM_NOUVEAU
SUBDIRS += nouveau nv30 nv50 nvc0
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
+1 -5
View File
@@ -39,16 +39,12 @@ PIPE_LIBS = \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(top_builddir)/src/gallium/drivers/rbug/librbug.la \
$(top_builddir)/src/gallium/drivers/trace/libtrace.la \
$(top_builddir)/src/gallium/drivers/galahad/libgalahad.la \
$(DLOPEN_LIBS) \
$(CLOCK_LIB) \
-lpthread \
-lm
if HAVE_GALAHAD_GALLIUM
PIPE_LIBS += $(top_builddir)/src/gallium/drivers/galahad/libgalahad.la
endif
if HAVE_GALLIUM_I915
pipe_LTLIBRARIES += pipe_i915.la
pipe_i915_la_SOURCES = pipe_i915.c