Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 1 | ##===- runtime/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. |
Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
| 9 | |
| 10 | LEVEL = .. |
| 11 | include $(LEVEL)/Makefile.config |
| 12 | |
Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 13 | ifneq ($(wildcard $(LLVMGCC)),) |
Gordon Henriksen | 6da385e | 2009-03-02 03:46:48 +0000 | [diff] [blame] | 14 | PARALLEL_DIRS := libprofile |
Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 15 | else |
| 16 | PARALLEL_DIRS := |
| 17 | install all :: |
| 18 | @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check |
| 19 | @echo '********' Warning: llvm/Makefile.config to make sure it matches |
| 20 | @echo '********' Warning: the directory where the C front-end is |
| 21 | @echo '********' Warning: installed,and re-run configure if it does not. |
| 22 | endif |
| 23 | |
| 24 | # Disable libprofile: a faulty libtool is generated by autoconf which breaks the |
| 25 | # build on Sparc |
| 26 | ifeq ($(ARCH), Sparc) |
| 27 | PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) |
| 28 | endif |
Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 29 | |
| 30 | include $(LEVEL)/Makefile.common |
| 31 | |
| 32 | # Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs |
| 33 | # |
| 34 | install:: |
| 35 | |