llvm.org GIT mirror llvm / 897b1b5
Include Makefile.config before testing OS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33735 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 12 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
99 LEVEL = ../..
1010 LIBRARYNAME = LLVMlto
1111
12 # Include this here so we can get the configuration of the targets
13 # that have been configured for construction. We have to do this
14 # early so we can set up LINK_COMPONENTS before includeing Makefile.rules
15 include $(LEVEL)/Makefile.config
16
1217 LINK_LIBS_IN_SHARED = 1
1318 ifeq ($(OS),Darwin)
1419 SHARED_LIBRARY = 1
1823 BUILD_ARCHIVE = 1
1924 endif
2025
21 # Include this here so we can get the configuration of the targets
22 # that have been configured for construction. We have to do this
23 # early so we can set up LINK_COMPONENTS before includeing Makefile.rules
24 include $(LEVEL)/Makefile.config
25
2626 LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bcreader bcwriter
2727
2828 include $(LEVEL)/Makefile.common