X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fllc%2FMakefile;h=aa767ae7a967d4eb6f01647a72d026d2ff94394f;hb=4424757d3e38eaa646cd5c8dab19b8b24ee49416;hp=fcce5119ded36de93c583246abf1e67b3e12c7a6;hpb=2e2f2dcd6af454a26838457dbfd61ceca7cef41b;p=oota-llvm.git diff --git a/tools/llc/Makefile b/tools/llc/Makefile index fcce5119ded..aa767ae7a96 100644 --- a/tools/llc/Makefile +++ b/tools/llc/Makefile @@ -1,25 +1,21 @@ +#===- tools/llc/Makefile -----------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file was developed by the LLVM research group and is distributed under +# the University of Illinois Open Source License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## + LEVEL = ../.. TOOLNAME = llc -USEDLIBS = mapping \ - sparc \ - x86 \ - regalloc \ - sched \ - select \ - codegen \ - preopts \ - postopts.a \ - target.a \ - livevar \ - transforms.a \ - scalaropts.a \ - analysis.a \ - transformutils.a \ - bcreader \ - bcwriter \ - vmcore \ - support -TOOLLINKOPTS = $(PLATFORMLIBDL) -include $(LEVEL)/Makefile.common +# 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) bitreader + +include $(LLVM_SRC_ROOT)/Makefile.rules