llvm-link option and test for recent metadata mapping bug
[oota-llvm.git] / tools / llc / Makefile
index ea6ac95e63c81a94b631567c3b067ef783cf7efe..ae64c9a5b57c6989c975f9bdf4eb717b0d7ce4c8 100644 (file)
@@ -1,12 +1,18 @@
-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+#===- tools/llc/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 := llc
+LINK_COMPONENTS := all-targets bitreader asmparser irreader mirparser
 
-all:: llc
-clean::        
-       rm -f llc
+# Support plugins.
+NO_DEAD_STRIP := 1
+
+include $(LEVEL)/Makefile.common
 
-llc : $(ObjectsG) $(LibsG)
-       $(LinkG) -o $@ $(ObjectsG) \
-               -lsched -lselect -lsparc -ltarget \
-               -lopt -llivevar -lbcreader -lbcwriter \
-               -lvmcore -lasmwriter -lanalysis -lsupport