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 | # |
| 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 | 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 |
Chris Lattner | 0465fa9 | 2006-07-07 00:46:19 +0000 | [diff] [blame] | 12 | REQUIRES_EH := 1 |
Reid Spencer | 18969fb | 2005-04-22 17:20:11 +0000 | [diff] [blame] | 13 | |
| 14 | # Include this here so we can get the configuration of the targets |
| 15 | # that have been configured for construction. We have to do this |
| 16 | # early so we can set up USEDLIBS properly before includeing Makefile.rules |
| 17 | include $(LEVEL)/Makefile.config |
| 18 | |
Chris Lattner | 202ae32 | 2006-08-03 16:59:17 +0000 | [diff] [blame] | 19 | USEDLIBS := $(addprefix LLVM,$(TARGETS_TO_BUILD)) \ |
Chris Lattner | 3f2e0e6 | 2006-09-04 04:04:41 +0000 | [diff] [blame] | 20 | LLVMTarget.a \ |
Andrew Lenharth | 74bda2e | 2006-07-20 17:27:58 +0000 | [diff] [blame] | 21 | LLVMCodeGen.a \ |
Devang Patel | 2ebc1f8 | 2006-07-21 19:44:55 +0000 | [diff] [blame] | 22 | LLVMSelectionDAG.a \ |
Reid Spencer | 6cb21d4 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 23 | LLVMipa.a \ |
| 24 | LLVMTransforms.a \ |
Chris Lattner | 465be21 | 2005-10-24 01:13:21 +0000 | [diff] [blame] | 25 | LLVMScalarOpts.a \ |
John Criswell | a115643 | 2005-10-27 15:54:34 +0000 | [diff] [blame] | 26 | LLVMTransformUtils.a \ |
Chris Lattner | 604b95b | 2005-10-25 17:10:30 +0000 | [diff] [blame] | 27 | LLVMAnalysis.a \ |
Reid Spencer | 18c8b49 | 2006-06-01 01:30:27 +0000 | [diff] [blame] | 28 | LLVMBCReader.a \ |
| 29 | LLVMBCWriter.a \ |
| 30 | LLVMCore.a \ |
Reid Spencer | 6cb21d4 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 31 | LLVMSupport.a \ |
Reid Spencer | 18c8b49 | 2006-06-01 01:30:27 +0000 | [diff] [blame] | 32 | LLVMbzip2.a \ |
Reid Spencer | 6cb21d4 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 33 | LLVMSystem.a |
| 34 | |
Reid Spencer | 18969fb | 2005-04-22 17:20:11 +0000 | [diff] [blame] | 35 | include $(LLVM_SRC_ROOT)/Makefile.rules |
Vikram S. Adve | cb465fc | 2001-07-21 12:42:29 +0000 | [diff] [blame] | 36 | |