Now that SparcV9 is gone, this logical can be simplified significantly.
[oota-llvm.git] / tools / llc / Makefile
1 #===- tools/llc/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 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11 TOOLNAME = llc
12 REQUIRES_EH := 1
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
19 USEDLIBS := $(addprefix LLVM,$(TARGETS_TO_BUILD)) \
20         LLVMCodeGen.a \
21         LLVMSelectionDAG.a \
22         LLVMTarget.a \
23         LLVMipa.a \
24         LLVMTransforms.a \
25         LLVMScalarOpts.a \
26         LLVMTransformUtils.a \
27         LLVMAnalysis.a \
28         LLVMBCReader.a \
29         LLVMBCWriter.a \
30         LLVMCore.a \
31         LLVMSupport.a \
32         LLVMbzip2.a \
33         LLVMSystem.a
34
35 include $(LLVM_SRC_ROOT)/Makefile.rules
36