Skip to content
Snippets Groups Projects
Commit 4f4cf4b0 authored by Brian Gaeke's avatar Brian Gaeke
Browse files

Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).

llvm-svn: 10947
parent 96deb7dd
No related branches found
No related tags found
No related merge requests found
...@@ -31,10 +31,10 @@ CRTEND_A = $(DESTLIBBYTECODE)/libcrtend.a ...@@ -31,10 +31,10 @@ CRTEND_A = $(DESTLIBBYTECODE)/libcrtend.a
all:: $(CRTEND_A) all:: $(CRTEND_A)
# Installation simply requires copying the archive to it's new home. # 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 $< $@ cp $< $@
install:: $(LLVMGCCDIR)/bytecode-libs/libcrtend.a install:: $(DESTDIR)$(bytecode_libdir)/libcrtend.a
# The four components described in the README # The four components described in the README
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment