blob: 2fad717eb1641f82b6f5c58e1540ea8ed804ed5a [file] [log] [blame]
# src/gallium/winsys/sw/Makefile
TOP = ../../../..
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
ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
SUBDIRS += wayland
endif
default install clean:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE) $@) || exit 1; \
fi \
done