Makefile revision 76ed7b1cf5d3f70b28753d4f0f39a7a4cc956a64
1##===- tools/lto/Makefile ----------------------------------*- Makefile -*-===##
2# 
3#                     The LLVM Compiler Infrastructure
4#
5# This file was developed by Devang Patel and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7# 
8##===----------------------------------------------------------------------===##
9
10LEVEL = ../..
11LIBRARYNAME = LLVMlto
12
13LINK_LIBS_IN_SHARED = 1
14SHARED_LIBRARY = 1
15LOADABLE_MODULE = 1
16DONT_BUILD_RELINKED = 1
17
18# Include this here so we can get the configuration of the targets
19# that have been configured for construction. We have to do this 
20# early so we can set up LINK_COMPONENTS before includeing Makefile.rules
21include $(LEVEL)/Makefile.config
22
23LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bcreader bcwriter
24
25include $(LEVEL)/Makefile.common
26
27