summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/Makefile
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-02 15:23:51 -0700
committerBrian <[email protected]>2007-12-02 15:23:51 -0700
commit88b715b049efa81f4021d642a963b58113a875cf (patch)
treeace902bbc0480836b8d1e17cfb37528c5715db0f /src/mesa/pipe/Makefile
parent233c374d02a99ecd0c2ddc6f11f305ae8783fc97 (diff)
Initial Cell driver infrastructure.
No real code yet. Just stand-ins and make/build infrastructure.
Diffstat (limited to 'src/mesa/pipe/Makefile')
-rw-r--r--src/mesa/pipe/Makefile26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/mesa/pipe/Makefile b/src/mesa/pipe/Makefile
index d448f3f5a6a..a9dc393417d 100644
--- a/src/mesa/pipe/Makefile
+++ b/src/mesa/pipe/Makefile
@@ -1,7 +1,25 @@
-default:
- cd softpipe ; make
- cd i915simple ; make
- cd failover ; make
+
+TOP = ../../..
+include $(TOP)/configs/current
+
+
+ifeq ($(CONFIG_NAME), linux-cell)
+CELL_DIR = cell
+endif
+
+SUBDIRS = softpipe i915simple failover $(CELL_DIR)
+
+
+default: subdirs
+
+
+subdirs:
+ @for dir in $(SUBDIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir && $(MAKE)) || exit 1 ; \
+ fi \
+ done
+
clean:
rm -f `find . -name \*.[oa]` \ No newline at end of file