X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=projects%2FMakefile;h=b6228b87f9127b4ac32278cfb644a9327ad21f2d;hb=bb318c073e0442ad86aa499ed329058ebce9b4c7;hp=0489557731f70783ca8c30521bcb0439368d32f5;hpb=2f8b41738ed579f91105569243919ff12be0ba0a;p=oota-llvm.git diff --git a/projects/Makefile b/projects/Makefile index 0489557731f..b6228b87f91 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -1,6 +1,20 @@ +##===- projects/Makefile ------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## LEVEL=.. -DIRS= -OPTIONAL_DIRS:=$(shell ls | grep -v CVS) +include $(LEVEL)/Makefile.config -include $(LEVEL)/Makefile.common +DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) + +# Sparc cannot link shared libraries (libtool problem?) +ifeq ($(ARCH), Sparc) +DIRS := $(filter-out sample, $(DIRS)) +endif + +include $(PROJ_SRC_ROOT)/Makefile.rules