John Criswell | e26ba9f | 2003-10-20 22:28:01 +0000 | [diff] [blame] | 1 | ##===- projects/Makefile ------------------------------*- Makefile -*-===## |
| 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | 57360d1 | 2007-12-29 20:11:13 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
John Criswell | e26ba9f | 2003-10-20 22:28:01 +0000 | [diff] [blame] | 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 | |
Matthijs Kooijman | 5b80c66 | 2008-06-24 13:01:57 +0000 | [diff] [blame] | 13 | # Compile all subdirs, except for the test suite, which lives in test-suite. |
| 14 | # Before 2008.06.24 it lived in llvm-test, so exclude that as well for now. |
| 15 | DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) |
John Criswell | 9b3b5de | 2003-11-25 20:37:45 +0000 | [diff] [blame] | 16 | |
Chris Lattner | de8dacf | 2007-01-17 05:26:57 +0000 | [diff] [blame] | 17 | # Sparc cannot link shared libraries (libtool problem?) |
Misha Brukman | b921012 | 2004-09-13 22:42:54 +0000 | [diff] [blame] | 18 | ifeq ($(ARCH), Sparc) |
Misha Brukman | 1cf70ff | 2004-09-14 18:21:03 +0000 | [diff] [blame] | 19 | DIRS := $(filter-out sample, $(DIRS)) |
Misha Brukman | b921012 | 2004-09-13 22:42:54 +0000 | [diff] [blame] | 20 | endif |
| 21 | |
Reid Spencer | bdf6a39 | 2005-01-16 02:21:29 +0000 | [diff] [blame] | 22 | include $(PROJ_SRC_ROOT)/Makefile.rules |