-##===- 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 \
- sparcv8 \
- 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
+
+# Support plugins.
+NO_DEAD_STRIP := 1
include $(LEVEL)/Makefile.common