- Move CodeModel from a TargetMachine global option to MCCodeGenInfo.
[oota-llvm.git] / tools / lli / Makefile
index 0fdcf8b5ddb89c4f112b711b6e45aca4ed86e1a1..80aa82b4d68132cb1444330e006e65d0f6a00407 100644 (file)
@@ -1,21 +1,15 @@
-LEVEL = ../..
-TOOLNAME = lli
-USEDLIBS = opt bcreader bcwriter vmcore asmwriter analysis support \
-          target transforms
-TOOLLINKOPTS = -ldl
-
+##===- tools/lli/Makefile ------------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
+
+LEVEL    := ../..
+TOOLNAME := lli
+LINK_COMPONENTS := mcjit jit interpreter nativecodegen bitreader asmparser selectiondag
+
+# Enable JIT support
 include $(LEVEL)/Makefile.common
-
-all :: $(LEVEL)/tools/Debug/RuntimeLib.bc
-
-Debug/RuntimeLib.c: RuntimeLib.lc
-       cp -f $< $@
-
-Debug/RuntimeLib.o: Debug/RuntimeLib.c
-       @-rm $@
-       /home/vadve/lattner/cvs/gcc_install/bin/gcc $< -c -o $@
-
-$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.o
-       ../Debug/opt -dce $< -o $@ -f -q
-
-