Chris Lattner | 6d47bae | 2004-01-05 05:28:15 +0000 | [diff] [blame] | 1 | ##===- tools/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 | 6d47bae | 2004-01-05 05:28:15 +0000 | [diff] [blame] | 9 | |
Chris Lattner | 698e9ce | 2002-12-06 03:53:40 +0000 | [diff] [blame] | 10 | LEVEL := .. |
Reid Spencer | b590a75 | 2006-08-23 00:12:11 +0000 | [diff] [blame] | 11 | # Note .. the tools are organized in triples consisting of one large and two |
| 12 | # small executables. This is done to minimize memory load in parallel builds. |
| 13 | # Please retain this ordering. |
| 14 | PARALLEL_DIRS := llvm-config \ |
| 15 | opt llvm-as llvm-dis \ |
| 16 | llc llvm-ranlib llvm-ar \ |
| 17 | lli llvm-link llvm-nm \ |
| 18 | bugpoint llvm-db llvm-extract \ |
| 19 | gccas llvm-bcanalyzer llvm-stub \ |
| 20 | gccld llvm2cpp \ |
Anton Korobeynikov | 294492b | 2006-09-08 18:00:43 +0000 | [diff] [blame] | 21 | llvm-ld llvmc llvm-prof |
Chris Lattner | 70c3537 | 2006-09-08 18:08:50 +0000 | [diff] [blame] | 22 | |
Chris Lattner | cf8cb6d | 2006-09-08 18:33:49 +0000 | [diff] [blame] | 23 | include $(LEVEL)/Makefile.config |
Chris Lattner | 70c3537 | 2006-09-08 18:08:50 +0000 | [diff] [blame] | 24 | |
| 25 | # Disable liblto on non-darwin platforms right now until LLVM is built PIC. |
Anton Korobeynikov | 294492b | 2006-09-08 18:00:43 +0000 | [diff] [blame] | 26 | ifeq ($(OS), Darwin) |
| 27 | PARALLEL_DIRS += lto |
| 28 | endif |
Reid Spencer | ac28588 | 2006-05-30 21:20:55 +0000 | [diff] [blame] | 29 | |
Chris Lattner | cf8cb6d | 2006-09-08 18:33:49 +0000 | [diff] [blame] | 30 | include $(LEVEL)/Makefile.common |