aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-29 07:17:18 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-29 07:17:18 +0000
commit8f631784f70d8b03cffdc4ffe6a2f0fed0ad4438 (patch)
tree23491aade21dffb8a813d1acddcc79b8f3e1bdc4
parent7c787c93551f984ee2d216af97678d0c930f19b6 (diff)
Use LLVMLIBS=JIT to get JIT libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18333 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--examples/Fibonacci/Makefile2
-rw-r--r--examples/HowToUseJIT/Makefile2
-rw-r--r--tools/lli/Makefile12
-rw-r--r--tools/llvm-db/Makefile8
4 files changed, 6 insertions, 18 deletions
diff --git a/examples/Fibonacci/Makefile b/examples/Fibonacci/Makefile
index a6d378591f..b63777eb29 100644
--- a/examples/Fibonacci/Makefile
+++ b/examples/Fibonacci/Makefile
@@ -12,6 +12,6 @@ TOOLNAME = Fibonacci
EXAMPLE_TOOL = 1
# Enable JIT support
-include $(LEVEL)/tools/Makefile.JIT
+LLVMLIBS := JIT
include $(LEVEL)/Makefile.common
diff --git a/examples/HowToUseJIT/Makefile b/examples/HowToUseJIT/Makefile
index 0f5e26b5ca..67fdd86111 100644
--- a/examples/HowToUseJIT/Makefile
+++ b/examples/HowToUseJIT/Makefile
@@ -11,6 +11,6 @@ TOOLNAME = HowToUseJIT
EXAMPLE_TOOL = 1
# Enable JIT support
-include $(LEVEL)/tools/Makefile.JIT
+LLVMLIBS := JIT
include $(LEVEL)/Makefile.common
diff --git a/tools/lli/Makefile b/tools/lli/Makefile
index 394fec6d9b..0e537f9d7d 100644
--- a/tools/lli/Makefile
+++ b/tools/lli/Makefile
@@ -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
diff --git a/tools/llvm-db/Makefile b/tools/llvm-db/Makefile
index e1f1f2d9b7..fe31e3c4b0 100644
--- a/tools/llvm-db/Makefile
+++ b/tools/llvm-db/Makefile
@@ -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
-