summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-01-21 23:57:46 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-01-21 23:57:46 +0000
commit796960e461ce107b9491d474893f9aed99706ac4 (patch)
treeefe3f93e77c80291b15858faceaab192fa7516ec /runtime
parent13f99329ce1f7f2cc5f7bcaa07e38484e22eeed8 (diff)
downloadllvm-796960e461ce107b9491d474893f9aed99706ac4.tar.gz
llvm-796960e461ce107b9491d474893f9aed99706ac4.tar.bz2
llvm-796960e461ce107b9491d474893f9aed99706ac4.tar.xz
Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/GCCLibraries/crtend/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile
index e4e9b37699..23a1b790bc 100644
--- a/runtime/GCCLibraries/crtend/Makefile
+++ b/runtime/GCCLibraries/crtend/Makefile
@@ -31,10 +31,10 @@ CRTEND_A = $(DESTLIBBYTECODE)/libcrtend.a
all:: $(CRTEND_A)
# Installation simply requires copying the archive to it's new home.
-$(LLVMGCCDIR)/bytecode-libs/libcrtend.a: $(CRTEND_A)
+$(DESTDIR)$(bytecode_libdir)/libcrtend.a: $(CRTEND_A) $(DESTDIR)$(bytecode_libdir)
cp $< $@
-install:: $(LLVMGCCDIR)/bytecode-libs/libcrtend.a
+install:: $(DESTDIR)$(bytecode_libdir)/libcrtend.a
# The four components described in the README