John Criswell | e26ba9f | 2003-10-20 22:28:01 +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 | ##===----------------------------------------------------------------------===## |
John Criswell | 2f8b417 | 2003-06-30 22:12:19 +0000 | [diff] [blame] | 9 | LEVEL=.. |
| 10 | |
John Criswell | 9b3b5de | 2003-11-25 20:37:45 +0000 | [diff] [blame] | 11 | include $(LEVEL)/Makefile.config |
John Criswell | 2f8b417 | 2003-06-30 22:12:19 +0000 | [diff] [blame] | 12 | |
Reid Spencer | bdf6a39 | 2005-01-16 02:21:29 +0000 | [diff] [blame] | 13 | DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) |
John Criswell | 9b3b5de | 2003-11-25 20:37:45 +0000 | [diff] [blame] | 14 | |
Misha Brukman | b921012 | 2004-09-13 22:42:54 +0000 | [diff] [blame] | 15 | # Sparc cannot link shared libraries (libtool problem?) which Stacker uses |
| 16 | ifeq ($(ARCH), Sparc) |
| 17 | DIRS := $(filter-out Stacker, $(DIRS)) |
Misha Brukman | 1cf70ff | 2004-09-14 18:21:03 +0000 | [diff] [blame] | 18 | DIRS := $(filter-out sample, $(DIRS)) |
Misha Brukman | b921012 | 2004-09-13 22:42:54 +0000 | [diff] [blame] | 19 | endif |
| 20 | |
Reid Spencer | bdf6a39 | 2005-01-16 02:21:29 +0000 | [diff] [blame] | 21 | include $(PROJ_SRC_ROOT)/Makefile.rules |