Revert: Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH data structures.
[oota-llvm.git] / tools / opt / Makefile
index 4a14d372e5aa70a9b050ac3896745f777424da4f..a451005574a55b591a0aeb04799ebcd86d635e5d 100644 (file)
@@ -1,10 +1,14 @@
-LEVEL = ../..
-include $(LEVEL)/Makefile.common
+##===- 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.
+#
+##===----------------------------------------------------------------------===##
 
-all:: opt
-clean ::
-       rm -f opt
+LEVEL := ../..
+TOOLNAME := opt
+LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
 
-opt : $(ObjectsG) ../../lib/Optimizations/Debug/libopt.a
-       $(LinkG) -o $@ $(ObjectsG) -lopt -lbcreader -lbcwriter \
-                               -lasmwriter -lanalysis -lvmcore 
+include $(LEVEL)/Makefile.common