summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/Makefile
blob: 094e811d57da3ad89a1c59ab70122a2002310986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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

default install clean:
	@for dir in $(SUBDIRS) ; do \
		if [ -d $$dir ] ; then \
			(cd $$dir && $(MAKE) $@) || exit 1; \
		fi \
	done