R600: Don't unnecessarily repeat the register class
[oota-llvm.git] / tools / llc / Makefile
index c34616fa32bfc020e9a7735c7d3bd2dfc4c71342..71bce4dc1adf9a9cc303b1cd432a67f44d70b8af 100644 (file)
@@ -2,35 +2,17 @@
 # 
 #                     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 = llc
-REQUIRES_EH := 1
+LEVEL := ../..
+TOOLNAME := llc
+LINK_COMPONENTS := all-targets bitreader asmparser irreader
 
-# Include this here so we can get the configuration of the targets
-# that have been configured for construction. We have to do this 
-# early so we can set up USEDLIBS properly before includeing Makefile.rules
-include $(LEVEL)/Makefile.config
+# Support plugins.
+NO_DEAD_STRIP := 1
 
-USEDLIBS := $(addprefix LLVM,$(TARGETS_TO_BUILD)) \
-       LLVMCodeGen.a \
-       LLVMSelectionDAG.a \
-       LLVMTarget.a \
-       LLVMipa.a \
-       LLVMTransforms.a \
-       LLVMScalarOpts.a \
-       LLVMTransformUtils.a \
-       LLVMAnalysis.a \
-       LLVMBCReader.a \
-       LLVMBCWriter.a \
-       LLVMCore.a \
-       LLVMSupport.a \
-       LLVMbzip2.a \
-       LLVMSystem.a
-
-include $(LLVM_SRC_ROOT)/Makefile.rules
+include $(LEVEL)/Makefile.common