[PM] Move the analysis registry into the Passes.cpp file and provide
[oota-llvm.git] / tools / opt / Makefile
index 678812a669a2476b302b900f385e8937bbad7173..cfa9c31cb95855633c271c64895402553fde5be3 100644 (file)
@@ -1,7 +1,17 @@
-LEVEL = ../..
-TOOLNAME = opt
-USEDLIBS = bcreader bcwriter instrument profpaths scalaropts \
-           ipo ipa datastructure target analysis transforms vmcore support
+##===- 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.
+#
+##===----------------------------------------------------------------------===##
 
-include $(LEVEL)/Makefile.common
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen
+
+# Support plugins.
+NO_DEAD_STRIP := 1
 
+include $(LEVEL)/Makefile.common