X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Flli%2FMakefile;h=b070cee27146c4deefc8405bd583047c7ba696bd;hb=56867520990a4fea1353d55f71bb74a0126554e6;hp=6d0df1155027e30578ec1d6911f7a238feda2724;hpb=da601403d9cd984af232772371e48077205d9e7a;p=oota-llvm.git diff --git a/tools/lli/Makefile b/tools/lli/Makefile index 6d0df115502..b070cee2714 100644 --- a/tools/lli/Makefile +++ b/tools/lli/Makefile @@ -1,35 +1,15 @@ -LEVEL = ../.. -TOOLNAME = lli -PARALLEL_DIRS = Interpreter JIT - -# Get the config name... -include $(LEVEL)/Makefile.$(shell uname) - -# Generic JIT libraries -JITLIBS = lli-jit codegen -ARCHLIBS = - -# What the X86 JIT requires -JITLIBS += x86 -# X86 doesn't require any ARCHLIBS - - - -# What the Sparc JIT requires -ifeq ($(ARCH),Sparc) -JITLIBS += sparc -ARCHLIBS = sched livevar instrument.a profpaths transformutils.a \ - bcwriter transforms.a ipo.a ipa.a datastructure.a regalloc \ - mapping select postopts.a preopts - -endif - -USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) bcreader vmcore scalaropts.a \ - analysis.a support.a target.a - -# Have gcc tell the linker to export symbols from the program so that -# dynamically loaded modules can be linked against them. +##===- tools/lli/Makefile ------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure # -TOOLLINKOPTS = -ldl +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## + +LEVEL := ../.. +TOOLNAME := lli +LINK_COMPONENTS := jit interpreter native bitreader selectiondag +# Enable JIT support include $(LEVEL)/Makefile.common