Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git] / tools / bugpoint / Makefile
index 43f1c91d3006d399bc1c2b8a8b7539c73f031755..20493218b0646df24cd30676b972e611696e408a 100644 (file)
@@ -1,13 +1,15 @@
-LEVEL = ../..
-
-TOOLNAME = bugpoint
-
-OPTLIBS  = instrument profpaths scalaropts ipo
-ANALIBS  = datastructure ipa target.a analysis
-
-USEDLIBS = ipo scalaropts $(ANALIBS) \
-           transformutils asmparser bcreader bcwriter vmcore support
-
-TOOLLINKOPTS = -ldl
+##===- tools/bugpoint/Makefile -----------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
+
+LEVEL := ../..
+TOOLNAME := bugpoint
+LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \
+                   bitwriter irreader vectorize objcarcopts
 
 include $(LEVEL)/Makefile.common