Use LLVMLIBS=JIT to get JIT libraries
authorReid Spencer <rspencer@reidspencer.com>
Mon, 29 Nov 2004 07:17:18 +0000 (07:17 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 29 Nov 2004 07:17:18 +0000 (07:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18333 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Fibonacci/Makefile
examples/HowToUseJIT/Makefile
tools/lli/Makefile
tools/llvm-db/Makefile

index a6d378591f949ae3868ab007130075a2ba0ea84a..b63777eb295eae02d3d67963eec1a154c1198b53 100644 (file)
@@ -12,6 +12,6 @@ TOOLNAME = Fibonacci
 EXAMPLE_TOOL = 1
 
 # Enable JIT support
-include $(LEVEL)/tools/Makefile.JIT
+LLVMLIBS := JIT
 
 include $(LEVEL)/Makefile.common
index 0f5e26b5ca3ac2d07c4bb6faa71f80459ad44556..67fdd8611144a8d47ff6770cdc3cc1472c0025cf 100644 (file)
@@ -11,6 +11,6 @@ TOOLNAME = HowToUseJIT
 EXAMPLE_TOOL = 1
 
 # Enable JIT support
-include $(LEVEL)/tools/Makefile.JIT
+LLVMLIBS := JIT
 
 include $(LEVEL)/Makefile.common
index 394fec6d9bf9ace8f25eee3f6afca08a7617490d..0e537f9d7ddfaf1d922d273061ecffa37870bc82 100644 (file)
@@ -6,15 +6,9 @@
 # the University of Illinois Open Source License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
-LEVEL = ../..
-TOOLNAME = lli
+LEVEL    := ../..
+TOOLNAME := lli
+LLVMLIBS := JIT
 
 # Enable JIT support
-include ../Makefile.JIT
-
-# Have gcc tell the linker to export symbols from the program so that
-# dynamically loaded modules can be linked against them.
-#
-TOOLLINKOPTS = $(PLATFORMLIBDL)
-
 include $(LEVEL)/Makefile.common
index e1f1f2d9b7da4e2d66c61427d09a5fc91505ea06..fe31e3c4b004b221e8c25281929658de91cfcd1d 100644 (file)
@@ -12,12 +12,6 @@ TOOLNAME = llvm-db
 USEDLIBS = LLVMDebugger
 
 # Enable JIT support
-include ../Makefile.JIT
-
-# Have gcc tell the linker to export symbols from the program so that
-# dynamically loaded modules can be linked against them.
-#
-TOOLLINKOPTS = $(PLATFORMLIBDL)
+LLVMLIBS = JIT
 
 include $(LEVEL)/Makefile.common
-