summaryrefslogtreecommitdiffstats
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
commitbb9932c96a259ff7c3b1003be8de114d354d8b2b (patch)
tree8cb94376d67a2f8cde183a86218d28c3abc78ea4
parentaf4495a8c4b71a20e1b61a1a88d95266ecf3aeca (diff)
downloadbcm5719-llvm-bb9932c96a259ff7c3b1003be8de114d354d8b2b.tar.gz
bcm5719-llvm-bb9932c96a259ff7c3b1003be8de114d354d8b2b.zip
Use LLVMLIBS=JIT to get JIT libraries
llvm-svn: 18333
-rw-r--r--llvm/examples/Fibonacci/Makefile2
-rw-r--r--llvm/examples/HowToUseJIT/Makefile2
-rw-r--r--llvm/tools/lli/Makefile12
-rw-r--r--llvm/tools/llvm-db/Makefile8
4 files changed, 6 insertions, 18 deletions
diff --git a/llvm/examples/Fibonacci/Makefile b/llvm/examples/Fibonacci/Makefile
index a6d378591f9..b63777eb295 100644
--- a/llvm/examples/Fibonacci/Makefile
+++ b/llvm/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/llvm/examples/HowToUseJIT/Makefile b/llvm/examples/HowToUseJIT/Makefile
index 0f5e26b5ca3..67fdd861114 100644
--- a/llvm/examples/HowToUseJIT/Makefile
+++ b/llvm/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/llvm/tools/lli/Makefile b/llvm/tools/lli/Makefile
index 394fec6d9bf..0e537f9d7dd 100644
--- a/llvm/tools/lli/Makefile
+++ b/llvm/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/llvm/tools/llvm-db/Makefile b/llvm/tools/llvm-db/Makefile
index e1f1f2d9b7d..fe31e3c4b00 100644
--- a/llvm/tools/llvm-db/Makefile
+++ b/llvm/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
-
OpenPOWER on IntegriCloud