OSDN Git Service

build: Tidy up a bunch of tool Makefiles, and simplify where possible using the
[android-x86/external-llvm.git] / tools / bugpoint / Makefile
index 0b19832..eacaa47 100644 (file)
@@ -2,20 +2,14 @@
 # 
 #                     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.a LLVMInstrumentation.a
-ANALIBS  = LLVMDataStructure LLVMipa.a LLVMTarget.a 
-
-USEDLIBS = LLVMipo.a LLVMScalarOpts.a $(OPTLIBS) $(ANALIBS) LLVMAnalysis.a \
-          LLVMTransformUtils \
-          LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \
-          LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
+LEVEL := ../..
+TOOLNAME := bugpoint
+LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \
+                   bitwriter
 
 include $(LEVEL)/Makefile.common