X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fllc%2FMakefile;h=847a175d25d7fb665f755dd4a32430609ce94a0b;hb=3da59db637a887474c1b1346c1f3ccf53b6c4663;hp=fb0d06080db5fed89756691d2f94a4f42a498518;hpb=150666fd82f96a8615e63d3797e2d00f3edcb3e0;p=oota-llvm.git diff --git a/tools/llc/Makefile b/tools/llc/Makefile index fb0d06080db..847a175d25d 100644 --- a/tools/llc/Makefile +++ b/tools/llc/Makefile @@ -1,4 +1,4 @@ -##===- tools/llc/Makefile ------------------------------*- Makefile -*-===## +#===- tools/llc/Makefile -----------------------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -6,29 +6,17 @@ # the University of Illinois Open Source License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## + LEVEL = ../.. TOOLNAME = llc -USEDLIBS = cwriter \ - sparcv9 \ - x86 \ - powerpc \ - selectiondag \ - sparcv9regalloc \ - sched \ - sparcv9select \ - codegen \ - target.a \ - sparcv9livevar \ - ipa.a \ - transforms.a \ - scalaropts.a \ - analysis.a \ - transformutils.a \ - bcreader \ - bcwriter \ - vmcore \ - support.a -TOOLLINKOPTS = $(PLATFORMLIBDL) +REQUIRES_EH := 1 + +# Include this here so we can get the configuration of the targets +# that have been configured for construction. We have to do this +# early so we can set up LINK_COMPONENTS before including Makefile.rules +include $(LEVEL)/Makefile.config + +LINK_COMPONENTS := $(TARGETS_TO_BUILD) bcreader -include $(LEVEL)/Makefile.common +include $(LLVM_SRC_ROOT)/Makefile.rules