| John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 1 | ##===- runtime/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 | ##===----------------------------------------------------------------------===## |
| Chris Lattner | d11df3c | 2003-08-15 02:38:18 +0000 | [diff] [blame] | 9 | # llvm/runtime Makefile: Build all subdirectories automatically |
| Chris Lattner | 7aeed26 | 2002-01-23 19:57:59 +0000 | [diff] [blame] | 10 | |
| Chris Lattner | d11df3c | 2003-08-15 02:38:18 +0000 | [diff] [blame] | 11 | LEVEL = .. |
| Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 12 | include $(LEVEL)/Makefile.config |
| Chris Lattner | b5da746 | 2003-12-08 20:12:46 +0000 | [diff] [blame] | 13 | |
| Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 14 | ifneq ($(wildcard $(LLVMGCCDIR)),) |
| Chris Lattner | 8ad864a | 2004-05-23 21:26:29 +0000 | [diff] [blame^] | 15 | PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC |
| Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 16 | else |
| 17 | PARALLEL_DIRS := |
| Chris Lattner | b5da746 | 2003-12-08 20:12:46 +0000 | [diff] [blame] | 18 | install all :: |
| Brian Gaeke | e9dd3f1 | 2003-11-16 06:51:53 +0000 | [diff] [blame] | 19 | @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check |
| 20 | @echo '********' Warning: llvm/Makefile.config to make sure it matches |
| 21 | @echo '********' Warning: the directory where the C front-end is installed, |
| 22 | @echo '********' Warning: and re-run configure if it does not. |
| 23 | endif |
| Chris Lattner | c1e20ac | 2002-03-08 23:20:52 +0000 | [diff] [blame] | 24 | |
| Chris Lattner | d11df3c | 2003-08-15 02:38:18 +0000 | [diff] [blame] | 25 | include $(LEVEL)/Makefile.common |
| Chris Lattner | c1e20ac | 2002-03-08 23:20:52 +0000 | [diff] [blame] | 26 | |
| Brian Gaeke | 9715fcd | 2004-01-16 21:13:10 +0000 | [diff] [blame] | 27 | # Install target for libraries: Copy into the 'bytecode-libs' subdirectory |
| 28 | # of LLVMGCCDIR. (On the UIUC machines, this is in Chris's home directory.) |
| Chris Lattner | c1e20ac | 2002-03-08 23:20:52 +0000 | [diff] [blame] | 29 | # |
| 30 | install:: |
| Chris Lattner | 0305141 | 2002-02-26 21:48:24 +0000 | [diff] [blame] | 31 | |
| 32 | clean:: |
| Brian Gaeke | 3b9f445 | 2004-02-04 21:40:49 +0000 | [diff] [blame] | 33 | rm -f $(DESTLIBBYTECODE)/* |
| 34 | |