[cleanup] Move the Dominators.h and Verifier.h headers into the IR
[oota-llvm.git] / tools / opt / Makefile
index 8bb6c47a4b41c25e588522b8be47b12c6b5ca2c1..fa2d0145531953b9aae244fba226c2140bc51411 100644 (file)
@@ -1,15 +1,17 @@
-LEVEL = ../..
-TOOLNAME = opt
+##===- tools/opt/Makefile ----------------------------------*- Makefile -*-===##
+#
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
 
-USEDLIBS = bcreader bcwriter instrument profpaths \
-          sparc mapping regalloc.a sched select codegen preopts \
-           postopts.a \
-          livevar scalaropts \
-          ipo ipa.a datastructure transforms target.a analysis ipa.a \
-           transformutils vmcore support
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
 
-TOOLLINKOPTS = -ldl
-KEEP_SYMBOLS = 1
+# Support plugins.
+NO_DEAD_STRIP := 1
 
 include $(LEVEL)/Makefile.common
-