Chris Lattner | 84c34b7 | 2004-07-16 07:12:46 +0000 | [diff] [blame] | 1 | #===- tools/llc/Makefile -----------------------------------*- Makefile -*-===## |
John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | 5116784 | 2007-12-29 20:07:17 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
Chris Lattner | 84c34b7 | 2004-07-16 07:12:46 +0000 | [diff] [blame] | 9 | |
Vikram S. Adve | cb465fc | 2001-07-21 12:42:29 +0000 | [diff] [blame] | 10 | LEVEL = ../.. |
Chris Lattner | c9744e7 | 2001-09-07 22:59:25 +0000 | [diff] [blame] | 11 | TOOLNAME = llc |
Reid Spencer | 18969fb | 2005-04-22 17:20:11 +0000 | [diff] [blame] | 12 | |
| 13 | # Include this here so we can get the configuration of the targets |
| 14 | # that have been configured for construction. We have to do this |
Chris Lattner | aea932d | 2006-09-04 05:59:09 +0000 | [diff] [blame] | 15 | # early so we can set up LINK_COMPONENTS before including Makefile.rules |
Reid Spencer | 18969fb | 2005-04-22 17:20:11 +0000 | [diff] [blame] | 16 | include $(LEVEL)/Makefile.config |
| 17 | |
Dan Gohman | 778b06b | 2009-09-02 19:35:19 +0000 | [diff] [blame] | 18 | LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader asmparser |
Reid Spencer | 6cb21d4 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 19 | |
Reid Spencer | 18969fb | 2005-04-22 17:20:11 +0000 | [diff] [blame] | 20 | include $(LLVM_SRC_ROOT)/Makefile.rules |
Vikram S. Adve | cb465fc | 2001-07-21 12:42:29 +0000 | [diff] [blame] | 21 | |