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
This commit is contained in:
Brian Gaeke 2004-01-21 23:57:46 +00:00
parent 13f99329ce
commit 796960e461

View 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