summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-05-15 20:08:10 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-06-19 12:40:01 +0100
commit571b2467cad3f964046532e12dbdae258d4152df (patch)
treecf5f5e286a5534e504e1fb0a15903ad03678b413 /src/gallium/Automake.inc
parent86c30c6c5b0d06b36b369c29a0a9264a2d1819d9 (diff)
downloadexternal_mesa3d-571b2467cad3f964046532e12dbdae258d4152df.zip
external_mesa3d-571b2467cad3f964046532e12dbdae258d4152df.tar.gz
external_mesa3d-571b2467cad3f964046532e12dbdae258d4152df.tar.bz2
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@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc16
1 files changed, 16 insertions, 0 deletions
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