diff options
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 26 | ||||
-rw-r--r-- | libgloss/Makefile.in | 4 | ||||
-rw-r--r-- | libgloss/arm/Makefile.in | 19 | ||||
-rw-r--r-- | libgloss/d30v/Makefile.in | 3 | ||||
-rw-r--r-- | libgloss/doc/Makefile.in | 3 | ||||
-rw-r--r-- | libgloss/fr30/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/frv/Makefile.in | 5 | ||||
-rw-r--r-- | libgloss/hp74x/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/i386/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/i960/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/iq2000/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/libnosys/Makefile.in | 5 | ||||
-rw-r--r-- | libgloss/m32r/Makefile.in | 19 | ||||
-rw-r--r-- | libgloss/m68hc11/Makefile.in | 9 | ||||
-rw-r--r-- | libgloss/m68k/Makefile.in | 35 | ||||
-rw-r--r-- | libgloss/mcore/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/mips/Makefile.in | 5 | ||||
-rw-r--r-- | libgloss/mn10200/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/mn10300/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/pa/Makefile.in | 11 | ||||
-rw-r--r-- | libgloss/rs6000/Makefile.in | 21 | ||||
-rw-r--r-- | libgloss/sparc/Makefile.in | 49 | ||||
-rw-r--r-- | libgloss/sparc/libsys/Makefile.in | 5 | ||||
-rw-r--r-- | libgloss/xstormy16/Makefile.in | 5 |
24 files changed, 165 insertions, 115 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 807192dc1..e67f5a11b 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,29 @@ +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. + 2004-06-25 Jeff Johnston <jjohnstn@redhat.com> * libnosys/_exit.c: New file. diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in index 4e9c4c404..62a8f5b62 100644 --- a/libgloss/Makefile.in +++ b/libgloss/Makefile.in @@ -13,6 +13,7 @@ # they apply. # +DESTDIR = VPATH = @srcdir@ srcdir = @srcdir@ objdir = . @@ -84,7 +85,8 @@ FLAGS_TO_PASS = \ "tooldir=$(tooldir)" \ "INSTALL=$(INSTALL)" \ "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ - "INSTALL_DATA=$(INSTALL_DATA)" + "INSTALL_DATA=$(INSTALL_DATA)" \ + "DESTDIR=$(DESTDIR)" all: stmp-bsp force @rootpre=`pwd`/; export rootpre; \ diff --git a/libgloss/arm/Makefile.in b/libgloss/arm/Makefile.in index d7fee4dfb..828c488b1 100644 --- a/libgloss/arm/Makefile.in +++ b/libgloss/arm/Makefile.in @@ -1,5 +1,6 @@ # # +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -132,26 +133,26 @@ distclean maintainer-clean realclean: clean install: ${CRT0_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} ${RDIMON_INSTALL} ${IQ80310_INSTALL} ${PID_INSTALL} install-crt0: - ${INSTALL_DATA} ${CRT0} ${tooldir}/lib${MULTISUBDIR}/$$x + ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x install-redboot: - set -e; for x in ${REDBOOT_CRT0} ${REDBOOT_OBJS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${REDBOOT_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${REDBOOT_CRT0} ${REDBOOT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${REDBOOT_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-rdpmon: - set -e; for x in ${RDPMON_CRT0} ${RDPMON_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${RDPMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${RDPMON_CRT0} ${RDPMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${RDPMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-rdimon: - set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-pid: - set -e; for x in ${PID_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${PID_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-iq80310: - set -e; for x in ${IQ80310_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${IQ80310_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done doc: diff --git a/libgloss/d30v/Makefile.in b/libgloss/d30v/Makefile.in index b65201641..83148b50c 100644 --- a/libgloss/d30v/Makefile.in +++ b/libgloss/d30v/Makefile.in @@ -15,6 +15,7 @@ # This currently works with the D30V simulator. # +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -114,7 +115,7 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} install-sim: - set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done doc: info: diff --git a/libgloss/doc/Makefile.in b/libgloss/doc/Makefile.in index 0432e026f..336f70a99 100644 --- a/libgloss/doc/Makefile.in +++ b/libgloss/doc/Makefile.in @@ -11,6 +11,7 @@ # they apply. # +DESTDIR = srcdir = @srcdir@ VPATH = @srcdir@ @@ -131,7 +132,7 @@ install: install-info: info for i in *.info* ; do \ - $(INSTALL_DATA) $$i $(infodir)/$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \ done clean-info: diff --git a/libgloss/fr30/Makefile.in b/libgloss/fr30/Makefile.in index d31809372..e0318a071 100644 --- a/libgloss/fr30/Makefile.in +++ b/libgloss/fr30/Makefile.in @@ -1,6 +1,7 @@ # # +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -125,11 +126,11 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} install-mon: - set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-sim: - set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib/$$x; done + set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done doc: info: diff --git a/libgloss/frv/Makefile.in b/libgloss/frv/Makefile.in index b35094530..64f3345c4 100644 --- a/libgloss/frv/Makefile.in +++ b/libgloss/frv/Makefile.in @@ -13,6 +13,7 @@ # Makefile for libgloss/frv. This is the board support # code for the various frv targets. +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -103,8 +104,8 @@ sim-write.o: $(srcdir)/sim-write.S stat.o: $(srcdir)/stat.c install: $($(CPU)_INSTALL) - $(INSTALL_DATA) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) - $(INSTALL_DATA) $(SIM_BSP) $(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) + $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) clean mostlyclean: rm -f *.o *.a diff --git a/libgloss/hp74x/Makefile.in b/libgloss/hp74x/Makefile.in index 5a90c9b95..307da0b8d 100644 --- a/libgloss/hp74x/Makefile.in +++ b/libgloss/hp74x/Makefile.in @@ -22,6 +22,7 @@ # for the HP-PRO hppa embedded boards. <rob@cygnus.com> # +DESTDIR = VPATH = @srcdir@ srcdir = @srcdir@ objdir = . @@ -100,9 +101,9 @@ hpstub: $(OBJS) $(OBJS) -lc -m >stub.map install: - $(INSTALL_PROGRAM) $(STUBLIB) $(tooldir)/lib/$(MULTISUBDIR)$(STUBLIB) - $(INSTALL_PROGRAM) $(SHARED_DIR)/$(STUBCRT0) $(tooldir)/lib/$(MULTISUBDIR)$(STUBCRT0) - $(INSTALL_PROGRAM) $(srcdir)/$(LDSCRIPT) $(tooldir)/lib/$(LDSCRIPT) + $(INSTALL_PROGRAM) $(STUBLIB) $(DESTDIR)$(tooldir)/lib/$(MULTISUBDIR)$(STUBLIB) + $(INSTALL_PROGRAM) $(SHARED_DIR)/$(STUBCRT0) $(DESTDIR)$(tooldir)/lib/$(MULTISUBDIR)$(STUBCRT0) + $(INSTALL_PROGRAM) $(srcdir)/$(LDSCRIPT) $(DESTDIR)$(tooldir)/lib/$(LDSCRIPT) .c.o: $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $< diff --git a/libgloss/i386/Makefile.in b/libgloss/i386/Makefile.in index 158ba81a3..536f37f98 100644 --- a/libgloss/i386/Makefile.in +++ b/libgloss/i386/Makefile.in @@ -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 = . @@ -102,12 +103,12 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: - $(INSTALL_PROGRAM) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ - $(INSTALL_PROGRAM) $${bsp} $(tooldir)/lib${MULTISUBDIR}; \ + $(INSTALL_PROGRAM) $${bsp} $(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: diff --git a/libgloss/i960/Makefile.in b/libgloss/i960/Makefile.in index 5b483dcda..0ca159730 100644 --- a/libgloss/i960/Makefile.in +++ b/libgloss/i960/Makefile.in @@ -1,6 +1,7 @@ # # +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -124,11 +125,11 @@ distclean maintainer-clean realclean: clean install: ${MON_INSTALL} install-mon: - set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-sim: - set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib/$$x; done + set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done doc: info: diff --git a/libgloss/iq2000/Makefile.in b/libgloss/iq2000/Makefile.in index b6aa2c5cf..21cc2869f 100644 --- a/libgloss/iq2000/Makefile.in +++ b/libgloss/iq2000/Makefile.in @@ -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 = . @@ -121,12 +122,12 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: - $(INSTALL_PROGRAM) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ - $(INSTALL_PROGRAM) $${bsp} $(tooldir)/lib${MULTISUBDIR}; \ + $(INSTALL_PROGRAM) $${bsp} $(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: diff --git a/libgloss/libnosys/Makefile.in b/libgloss/libnosys/Makefile.in index 62f8caac5..da48e5318 100644 --- a/libgloss/libnosys/Makefile.in +++ b/libgloss/libnosys/Makefile.in @@ -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 = . @@ -129,8 +130,8 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: @for outputs in ${OUTPUTS}; do\ - mkdir -p $(tooldir)/lib${MULTISUBDIR}; \ - $(INSTALL_PROGRAM) $${outputs} $(tooldir)/lib${MULTISUBDIR}; \ + mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ + $(INSTALL_PROGRAM) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ done info: diff --git a/libgloss/m32r/Makefile.in b/libgloss/m32r/Makefile.in index 2dd3be0db..ea9eba3d8 100644 --- a/libgloss/m32r/Makefile.in +++ b/libgloss/m32r/Makefile.in @@ -14,6 +14,7 @@ # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -96,15 +97,15 @@ libmon.a: $(MONLIBOBJS) $(RANLIB) $@ install: - mkdir -p $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) - $(INSTALL_DATA) $(LIBGLOSS) $(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS) - $(INSTALL_DATA) $(MONLIBGLOSS) $(tooldir)/lib${MULTISUBDIR}/$(MONLIBGLOSS) - $(INSTALL_DATA) $(GDBLIB) $(tooldir)/lib${MULTISUBDIR}/$(GDBLIB) - $(INSTALL_DATA) $(GDBSTUB) $(tooldir)/lib${MULTISUBDIR}/$(GDBSTUB) - $(INSTALL_DATA) $(srcdir)/$(EVASCRIPT) $(tooldir)/lib/$(EVASCRIPT) - $(INSTALL_DATA) $(srcdir)/$(STUBSCRIPT) $(tooldir)/lib/$(STUBSCRIPT) - $(INSTALL_DATA) $(srcdir)/$(MONSPECS) $(tooldir)/lib/$(MONSPECS) + mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_DATA) $(LIBGLOSS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS) + $(INSTALL_DATA) $(MONLIBGLOSS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(MONLIBGLOSS) + $(INSTALL_DATA) $(GDBLIB) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(GDBLIB) + $(INSTALL_DATA) $(GDBSTUB) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(GDBSTUB) + $(INSTALL_DATA) $(srcdir)/$(EVASCRIPT) $(DESTDIR)$(tooldir)/lib/$(EVASCRIPT) + $(INSTALL_DATA) $(srcdir)/$(STUBSCRIPT) $(DESTDIR)$(tooldir)/lib/$(STUBSCRIPT) + $(INSTALL_DATA) $(srcdir)/$(MONSPECS) $(DESTDIR)$(tooldir)/lib/$(MONSPECS) clean mostlyclean: rm -f *~ *.[oa] diff --git a/libgloss/m68hc11/Makefile.in b/libgloss/m68hc11/Makefile.in index 32c6608f3..4a4ab59c2 100644 --- a/libgloss/m68hc11/Makefile.in +++ b/libgloss/m68hc11/Makefile.in @@ -14,6 +14,7 @@ # This currently works with Motorola's 68HC11 based target boards. # (should work with 68HC12 but not tested yet) +DESTDIR = srcdir = @srcdir@ objdir = . srcroot = $(srcdir)/../.. @@ -140,9 +141,9 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: install-scripts - $(INSTALL_PROGRAM) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ - $(INSTALL_PROGRAM) $${bsp} $(tooldir)/lib${MULTISUBDIR}; \ + $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ done # Install the linker script in the correct place. @@ -156,10 +157,10 @@ install-scripts: name=`$$objdump -f $(CRT0) | sed '/^$$/d'`; \ case $$name in \ *elf32-m68hc11*) \ - $(INSTALL_DATA) ${srcdir}/sim-valid-m68hc11.ld $(tooldir)/lib${MULTISUBDIR}/sim-valid.ld \ + $(INSTALL_DATA) ${srcdir}/sim-valid-m68hc11.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sim-valid.ld \ ;; \ *elf32-m68hc12*) \ - $(INSTALL_DATA) ${srcdir}/sim-valid-m68hc12.ld $(tooldir)/lib${MULTISUBDIR}/sim-valid.ld \ + $(INSTALL_DATA) ${srcdir}/sim-valid-m68hc12.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sim-valid.ld \ ;; \ esac diff --git a/libgloss/m68k/Makefile.in b/libgloss/m68k/Makefile.in index 5705b1137..5df402288 100644 --- a/libgloss/m68k/Makefile.in +++ b/libgloss/m68k/Makefile.in @@ -14,6 +14,7 @@ # target boards. # +DESTDIR = VPATH = @srcdir@ srcdir = @srcdir@ objdir = . @@ -258,30 +259,30 @@ unlink.o: $(srcdir)/../unlink.c .PHONY: install info dvi doc install-info clean-info install: # install SIM stuff - $(INSTALL_PROGRAM) $(SIM_CRT0) $(tooldir)/lib${MULTISUBDIR}/$(SIM_CRT0) - $(INSTALL_PROGRAM) $(SIM_BSP) $(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) - $(INSTALL_DATA) ${srcdir}/sim.ld $(tooldir)/lib${MULTISUBDIR}/sim.ld + $(INSTALL_PROGRAM) $(SIM_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_CRT0) + $(INSTALL_PROGRAM) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) + $(INSTALL_DATA) ${srcdir}/sim.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sim.ld # - $(INSTALL_PROGRAM) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) # install BCC stuff - $(INSTALL_PROGRAM) $(BCC_BSP) $(tooldir)/lib${MULTISUBDIR}/$(BCC_BSP) - $(INSTALL_DATA) ${srcdir}/bcc.ld $(tooldir)/lib${MULTISUBDIR}/bcc.ld + $(INSTALL_PROGRAM) $(BCC_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(BCC_BSP) + $(INSTALL_DATA) ${srcdir}/bcc.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/bcc.ld # install IDP stuff - $(INSTALL_PROGRAM) $(IDP_BSP) $(tooldir)/lib${MULTISUBDIR}/$(IDP_BSP) - $(INSTALL_DATA) ${srcdir}/idp.ld $(tooldir)/lib${MULTISUBDIR}/idp.ld + $(INSTALL_PROGRAM) $(IDP_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(IDP_BSP) + $(INSTALL_DATA) ${srcdir}/idp.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/idp.ld # install IDPGDB stuff - $(INSTALL_PROGRAM) $(IDPGDB_BSP) $(tooldir)/lib${MULTISUBDIR}/$(IDPGDB_BSP) - $(INSTALL_DATA) ${srcdir}/idpgdb.ld $(tooldir)/lib${MULTISUBDIR}/idpgdb.ld + $(INSTALL_PROGRAM) $(IDPGDB_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(IDPGDB_BSP) + $(INSTALL_DATA) ${srcdir}/idpgdb.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/idpgdb.ld # install MVME135 stuff - $(INSTALL_PROGRAM) $(MVME135_BSP) $(tooldir)/lib${MULTISUBDIR}/$(MVME135_BSP) - $(INSTALL_DATA) ${srcdir}/mvme135.ld $(tooldir)/lib${MULTISUBDIR}/mvme135.ld + $(INSTALL_PROGRAM) $(MVME135_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(MVME135_BSP) + $(INSTALL_DATA) ${srcdir}/mvme135.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/mvme135.ld # install MVME162lx stuff - $(INSTALL_PROGRAM) $(MVME162_BSP) $(tooldir)/lib${MULTISUBDIR}/$(MVME162_BSP) - $(INSTALL_DATA) ${srcdir}/mvme162.ld $(tooldir)/lib${MULTISUBDIR}/mvme162.ld + $(INSTALL_PROGRAM) $(MVME162_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(MVME162_BSP) + $(INSTALL_DATA) ${srcdir}/mvme162.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/mvme162.ld # install DBUG stuff - $(INSTALL_PROGRAM) $(DBUG_BSP) $(tooldir)/lib${MULTISUBDIR}/$(DBUG_BSP) - $(INSTALL_DATA) ${srcdir}/sbc5204.ld $(tooldir)/lib${MULTISUBDIR}/sbc5204.ld - $(INSTALL_DATA) ${srcdir}/sbc5206.ld $(tooldir)/lib${MULTISUBDIR}/sbc5206.ld + $(INSTALL_PROGRAM) $(DBUG_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(DBUG_BSP) + $(INSTALL_DATA) ${srcdir}/sbc5204.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sbc5204.ld + $(INSTALL_DATA) ${srcdir}/sbc5206.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sbc5206.ld # target specific makefile fragment comes in here. @target_makefile_frag@ diff --git a/libgloss/mcore/Makefile.in b/libgloss/mcore/Makefile.in index 236496c9c..ecfd2b6fd 100644 --- a/libgloss/mcore/Makefile.in +++ b/libgloss/mcore/Makefile.in @@ -1,6 +1,7 @@ # # +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -124,11 +125,11 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} ${MON_INSTALL} install-mon: - set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${MON_PREFIX}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${MON_PREFIX}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-sim: - set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done doc: info: diff --git a/libgloss/mips/Makefile.in b/libgloss/mips/Makefile.in index ada567eb3..00f65a0f9 100644 --- a/libgloss/mips/Makefile.in +++ b/libgloss/mips/Makefile.in @@ -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: diff --git a/libgloss/mn10200/Makefile.in b/libgloss/mn10200/Makefile.in index 9ed0055e2..5a6e10b31 100644 --- a/libgloss/mn10200/Makefile.in +++ b/libgloss/mn10200/Makefile.in @@ -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 = . @@ -121,12 +122,12 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: - $(INSTALL_PROGRAM) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ - $(INSTALL_PROGRAM) $${bsp} $(tooldir)/lib${MULTISUBDIR}; \ + $(INSTALL_PROGRAM) $${bsp} $(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: diff --git a/libgloss/mn10300/Makefile.in b/libgloss/mn10300/Makefile.in index 11cd3db01..4153fd4d1 100644 --- a/libgloss/mn10300/Makefile.in +++ b/libgloss/mn10300/Makefile.in @@ -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 = . @@ -128,13 +129,13 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: @for crt in ${CRT0}; do\ - $(INSTALL_PROGRAM) $${crt} $(tooldir)/lib${MULTISUBDIR}/$${crt}; \ + $(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \ done @for bsp in ${BSP}; do\ - $(INSTALL_PROGRAM) $${bsp} $(tooldir)/lib${MULTISUBDIR}; \ + $(INSTALL_PROGRAM) $${bsp} $(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: diff --git a/libgloss/pa/Makefile.in b/libgloss/pa/Makefile.in index f33c15a42..03323c3b8 100644 --- a/libgloss/pa/Makefile.in +++ b/libgloss/pa/Makefile.in @@ -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 = . @@ -128,13 +129,13 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: - $(INSTALL_PROGRAM) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) # install Oki stuff - $(INSTALL_PROGRAM) $(OKI_BSP) $(tooldir)/lib${MULTISUBDIR}/$(OKI_BSP) - $(INSTALL_DATA) ${srcdir}/op50n.ld $(tooldir)/lib${MULTISUBDIR}/op50n.ld + $(INSTALL_PROGRAM) $(OKI_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(OKI_BSP) + $(INSTALL_DATA) ${srcdir}/op50n.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/op50n.ld # install WinBond stuff - $(INSTALL_PROGRAM) $(WEC_BSP) $(tooldir)/lib${MULTISUBDIR}/$(WEC_BSP) - $(INSTALL_DATA) ${srcdir}/w89k.ld $(tooldir)/lib${MULTISUBDIR}/w89k.ld + $(INSTALL_PROGRAM) $(WEC_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(WEC_BSP) + $(INSTALL_DATA) ${srcdir}/w89k.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/w89k.ld info: install-info: diff --git a/libgloss/rs6000/Makefile.in b/libgloss/rs6000/Makefile.in index 6f1deae8a..65c8c9ec3 100644 --- a/libgloss/rs6000/Makefile.in +++ b/libgloss/rs6000/Makefile.in @@ -15,6 +15,7 @@ # This currently works with the PPC simulator. # +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -315,28 +316,28 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} ${MVME_INSTALL} ${SOLARIS_INSTALL} ${LINUX_INSTALL} ${YELLOWKNIFE_INSTALL} ${ADS_INSTALL} ${MBX_INSTALL} install-sim: - set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-mvme: - set -e; for x in ${MVME_CRT0} ${MVME_BSP} ${MVME_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MVME_CRT0} ${MVME_BSP} ${MVME_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-solaris: - set -e; for x in ${SOLARIS_CRT0} ${SOLARIS_BSP} ${SOLARIS_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${SOLARIS_CRT0} ${SOLARIS_BSP} ${SOLARIS_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-linux: - set -e; for x in ${LINUX_CRT0} ${LINUX_BSP} ${LINUX_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${LINUX_CRT0} ${LINUX_BSP} ${LINUX_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-yellowknife: - set -e; for x in ${YELLOWKNIFE_CRT0} ${YELLOWKNIFE_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${YELLOWKNIFE_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${YELLOWKNIFE_CRT0} ${YELLOWKNIFE_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${YELLOWKNIFE_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-ads: - set -e; for x in ${ADS_CRT0} ${ADS_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${ADS_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${ADS_CRT0} ${ADS_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${ADS_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-mbx: - set -e; for x in ${MBX_CRT0} ${MBX_BSP}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${MBX_SCRIPTS} ${MBX_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MBX_CRT0} ${MBX_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done + set -e; for x in ${MBX_SCRIPTS} ${MBX_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done doc: info: diff --git a/libgloss/sparc/Makefile.in b/libgloss/sparc/Makefile.in index fcf5448a3..67f19ac7a 100644 --- a/libgloss/sparc/Makefile.in +++ b/libgloss/sparc/Makefile.in @@ -13,6 +13,7 @@ # Makefile for libgloss/sparc. This is the board support # code for the various sparc targets. +DESTDIR = VPATH = @srcdir@ srcdir = @srcdir@ objdir = . @@ -171,36 +172,36 @@ $(objdir)/cygmon.ld: @CYGMONLDSCRIPTTEMPL@ sed 's/TARGET_OBJ_FORMAT/$($(CPU)_OBJ_FORMAT)/g;s/TARGET_RAM_START/$($(CPU)_RAM_START)/g;' < $(<) > $(objdir)/cygmon.ld install: $($(CPU)_INSTALL) - $(INSTALL_DATA) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) sparc-install: - $(INSTALL_DATA) $(CYGMON_BSP) $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(CYGMON_OBJS) $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(objdir)/cygmon.ld $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(CYGMON_CRT0) $(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(CYGMON_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(CYGMON_OBJS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(objdir)/cygmon.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(CYGMON_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} slite-install: - $(INSTALL_DATA) $(930_BSP) $(tooldir)/lib${MULTISUBDIR}/$(930_BSP) - $(INSTALL_DATA) $(931_BSP) $(tooldir)/lib${MULTISUBDIR}/$(931_BSP) - $(INSTALL_DATA) $(934_BSP) $(tooldir)/lib${MULTISUBDIR}/$(934_BSP) - $(INSTALL_DATA) $(86X_BSP) $(tooldir)/lib${MULTISUBDIR}/$(86X_BSP) - $(INSTALL_DATA) $(srcdir)/ex930.ld $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(srcdir)/ex931.ld $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(srcdir)/ex934.ld $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(srcdir)/sparc86x.ld $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(srcdir)/elfsim.ld $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(ERC32_CRT0) $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(ERC32_BSP) $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(objdir)/traps.o $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(CYGMON_BSP) $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(CYGMON_OBJS) $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(objdir)/cygmon.ld $(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(CYGMON_CRT0) $(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(930_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(930_BSP) + $(INSTALL_DATA) $(931_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(931_BSP) + $(INSTALL_DATA) $(934_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(934_BSP) + $(INSTALL_DATA) $(86X_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(86X_BSP) + $(INSTALL_DATA) $(srcdir)/ex930.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(srcdir)/ex931.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(srcdir)/ex934.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(srcdir)/sparc86x.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(srcdir)/elfsim.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(ERC32_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(ERC32_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(objdir)/traps.o $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(CYGMON_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(CYGMON_OBJS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(objdir)/cygmon.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(CYGMON_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} splet-install: - $(INSTALL_DATA) $(701_CRT0) $(tooldir)/lib${MULTISUBDIR}/$(701_CRT0) - $(INSTALL_DATA) $(701_BSP) $(tooldir)/lib${MULTISUBDIR}/$(701_BSP) - $(INSTALL_DATA) $(srcdir)/tsc701.ld $(tooldir)/lib${MULTISUBDIR} + $(INSTALL_DATA) $(701_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(701_CRT0) + $(INSTALL_DATA) $(701_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(701_BSP) + $(INSTALL_DATA) $(srcdir)/tsc701.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} # Make a simple test case to test the linker script, startup code, and # I/O code diff --git a/libgloss/sparc/libsys/Makefile.in b/libgloss/sparc/libsys/Makefile.in index f3a036fdc..b4c4be695 100644 --- a/libgloss/sparc/libsys/Makefile.in +++ b/libgloss/sparc/libsys/Makefile.in @@ -14,6 +14,7 @@ # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +DESTDIR = VPATH = @srcdir@ srcdir = @srcdir@ objdir = . @@ -91,8 +92,8 @@ libsys.a: $(OFILES) $(AR) $(AR_FLAGS) $@ $(OFILES) install: - $(INSTALL_DATA) libsys-crt0.o $(tooldir)/lib/libsys-crt0.o - $(INSTALL_DATA) libsys.a $(tooldir)/lib/libsys.a + $(INSTALL_DATA) libsys-crt0.o $(DESTDIR)$(tooldir)/lib/libsys-crt0.o + $(INSTALL_DATA) libsys.a $(DESTDIR)$(tooldir)/lib/libsys.a doc: diff --git a/libgloss/xstormy16/Makefile.in b/libgloss/xstormy16/Makefile.in index 02a9eca66..b33e1ac73 100644 --- a/libgloss/xstormy16/Makefile.in +++ b/libgloss/xstormy16/Makefile.in @@ -1,6 +1,7 @@ # # +DESTDIR = VPATH = @srcdir@ @srcdir@/.. srcdir = @srcdir@ objdir = . @@ -111,10 +112,10 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: set -e; for x in ${SIM_BSP} ${CRT} ${EVA_APP_BSP} ${EVA_STUB_HEX} ${EVA_STUB} ; do\ - ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; \ + ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done @for script in ${SCRIPTS} ${SIM_SCRIPTS} ${EVA_APP_SCRIPTS}; do\ - ${INSTALL_DATA} ${srcdir}/$${script} ${tooldir}/lib${MULTISUBDIR}/$${script}; \ + ${INSTALL_DATA} ${srcdir}/$${script} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$${script}; \ done |