Mesa (master): automake: introduce helper variable

Emil Velikov evelikov at kemper.freedesktop.org
Thu Jun 19 11:47:19 UTC 2014


Module: Mesa
Branch: master
Commit: 571b2467cad3f964046532e12dbdae258d4152df
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=571b2467cad3f964046532e12dbdae258d4152df

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu May 15 20:08:10 2014 +0100

automake: introduce helper variable

- gallium_pipe_loader_winsys_libs

Will be used in upcomming commits to reduce duplication
in the build.

v2: Drop the megadriver/static_target variables.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 src/gallium/Automake.inc |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index 97735ab..d55acc9 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -151,3 +151,19 @@ GALLIUM_XVMC_LIB_DEPS += $(LLVM_LIBS)
 GALLIUM_OMX_LIB_DEPS += $(LLVM_LIBS)
 
 endif
+
+
+GALLIUM_PIPE_LOADER_WINSYS_LIBS = \
+	$(top_builddir)/src/gallium/winsys/sw/null/libws_null.la
+
+if HAVE_DRISW
+GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
+	$(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
+endif
+
+if NEED_WINSYS_XLIB
+GALLIUM_PIPE_LOADER_WINSYS_LIBS += \
+	$(top_builddir)/src/gallium/winsys/sw/xlib/libws_xlib.la \
+	-lX11 -lXext -lXfixes \
+	$(LIBDRM_LIBS)
+endif




More information about the mesa-commit mailing list