From 796960e461ce107b9491d474893f9aed99706ac4 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Wed, 21 Jan 2004 23:57:46 +0000 Subject: [PATCH] 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 --- runtime/GCCLibraries/crtend/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile index e4e9b376995..23a1b790bc6 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