Use llvm-config to determine what to link in

llvm-svn: 30092
This commit is contained in:
Chris Lattner 2006-09-04 06:04:03 +00:00
parent 3b78c704d1
commit e63072ea0a
4 changed files with 5 additions and 7 deletions

View File

@ -11,7 +11,7 @@ LEVEL = ../..
TOOLNAME = Fibonacci
EXAMPLE_TOOL = 1
# Enable JIT support
LLVMLIBS := JIT
# Link in JIT support
LINK_COMPONENTS := jit interpreter native
include $(LEVEL)/Makefile.common

View File

@ -10,7 +10,6 @@ LEVEL = ../..
TOOLNAME = HowToUseJIT
EXAMPLE_TOOL = 1
# Enable JIT support
LLVMLIBS := JIT
LINK_COMPONENTS := jit interpreter native
include $(LEVEL)/Makefile.common

View File

@ -9,6 +9,6 @@
LEVEL=../..
TOOLNAME=ModuleMaker
EXAMPLE_TOOL = 1
USEDLIBS= LLVMBCWriter.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
LINK_COMPONENTS := bcwriter
include $(LEVEL)/Makefile.common

View File

@ -10,8 +10,7 @@ LEVEL = ../..
TOOLNAME = ParallelJIT
EXAMPLE_TOOL = 1
# Enable JIT support
LLVMLIBS := JIT
LINK_COMPONENTS := jit interpreter native
include $(LEVEL)/Makefile.common