#
# 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
+LEVEL := ../..
+TOOLNAME := bugpoint
+LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \
+ bitwriter irreader vectorize objcarcopts codegen
-OPTLIBS = LLVMTransforms.a LLVMInstrumentation.a LLVMProfilePaths
-ANALIBS = LLVMDataStructure LLVMipa.a LLVMTarget.a
-
-USEDLIBS = LLVMipo.a LLVMScalarOpts.a $(OPTLIBS) $(ANALIBS) LLVMAnalysis.a \
- LLVMTransformUtils.a \
- LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \
- LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
+# Support plugins.
+NO_DEAD_STRIP := 1
include $(LEVEL)/Makefile.common