[cleanup] Move the Dominators.h and Verifier.h headers into the IR
[oota-llvm.git] / tools / opt / Makefile
index 9e4cddfa976b119a478c33384002281572090cc5..fa2d0145531953b9aae244fba226c2140bc51411 100644 (file)
@@ -1,18 +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
-REQUIRES_EH := 1
 
-USEDLIBS = LLVMAsmParser.a LLVMBCReader.a LLVMBCWriter.a LLVMInstrumentation.a \
-          LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure \
-          LLVMTransforms.a LLVMTarget.a LLVMTransformUtils.a LLVMAnalysis.a \
-          LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a 
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
+
+# Support plugins.
+NO_DEAD_STRIP := 1
 
 include $(LEVEL)/Makefile.common