Codegen support (stripped out) for the annotate attribute.
[llvm-complete.git] / tools / lto / Makefile
blob1b349f72b4d171244a1699dbab1bf20763553b93
1 ##===- tools/lto/Makefile ----------------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
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 ##===----------------------------------------------------------------------===##
10 LEVEL = ../..
11 LIBRARYNAME = LLVMlto
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 includeing Makefile.rules
16 include $(LEVEL)/Makefile.config
18 LINK_LIBS_IN_SHARED = 1
19 ifeq ($(OS),Darwin)
20 SHARED_LIBRARY = 1
21 LOADABLE_MODULE = 1
22 DONT_BUILD_RELINKED = 1
23 else
24 BUILD_ARCHIVE = 1
25 endif
27 LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
29 include $(LEVEL)/Makefile.common