diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-12-02 15:23:51 -0700 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 12:05:24 +1100 |
commit | 1698cbde3029f047fe92107b3fd1176c258bd9a2 (patch) | |
tree | 5d5e6d18a8a337e64905f7e62650815a389dabb7 /src/mesa/pipe/Makefile | |
parent | e5d8ee205a8d6ef83381de9eff5dbef92b1c1a7e (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/Makefile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/src/mesa/pipe/Makefile b/src/mesa/pipe/Makefile index 7394ad7f61..5099b65885 100644 --- a/src/mesa/pipe/Makefile +++ b/src/mesa/pipe/Makefile @@ -1,9 +1,25 @@ -default: - cd softpipe ; make - cd i915simple ; make - cd failover ; make - cd nv40; make - cd nv50; make + +TOP = ../../.. +include $(TOP)/configs/current + + +ifeq ($(CONFIG_NAME), linux-cell) +CELL_DIR = cell +endif + +SUBDIRS = softpipe i915simple nv40 nv50 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]` |