Misha Brukman | 1757ae9 | 2004-08-09 20:07:44 +0000 | [diff] [blame] | 1 | ##===- runtime/Makefile ------------------------------------*- Makefile -*-===## |
John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 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 | ##===----------------------------------------------------------------------===## |
Chris Lattner | 7aeed26 | 2002-01-23 19:57:59 +0000 | [diff] [blame] | 9 | |
Chris Lattner | d11df3c | 2003-08-15 02:38:18 +0000 | [diff] [blame] | 10 | LEVEL = .. |
Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 11 | include $(LEVEL)/Makefile.config |
Chris Lattner | b5da746 | 2003-12-08 20:12:46 +0000 | [diff] [blame] | 12 | |
Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 13 | ifneq ($(wildcard $(LLVMGCCDIR)),) |
Chris Lattner | 8378294 | 2004-12-15 08:15:48 +0000 | [diff] [blame] | 14 | PARALLEL_DIRS := GCCLibraries libdummy libtrace GC |
Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 15 | else |
| 16 | PARALLEL_DIRS := |
Chris Lattner | b5da746 | 2003-12-08 20:12:46 +0000 | [diff] [blame] | 17 | install all :: |
Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 18 | @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check |
| 19 | @echo '********' Warning: llvm/Makefile.config to make sure it matches |
| 20 | @echo '********' Warning: the directory where the C front-end is installed, |
| 21 | @echo '********' Warning: and re-run configure if it does not. |
| 22 | endif |
Chris Lattner | c1e20ac | 2002-03-08 23:20:52 +0000 | [diff] [blame] | 23 | |
Misha Brukman | 6f22256 | 2004-09-08 20:30:26 +0000 | [diff] [blame] | 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 |
| 29 | |
Chris Lattner | d11df3c | 2003-08-15 02:38:18 +0000 | [diff] [blame] | 30 | include $(LEVEL)/Makefile.common |
Chris Lattner | c1e20ac | 2002-03-08 23:20:52 +0000 | [diff] [blame] | 31 | |
Misha Brukman | 1757ae9 | 2004-08-09 20:07:44 +0000 | [diff] [blame] | 32 | # Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs |
Chris Lattner | c1e20ac | 2002-03-08 23:20:52 +0000 | [diff] [blame] | 33 | # |
| 34 | install:: |