~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to tools/gold/Makefile

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#===- tools/gold/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
LIBRARYNAME := LLVMgold
 
12
LINK_LIBS_IN_SHARED := 1
 
13
SHARED_LIBRARY := 1
 
14
LOADABLE_MODULE := 1
 
15
 
 
16
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/gold.exports
 
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 including Makefile.rules
 
21
include $(LEVEL)/Makefile.config
 
22
 
 
23
LINK_COMPONENTS := $(TARGETS_TO_BUILD) Linker BitWriter IPO
 
24
 
 
25
# Because off_t is used in the public API, the largefile parts are required for
 
26
# ABI compatibility.
 
27
CXXFLAGS += -I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 
28
LDFLAGS += -L$(SharedLibDir)/$(SharedPrefix)
 
29
 
 
30
include $(LEVEL)/Makefile.common
 
31