-TOOLNAME = bugpoint
-
-OPTLIBS = transforms instrument profpaths
-ANALIBS = datastructure ipa target.a
-
-USEDLIBS = ipo scalaropts analysis $(OPTLIBS) $(ANALIBS) transformutils \
- asmparser bcreader bcwriter vmcore support LLVMsystem.a
-
-TOOLLINKOPTS = $(PLATFORMLIBDL)
+LEVEL := ../..
+TOOLNAME := bugpoint
+LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \
+ bitwriter irreader vectorize objcarcopts