Merge remote branch 'origin/master' into pipe-video
[mesa.git] / src / gallium / winsys / sw / Makefile
1 # src/gallium/winsys/sw/Makefile
2 TOP = ../../../..
3 include $(TOP)/configs/current
4
5 SUBDIRS = null wrapper
6
7 # TODO: this should go through a further indirection level
8 # (i.e. EGL should set a variable that is checked here)
9 ifneq ($(findstring x11, $(EGL_PLATFORMS)),)
10 SUBDIRS += xlib
11 endif
12
13 ifneq ($(findstring fbdev, $(EGL_PLATFORMS)),)
14 SUBDIRS += fbdev
15 endif
16
17 default install clean:
18 @for dir in $(SUBDIRS) ; do \
19 if [ -d $$dir ] ; then \
20 (cd $$dir && $(MAKE) $@) || exit 1; \
21 fi \
22 done