llvm-link option and test for recent metadata mapping bug
[oota-llvm.git] / tools / llc / Makefile
index 1463893648f70eb5c63f73cf17cf8b8a8e43ddca..ae64c9a5b57c6989c975f9bdf4eb717b0d7ce4c8 100644 (file)
@@ -1,34 +1,18 @@
-#===- tools/llc/Makefile ------------------------------*- Makefile -*-===##
+#===- tools/llc/Makefile -----------------------------------*- Makefile -*-===##
 # 
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
-LEVEL = ../..
-TOOLNAME = llc
-USEDLIBS = cwriter \
-           sparcv9 \
-           x86 \
-           powerpc \
-           selectiondag \
-           sparcv9regalloc \
-           sched \
-           sparcv9select \
-           codegen \
-           target.a \
-           sparcv9livevar \
-           ipa.a   \
-           transforms.a \
-           scalaropts.a \
-           analysis.a \
-           transformutils.a \
-           bcreader \
-           bcwriter \
-           vmcore \
-           support.a
-TOOLLINKOPTS = $(PLATFORMLIBDL)
+
+LEVEL := ../..
+TOOLNAME := llc
+LINK_COMPONENTS := all-targets bitreader asmparser irreader mirparser
+
+# Support plugins.
+NO_DEAD_STRIP := 1
 
 include $(LEVEL)/Makefile.common