Fix a thinko noticed by Chandler Carruth.
[oota-llvm.git] / tools / lto / Makefile
1 ##===- tools/lto/Makefile ----------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by Devang Patel and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11 LIBRARYNAME = LLVMlto
12
13 LINK_LIBS_IN_SHARED = 1
14 SHARED_LIBRARY = 1
15 LOADABLE_MODULE = 1
16 DONT_BUILD_RELINKED = 1
17
18 # Include this here so we can get the configuration of the targets
19 # that have been configured for construction. We have to do this 
20 # early so we can set up USEDLIBS properly before includeing Makefile.rules
21 include $(LEVEL)/Makefile.config
22
23 USEDLIBS := $(addprefix LLVM,$(TARGETS_TO_BUILD)) \
24         LLVMSelectionDAG.a LLVMCodeGen.a LLVMipo.a LLVMTransforms.a \
25         LLVMScalarOpts.a LLVMipa.a LLVMTransformUtils.a LLVMAnalysis.a \
26         LLVMTarget.a LLVMBCReader.a LLVMBCWriter.a LLVMSystem.a LLVMLinker.a \
27         LLVMCore.a LLVMSupport.a LLVMbzip2.a
28
29 include $(LEVEL)/Makefile.common
30