diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-15 17:50:12 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-15 17:50:12 +0900 |
commit | 6acd63a4980951727939c0dd545a0324965b3834 (patch) | |
tree | 29421a67b7dfafd7755a0e20d4762dbaf35cd47e /src/gallium/drivers/Makefile | |
parent | b642730be93149baa7556e5791393168ab396175 (diff) |
Code reorganization: update build.
Update the Makefiles and includes for the new paths.
Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
Diffstat (limited to 'src/gallium/drivers/Makefile')
-rw-r--r-- | src/gallium/drivers/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gallium/drivers/Makefile b/src/gallium/drivers/Makefile new file mode 100644 index 0000000000..c0345a9cb5 --- /dev/null +++ b/src/gallium/drivers/Makefile @@ -0,0 +1,24 @@ +TOP = ../../.. +include $(TOP)/configs/current + + +ifeq ($(CONFIG_NAME), linux-cell) +CELL_DIR = cell +endif + +SUBDIRS = softpipe i915simple i965simple failover pipebuffer $(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]` |