fix typo; NFC
[oota-llvm.git] / tools / opt / Makefile
index f7d551e3ee013d4815c19bc6de42e6f9dc06c50a..2422eb4e40567649dd2303c02d63e03ae9c2c77b 100644 (file)
@@ -1,19 +1,17 @@
-##===- tools/opt/Makefile ------------------------------*- Makefile -*-===##
-# 
+##===- tools/opt/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 = opt
 
-USEDLIBS = LLVMBCReader LLVMBCWriter LLVMInstrumentation LLVMProfilePaths \
-          LLVMScalarOpts LLVMipo LLVMipa LLVMDataStructure LLVMTransforms \
-          LLVMTarget.a LLVMAnalysis LLVMTransformUtils LLVMCore LLVMSupport.a \
-          LLVMbzip2 LLVMSystem.a 
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen passes
 
-TOOLLINKOPTS = $(PLATFORMLIBDL)
+# Support plugins.
+NO_DEAD_STRIP := 1
 
 include $(LEVEL)/Makefile.common