[Mesa-dev] [PATCH 03/26] targets/pipe-loader: link sw-wrapper and softpipe for svga/i915
Emil Velikov
emil.l.velikov at gmail.com
Thu Jun 12 12:56:23 PDT 2014
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/targets/pipe-loader/Makefile.am | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
index 500dfce..6faac72 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -65,6 +65,8 @@ pipe_LTLIBRARIES += pipe_i915.la
pipe_i915_la_SOURCES = pipe_i915.c
nodist_EXTRA_pipe_i915_la_SOURCES = dummy.cpp
+
+pipe_i915_la_CPPFLAGS = $(AM_CPPFLAGS)
pipe_i915_la_LIBADD = \
$(PIPE_LIBS) \
$(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \
@@ -72,6 +74,18 @@ pipe_i915_la_LIBADD = \
$(LIBDRM_LIBS) \
$(INTEL_LIBS)
+pipe_i915_la_CPPFLAGS += -DGALLIUM_SOFTPIPE
+pipe_i915_la_LIBADD += \
+ $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la \
+ $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
+
+if NEED_GALLIUM_LLVMPIPE_DRIVER
+
+pipe_i915_la_CPPFLAGS += -DGALLIUM_LLVMPIPE
+pipe_i915_la_LIBADD += \
+ $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la
+
+endif
endif
if HAVE_GALLIUM_NOUVEAU
@@ -153,29 +167,37 @@ pipe_LTLIBRARIES += pipe_vmwgfx.la
pipe_vmwgfx_la_SOURCES = pipe_vmwgfx.c
nodist_EXTRA_pipe_vmwgfx_la_SOURCES = dummy.cpp
+pipe_vmwgfx_la_CPPFLAGS = $(AM_CPPFLAGS)
pipe_vmwgfx_la_LIBADD = \
$(PIPE_LIBS) \
$(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \
$(top_builddir)/src/gallium/drivers/svga/libsvga.la \
$(LIBDRM_LIBS)
+pipe_vmwgfx_la_CPPFLAGS += -DGALLIUM_SOFTPIPE
+pipe_vmwgfx_la_LIBADD += \
+ $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la \
+ $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
+
endif
if HAVE_GALLIUM_SOFTPIPE
-AM_CPPFLAGS += -DGALLIUM_SOFTPIPE
-
pipe_LTLIBRARIES += pipe_swrast.la
+
pipe_swrast_la_SOURCES = pipe_swrast.c
nodist_EXTRA_pipe_swrast_la_SOURCES = dummy.cpp
+pipe_swrast_la_CPPFLAGS = $(AM_CPPFLAGS)
+pipe_swrast_la_CPPFLAGS += -DGALLIUM_SOFTPIPE
pipe_swrast_la_LIBADD = \
$(PIPE_LIBS) \
$(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
if HAVE_GALLIUM_LLVMPIPE
-AM_CPPFLAGS += -DGALLIUM_LLVMPIPE
+pipe_swrast_la_CPPFLAGS += -DGALLIUM_LLVMPIPE
pipe_swrast_la_LIBADD += \
$(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la
+
endif
endif
--
1.9.3
More information about the mesa-dev
mailing list