Revert: Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH data structures.
[oota-llvm.git] / tools / opt / Makefile
index 869ba26c00416a836408b033b9e2303a5b20b284..a451005574a55b591a0aeb04799ebcd86d635e5d 100644 (file)
@@ -1,10 +1,14 @@
-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.a transforms target.a analysis.a \
-           transformutils vmcore support
-TOOLLINKOPTS = -ldl
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
 
 include $(LEVEL)/Makefile.common
-