llvm-mc: Add a -mc-relax-all option, which relaxes every fixup. We always need
[oota-llvm.git] / tools / lli / Makefile
index a0d51b562eccf6175a987f40b0f6b55a1b903942..8f6eeed486bb7c3b39904b0575ffa44293446c15 100644 (file)
@@ -1,21 +1,15 @@
-LEVEL = ../..
-TOOLNAME = lli
-USEDLIBS = 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 := jit interpreter nativecodegen bitreader selectiondag
+
+# Enable JIT support
 include $(LEVEL)/Makefile.common
-
-all :: $(LEVEL)/tools/Debug/RuntimeLib.bc
-
-Debug/RuntimeLib.c: RuntimeLib.lc
-       cp -f $< $@
-
-Debug/RuntimeLib.ll: Debug/RuntimeLib.c
-       @-rm $@
-       /home/vadve/lattner/cvs/gcc_install/bin/gcc $< -S -o $@
-
-$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.ll
-       LD_LIBRARY_PATH=../lib/Debug:/usr/dcs/software/evaluation/encap/gcc-3.0.4/lib/ ../Debug/gccas $< -o $@
-
-