Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ##===- projects/Makefile ------------------------------*- Makefile -*-===## |
| 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
| 5 | # This file was developed by the LLVM research group and is distributed under |
| 6 | # the University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
| 9 | LEVEL=.. |
| 10 | |
| 11 | include $(LEVEL)/Makefile.config |
| 12 | |
| 13 | DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) |
| 14 | |
| 15 | # Sparc cannot link shared libraries (libtool problem?) |
| 16 | ifeq ($(ARCH), Sparc) |
| 17 | DIRS := $(filter-out sample, $(DIRS)) |
| 18 | endif |
| 19 | |
| 20 | include $(PROJ_SRC_ROOT)/Makefile.rules |