2004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>

* Makefile.in: Support $(DESTDIR).
        * arm/Makefile.in: Ditto.
        * d30v/Makefile.in: Ditto.
        * doc/Makefile.in: Ditto.
        * fr30/Makefile.in: Ditto.
        * frv/Makefile.in: Ditto.
        * hp74x/Makefile.in: Ditto.
        * i386/Makefile.in: Ditto.
        * i960/Makefile.in: Ditto.
        * iq2000/Makefile.in: Ditto.
        * libnosys/Makefile.in: Ditto.
        * m32r/Makefile.in: Ditto.
        * m68hc11/Makefile.in: Ditto.
        * m68k/Makefile.in: Ditto.
        * mcore/Makefile.in: Ditto.
        * mips/Makefile.in: Ditto.
        * mn10200/Makefile.in: Ditto.
        * mn10300/Makefile.in: Ditto.
        * pa/Makefile.in: Ditto.
        * rs6000/Makefile.in: Ditto.
        * sparc/Makefile.in: Ditto.
        * sparc/libsys/Makefile.in: Ditto.
        * xstormy16/Makefile.in: Ditto.
This commit is contained in:
Jeff Johnston
2004-06-28 22:42:21 +00:00
parent 76a3f968a5
commit 051f21ca83
24 changed files with 165 additions and 115 deletions

View File

@ -10,6 +10,7 @@
# the new terms are clearly indicated on the first page of each file where
# they apply.
DESTDIR =
VPATH = @srcdir@
srcdir = @srcdir@
objdir = .
@ -201,10 +202,10 @@ distclean maintainer-clean realclean: clean
.PHONY: install info install-info clean-info
install:
@for file in $(CRT0) $(PCRT0) $(BSP); do \
$(INSTALL_DATA) $${file} $(tooldir)/lib${MULTISUBDIR}; \
$(INSTALL_DATA) $${file} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
done
@for script in ${SCRIPTS}; do\
$(INSTALL_DATA) ${srcdir}/$${script}.ld $(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
$(INSTALL_DATA) ${srcdir}/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
done
info: