aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-24 19:52:41 +0000
committerChris Lattner <sabre@nondot.org>2001-10-24 19:52:41 +0000
commit4a822714510711f7ca16a57b6db7002685f0c366 (patch)
tree590aefcc99d0c6007a66fba1ad9054272556b228 /lib/ExecutionEngine
parentc74a72020490a9e66375084d27f9dc1094c3aa40 (diff)
Add support for building a runtime library for LLI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Makefile b/lib/ExecutionEngine/Makefile
index bc5578c0a2..b1b936d3bf 100644
--- a/lib/ExecutionEngine/Makefile
+++ b/lib/ExecutionEngine/Makefile
@@ -5,3 +5,15 @@ TOOLLINKOPTS = -ldl
include $(LEVEL)/Makefile.common
+all :: $(LEVEL)/tools/Debug/RuntimeLib.bc
+
+Debug/RuntimeLib.c: RuntimeLib.lc
+ cp -f $< $@
+
+Debug/RuntimeLib.o: Debug/RuntimeLib.c
+ /home/vadve/lattner/cvs/gcc_install/bin/gcc $< -c -o $@
+
+$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.o
+ opt -dce $< -o $@ -f -q
+
+