Mesa (master): winsys: automatically build sw winsys needed by EGL and d3d1x
Luca Barbieri
lb at kemper.freedesktop.org
Wed Sep 22 09:39:02 UTC 2010
Module: Mesa
Branch: master
Commit: feb9c8c510f2deb1267b17bc10a4aff49e482630
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=feb9c8c510f2deb1267b17bc10a4aff49e482630
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Wed Sep 22 09:37:23 2010 +0200
winsys: automatically build sw winsys needed by EGL and d3d1x
A cleaner solution would be preferable, but this does no harm and works.
---
src/gallium/winsys/sw/Makefile | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/gallium/winsys/sw/Makefile b/src/gallium/winsys/sw/Makefile
index e9182ea..094e811 100644
--- a/src/gallium/winsys/sw/Makefile
+++ b/src/gallium/winsys/sw/Makefile
@@ -4,6 +4,16 @@ include $(TOP)/configs/current
SUBDIRS = null wrapper
+# TODO: this should go through a further indirection level
+# (i.e. EGL should set a variable that is checked here)
+ifneq ($(findstring x11, $(EGL_PLATFORMS)),)
+SUBDIRS += xlib
+endif
+
+ifneq ($(findstring fbdev, $(EGL_PLATFORMS)),)
+SUBDIRS += fbdev
+endif
+
default install clean:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
More information about the mesa-commit
mailing list