2009-06-19 07:04:45 +08:00
|
|
|
##===- tools/llvm-mc/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
|
|
|
LEVEL = ../..
|
|
|
|
TOOLNAME = llvm-mc
|
|
|
|
|
|
|
|
# This tool has no plugins, optimize startup time.
|
|
|
|
TOOL_NO_EXPORTS = 1
|
|
|
|
|
2009-07-18 06:38:58 +08:00
|
|
|
# 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 LINK_COMPONENTS before including Makefile.rules
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2010-01-22 09:44:57 +08:00
|
|
|
LINK_COMPONENTS := $(TARGETS_TO_BUILD) MCParser MC support
|
2009-07-18 06:38:58 +08:00
|
|
|
|
|
|
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|
2010-04-13 03:43:00 +08:00
|
|
|
|
|
|
|
# Using LIBS instead of USEDLIBS to force static linking
|
|
|
|
LIBS += $(LLVMLibDir)/libEnhancedDisassembly.a
|