X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2FMakefile;h=79ca767f7e641e79e1482abce3568bb3dd78c31b;hb=fbe9d4261f94b8a22ae04dccb8201a6762b66d40;hp=d880d090c15b43ef7b2e2607117ad7003b7146e7;hpb=b642730be93149baa7556e5791393168ab396175;p=mesa.git diff --git a/src/gallium/Makefile b/src/gallium/Makefile index d880d090c15..79ca767f7e6 100644 --- a/src/gallium/Makefile +++ b/src/gallium/Makefile @@ -1,28 +1,12 @@ -TOP = ../../.. +# src/gallium/Makefile +TOP = ../.. include $(TOP)/configs/current +SUBDIRS = $(GALLIUM_DIRS) -ifeq ($(CONFIG_NAME), linux-cell) -CELL_DIR = cell -endif - -ifeq ($(CONFIG_NAME), linux-llvm) -LLVM_DIR = llvm -endif - -SUBDIRS = softpipe i915simple i965simple failover pipebuffer $(CELL_DIR) $(LLVM_DIR) - - -default: subdirs - - -subdirs: +default install clean: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir && $(MAKE)) || exit 1 ; \ + (cd $$dir && $(MAKE) $@) || exit 1; \ fi \ done - - -clean: - rm -f `find . -name \*.[oa]`