diff options
author | John Criswell <criswell@uiuc.edu> | 2003-09-11 18:03:50 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-09-11 18:03:50 +0000 |
commit | 613758d55d4cce964f29772c209f7f5540c2760c (patch) | |
tree | 5970753da147e028b991eb0aa7a2161be4e7a1d8 /Makefile.config.in | |
parent | 3cfb6b13c0e1d9dee0e35449aa1ac6bd8a0ee906 (diff) | |
download | llvm-613758d55d4cce964f29772c209f7f5540c2760c.tar.gz llvm-613758d55d4cce964f29772c209f7f5540c2760c.tar.bz2 llvm-613758d55d4cce964f29772c209f7f5540c2760c.tar.xz |
Fixed SPEC so that it would run correctly with the new autoconf-style object
directory.
Added Makefile.spec to the list of files to copy to the object directory.
Moved the configuration of $SourceDir to Makefile.config and corrected the
conditional that surrounds it. This allows SPEC to reset it and get the correct
VPATH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r-- | Makefile.config.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index fcb1746e75..c0af6382fa 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -233,3 +233,10 @@ ifndef LLVM_SRC_ROOT LLVM_SRC_ROOT := $(BUILD_SRC_ROOT) endif +# +# Set SourceDir for backwards compatbility. +# +ifndef SourceDir +SourceDir=$(BUILD_SRC_DIR) +endif + |