llvm.org GIT mirror llvm / 5a87044
Two changes: 1. Get rid of TOOLLINKOPTS as it is a hold over from llvm-test and only used to communicate additional libraries to the linker. The *standard* way to do that is with the LIBS variable which this change supports. 2. Allow the TARGETS_TO_BUILD variable to be set from the configuration substitution. This is the result of the --enable-target= parameter to the configure script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21449 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 14 years ago
4 changed file(s) with 5 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
9999 # Target triple (cpu-vendor-os) for which we should generate code
100100 TARGET_TRIPLE=@target@
101101
102 # Targets that we should build
103 TARGETS_TO_BUILD=@TARGETS_TO_BUILD@
104
102105 # Endian-ness of the target
103106 ENDIAN=@ENDIAN@
104107
111114
112115 # Linker flags.
113116 LDFLAGS+=@LDFLAGS@
114
115 # Libraries needed by tools
116 TOOLLINKOPTS=@LIBS@
117117
118118 # Path to the library archiver program.
119119 AR_PATH = @AR@
149149 TCLSH := @TCLSH@
150150 ZIP := @ZIP@
151151
152 LIBS := @LIBS@
153
152154 # Path to location for LLVM C/C++ front-end. You can modify this if you
153155 # want to override the value set by configure.
154156 LLVMGCCDIR := @LLVMGCCDIR@
1111 LLVMScalarOpts.a LLVMTransforms.a LLVMTarget.a LLVMScalarOpts.a \
1212 LLVMTransformUtils.a LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
1313
14 TOOLLINKOPTS = $(PLATFORMLIBDL)
15
1614 include $(LEVEL)/Makefile.common
1717 LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \
1818 LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
1919
20 TOOLLINKOPTS = $(PLATFORMLIBDL)
21
2220 include $(LEVEL)/Makefile.common
1313 LLVMTarget.a LLVMAnalysis LLVMTransformUtils LLVMCore LLVMSupport.a \
1414 LLVMbzip2 LLVMSystem.a
1515
16 TOOLLINKOPTS = $(PLATFORMLIBDL)
17
1816 include $(LEVEL)/Makefile.common