summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-22 09:37:23 +0200
committerLuca Barbieri <[email protected]>2010-09-22 09:37:23 +0200
commitfeb9c8c510f2deb1267b17bc10a4aff49e482630 (patch)
treea2b6323f97d94601bf70af6bf02236d8b9f1564a /src/gallium/winsys
parenta0e510320009766faa5ff8c0ed744e87f8095df7 (diff)
winsys: automatically build sw winsys needed by EGL and d3d1x
A cleaner solution would be preferable, but this does no harm and works.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/sw/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/Makefile b/src/gallium/winsys/sw/Makefile
index e9182ea5b1b..094e811d57d 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 \