Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 21 Jan 2004 23:57:46 +0000 (23:57 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 21 Jan 2004 23:57:46 +0000 (23:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10947 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/GCCLibraries/crtend/Makefile

index e4e9b376995161abaf1017373f4c8551059ce3e1..23a1b790bc6886d28cf779be1644b398f07c5e1e 100644 (file)
@@ -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