#
# The LLVM Compiler Infrastructure
#
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = bugpoint
-OPTLIBS = LLVMTransforms LLVMInstrumentation LLVMProfilePaths
-ANALIBS = LLVMDataStructure LLVMipa LLVMTarget.a
-
-USEDLIBS = LLVMipo LLVMScalarOpts LLVMAnalysis $(OPTLIBS) $(ANALIBS) \
- LLVMTransformUtils \
- LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \
- LLVMCore LLVMSupport.a LLVMSystem.a
-
-TOOLLINKOPTS = $(PLATFORMLIBDL)
+LINK_COMPONENTS := asmparser instrumentation scalaropts ipo \
+ linker bitreader bitwriter
include $(LEVEL)/Makefile.common