1 #===- tools/llc/Makefile -----------------------------------*- Makefile -*-===## 2 # 3 # The LLVM Compiler Infrastructure 4 # 5 # This file is distributed under the University of Illinois Open Source 6 # License. See LICENSE.TXT for details. 7 # 8 ##===----------------------------------------------------------------------===## 9 10 LEVEL = ../.. 11 TOOLNAME = llc 12 13 # Include this here so we can get the configuration of the targets 14 # that have been configured for construction. We have to do this 15 # early so we can set up LINK_COMPONENTS before including Makefile.rules 16 include $(LEVEL)/Makefile.config 17 18 LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader asmparser 19 20 include $(LLVM_SRC_ROOT)/Makefile.rules 21 22