[OCaml] Add Llvm.build_empty_phi.
[oota-llvm.git] / tools / opt / Makefile
index 73dd08aba73c7f8a6e11b2e82f0afbcb47fb8cd1..cfa9c31cb95855633c271c64895402553fde5be3 100644 (file)
@@ -1,10 +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 scalaropts \
-           ipo ipa.a datastructure transforms target.a analysis \
-           transformutils vmcore support
-TOOLLINKOPTS = $(PLATFORMLIBDL)
+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