diff --git a/libgloss/arm/Makefile.in b/libgloss/arm/Makefile.in index e1bad1710..9201a1b0c 100644 --- a/libgloss/arm/Makefile.in +++ b/libgloss/arm/Makefile.in @@ -41,6 +41,8 @@ MULTIDIR_semihv2m_NAME = -v2m SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -219,32 +221,40 @@ install: ${CRT0_INSTALL} ${LINUX_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} $ $(MAKE) $(AM_MAKEFLAGS) install-recursive install-nano: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${NANO_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-crt0: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x install-linux: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${LINUX_CRT0} ${LINUX_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-redboot: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${PID_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-iq80310: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${IQ80310_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done @@ -259,4 +269,4 @@ Makefile: Makefile.in config.status @host_makefile_frag_path@ config.status: configure $(SHELL) config.status --recheck -include $(srcdir)/../multi-build.in \ No newline at end of file +include $(srcdir)/../multi-build.in diff --git a/libgloss/cr16/Makefile.in b/libgloss/cr16/Makefile.in index 145d78bd0..541665188 100644 --- a/libgloss/cr16/Makefile.in +++ b/libgloss/cr16/Makefile.in @@ -30,6 +30,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -127,11 +129,13 @@ distclean maintainer-clean realclean: clean install: ${CRT_INSTALL} ${SIM_INSTALL} ${H_INSTALL} install-crt: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${CRT} ; do\ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done install-sim: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for x in ${SIM_BSP} ; do\ ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done @@ -140,6 +144,7 @@ install-sim: done install-hndl: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for x in ${H_BSP}; do\ ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done diff --git a/libgloss/cris/Makefile.in b/libgloss/cris/Makefile.in index 838ddb60f..e254ce548 100644 --- a/libgloss/cris/Makefile.in +++ b/libgloss/cris/Makefile.in @@ -30,6 +30,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -203,6 +205,7 @@ install: ${SIM_INSTALL} ${BSP_INSTALL} ${LIN_INSTALL} # Note that bsp and elinux objects are exclusive: do not overlap # installed files. install-bsp: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} case "${MULTISUBDIR}" in \ */elinux) ;; \ *) set -e; \ @@ -212,12 +215,14 @@ install-bsp: esac install-sim: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; \ for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done install-lin: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} case "${MULTISUBDIR}" in \ */elinux) \ ${INSTALL_DATA} ${LIN_CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/crt0.o; \ diff --git a/libgloss/crx/Makefile.in b/libgloss/crx/Makefile.in index a57759d43..1ac308697 100644 --- a/libgloss/crx/Makefile.in +++ b/libgloss/crx/Makefile.in @@ -30,6 +30,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -127,11 +129,13 @@ distclean maintainer-clean realclean: clean install: ${CRT_INSTALL} ${SIM_INSTALL} ${H_INSTALL} install-crt: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${CRT} ; do\ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done install-sim: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for x in ${SIM_BSP} ; do\ ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done @@ -140,6 +144,7 @@ install-sim: done install-hndl: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for x in ${H_BSP}; do\ ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done diff --git a/libgloss/csky/Makefile.in b/libgloss/csky/Makefile.in index d3f6ce5e3..b0af7d653 100644 --- a/libgloss/csky/Makefile.in +++ b/libgloss/csky/Makefile.in @@ -44,6 +44,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -100,12 +102,14 @@ crt0.o: $(CRT0) .PHONY: install info dvi doc install-info clean-info install:: $(DO:%=install_%) crt0.o + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) crt0.o $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(crt0.o) $(DO:%=install_%): install_hosted .PHONY:install_hosted install_hosted:: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) $(HOSTED_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(HOSTED_BSP) # target specific makefile fragment comes in here. diff --git a/libgloss/d30v/Makefile.in b/libgloss/d30v/Makefile.in index 85caedb90..a27e720ff 100644 --- a/libgloss/d30v/Makefile.in +++ b/libgloss/d30v/Makefile.in @@ -45,6 +45,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -115,6 +117,7 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} install-sim: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done doc: diff --git a/libgloss/fr30/Makefile.in b/libgloss/fr30/Makefile.in index adcc98b9c..4c988efb7 100644 --- a/libgloss/fr30/Makefile.in +++ b/libgloss/fr30/Makefile.in @@ -29,6 +29,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -126,10 +128,12 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} install-mon: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done doc: diff --git a/libgloss/frv/Makefile.in b/libgloss/frv/Makefile.in index 0a301739b..cf3b8b437 100644 --- a/libgloss/frv/Makefile.in +++ b/libgloss/frv/Makefile.in @@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -104,6 +106,7 @@ sim-write.o: $(srcdir)/sim-write.S stat.o: $(srcdir)/stat.c install: $($(CPU)_INSTALL) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) diff --git a/libgloss/ft32/Makefile.in b/libgloss/ft32/Makefile.in index 15161553e..4fa84e3fb 100644 --- a/libgloss/ft32/Makefile.in +++ b/libgloss/ft32/Makefile.in @@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -105,6 +107,7 @@ sim-write.o: $(srcdir)/sim-write.S stat.o: $(srcdir)/stat.c install: $($(CPU)_INSTALL) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) for x in ${LD_SCRIPTS}; do \ diff --git a/libgloss/hp74x/Makefile.in b/libgloss/hp74x/Makefile.in index 1460f8a2e..12c51bf3b 100644 --- a/libgloss/hp74x/Makefile.in +++ b/libgloss/hp74x/Makefile.in @@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -101,6 +103,7 @@ hpstub: $(OBJS) $(OBJS) -lc -m >stub.map install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib/${MULTISUBDIR} $(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) diff --git a/libgloss/i386/Makefile.in b/libgloss/i386/Makefile.in index 536f37f98..5764d44b1 100644 --- a/libgloss/i386/Makefile.in +++ b/libgloss/i386/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ #AS = @AS@ @@ -103,6 +105,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ diff --git a/libgloss/i960/Makefile.in b/libgloss/i960/Makefile.in index 149b8444a..bf1a49e58 100644 --- a/libgloss/i960/Makefile.in +++ b/libgloss/i960/Makefile.in @@ -29,6 +29,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -125,10 +127,12 @@ distclean maintainer-clean realclean: clean install: ${MON_INSTALL} install-mon: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done doc: diff --git a/libgloss/iq2000/Makefile.in b/libgloss/iq2000/Makefile.in index 52b38a3e9..4555a7481 100644 --- a/libgloss/iq2000/Makefile.in +++ b/libgloss/iq2000/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ #AS = @AS@ @@ -122,6 +124,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ diff --git a/libgloss/m32c/Makefile.in b/libgloss/m32c/Makefile.in index cc6777c60..cb520723a 100644 --- a/libgloss/m32c/Makefile.in +++ b/libgloss/m32c/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -175,12 +177,14 @@ utime.o : $(SDEPS) write.o : $(SDEPS) install: $(CRT) $(SIM_BSP) $(M32C_BSP) $(SCRIPTS) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for c in $(CRT) $(SIM_BSP) $(M32C_BSP); do \ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ done for c in $(SCRIPTS); do \ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ done + ${mkinstalldirs} ${DESTDIR}${tooldir}/include for c in $(HEADERS); do \ $(INSTALL_DATA) ${srcdir}/$$c \ $(DESTDIR)$(tooldir)/include/$$c ;\ diff --git a/libgloss/m68hc11/Makefile.in b/libgloss/m68hc11/Makefile.in index f2fc7ae3b..0613c95b0 100644 --- a/libgloss/m68hc11/Makefile.in +++ b/libgloss/m68hc11/Makefile.in @@ -46,6 +46,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -141,6 +143,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: install-scripts + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ @@ -148,6 +151,7 @@ install: install-scripts # Install the linker script in the correct place. install-scripts: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} if [ -f ${objroot}/../binutils/objdump ] ; then \ objdump="${objroot}/../binutils/objdump"; \ else \ diff --git a/libgloss/m68k/Makefile.in b/libgloss/m68k/Makefile.in index f1ca1c492..b9452bad7 100644 --- a/libgloss/m68k/Makefile.in +++ b/libgloss/m68k/Makefile.in @@ -45,6 +45,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -409,6 +411,7 @@ install:: $(DO:%=install_%) .PHONY:install_m68k install_m68k:: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} # install SIM stuff $(INSTALL_PROGRAM) $(SIM_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_CRT0) $(INSTALL_PROGRAM) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) @@ -435,6 +438,7 @@ install_m68k:: .PHONY: install_cf install_cf:: install_io + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} # install CF stuff $(INSTALL_DATA) $(CF_CRT0S) $(CF_BSP) \ $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} @@ -447,6 +451,7 @@ endif .PHONY: install_fido install_fido:: install_io + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(FIDO_CRT0S) $(FIDO_BSP) \ $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR) $(INSTALL_DATA) $(FIDO_SCRIPTS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} @@ -459,6 +464,7 @@ endif .PHONY: install_io install_io:: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} # install IO stuff $(INSTALL_DATA) $(HOSTED_BSP) $(UNHOSTED_BSP) \ $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} diff --git a/libgloss/mcore/Makefile.in b/libgloss/mcore/Makefile.in index ecfd2b6fd..7d3702792 100644 --- a/libgloss/mcore/Makefile.in +++ b/libgloss/mcore/Makefile.in @@ -29,6 +29,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -125,10 +127,12 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} ${MON_INSTALL} install-mon: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done doc: diff --git a/libgloss/mep/Makefile.in b/libgloss/mep/Makefile.in index 71aa647c3..fe8b3adbf 100644 --- a/libgloss/mep/Makefile.in +++ b/libgloss/mep/Makefile.in @@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -98,6 +100,7 @@ simnovec-crt0.o: $(srcdir)/simnovec-crt0.S $(srcdir)/sim-crt0.S crtn.o: $(srcdir)/crtn.S $(srcdir)/sim-crtn.S install: $(CRT) $(SIM_BSP) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for c in $(CRT) $(SIM_BSP); do \ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ done diff --git a/libgloss/microblaze/Makefile.in b/libgloss/microblaze/Makefile.in index 670c16a46..f1fa286bb 100644 --- a/libgloss/microblaze/Makefile.in +++ b/libgloss/microblaze/Makefile.in @@ -60,6 +60,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -99,6 +101,7 @@ CPU = @CPU@ all: ${CRT} ${LIB} ${LINUX_BSP} install: ${CRT} ${LIB} install-linux + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} @for crt in ${CRT}; do \ $(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \ done @@ -106,6 +109,7 @@ install: ${CRT} ${LIB} install-linux $(INSTALL_PROGRAM) $(srcdir)/${SCRIPTS} $(DESTDIR)$(tooldir)/lib/ install-linux: ${LINUX_BSP} + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) ${LINUX_BSP} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done diff --git a/libgloss/mn10200/Makefile.in b/libgloss/mn10200/Makefile.in index 5a6e10b31..af16e7a52 100644 --- a/libgloss/mn10200/Makefile.in +++ b/libgloss/mn10200/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ #AS = @AS@ @@ -122,6 +124,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) @for bsp in ${BSP}; do\ $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ diff --git a/libgloss/moxie/Makefile.in b/libgloss/moxie/Makefile.in index 9aba6b4ce..bb074ce12 100644 --- a/libgloss/moxie/Makefile.in +++ b/libgloss/moxie/Makefile.in @@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -129,6 +131,7 @@ stat.o: $(srcdir)/stat.c qemu-write.o: $(srcdir)/qemu-write.c install: ${CRT0_INSTALL} $($(CPU)_INSTALL) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) $(INSTALL_DATA) $(QEMU_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(QEMU_BSP) for x in ${LD_SCRIPTS}; do \ @@ -136,6 +139,7 @@ install: ${CRT0_INSTALL} $($(CPU)_INSTALL) done; install-crt0: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x clean mostlyclean: diff --git a/libgloss/mt/Makefile.in b/libgloss/mt/Makefile.in index c03b3e87e..397ae48ff 100644 --- a/libgloss/mt/Makefile.in +++ b/libgloss/mt/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -102,6 +104,7 @@ crt0-ms2.o: $(srcdir)/crt0-ms2.S trap.o: $(srcdir)/trap.S install: $($(CPU)_INSTALL) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for c in $(CRT0); do \ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ; \ done; diff --git a/libgloss/nios2/Makefile.in b/libgloss/nios2/Makefile.in index fe1ea6ada..cbe1c5552 100644 --- a/libgloss/nios2/Makefile.in +++ b/libgloss/nios2/Makefile.in @@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -92,6 +94,7 @@ $(HOSTED_BSP): crt0.o io-nios2.o $(HOSTED_OBJS) $(OTHER_OBJS) .PHONY: install info dvi doc install-info clean-info install:: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(HOSTED_BSP) \ $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} for x in ${BSP_SCRIPTS}; do\ diff --git a/libgloss/or1k/Makefile.in b/libgloss/or1k/Makefile.in index f7d138ca7..9d8d16991 100644 --- a/libgloss/or1k/Makefile.in +++ b/libgloss/or1k/Makefile.in @@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ AR = @AR@ @@ -126,8 +128,8 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(DESTDIR)$(tooldir)/include @for outputs in ${OUTPUTS}; do\ - mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ $(INSTALL_DATA) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ done $(INSTALL_DATA) ${srcdir}/include/or1k-support.h $(DESTDIR)$(tooldir)/include/ diff --git a/libgloss/pa/Makefile.in b/libgloss/pa/Makefile.in index a26b332a6..d3e95c8c6 100644 --- a/libgloss/pa/Makefile.in +++ b/libgloss/pa/Makefile.in @@ -40,6 +40,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -129,6 +131,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) # install Oki stuff $(INSTALL_PROGRAM) $(OKI_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(OKI_BSP) diff --git a/libgloss/rl78/Makefile.in b/libgloss/rl78/Makefile.in index 375dcf22f..eb220f61a 100644 --- a/libgloss/rl78/Makefile.in +++ b/libgloss/rl78/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -135,6 +137,7 @@ utime.o : $(SDEPS) write.o : $(SDEPS) install: $(CRT) $(SIM_BSP) $(SCRIPTS) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for c in $(CRT) $(SIM_BSP); do \ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ done diff --git a/libgloss/rs6000/Makefile.in b/libgloss/rs6000/Makefile.in index 51714e59b..d2446d1dd 100644 --- a/libgloss/rs6000/Makefile.in +++ b/libgloss/rs6000/Makefile.in @@ -45,6 +45,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -355,30 +357,38 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} ${MVME_INSTALL} ${SOLARIS_INSTALL} ${LINUX_INSTALL} ${YELLOWKNIFE_INSTALL} ${ADS_INSTALL} ${MBX_INSTALL} ${XIL_INSTALL} install-sim: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-mvme: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${MVME_CRT0} ${MVME_BSP} ${MVME_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-solaris: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${SOLARIS_CRT0} ${SOLARIS_BSP} ${SOLARIS_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-linux: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${LINUX_CRT0} ${LINUX_BSP} ${LINUX_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done install-yellowknife: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} 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 install-xil: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${XIL_CRT0} ${XIL_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done set -e; for x in ${XIL_SCRIPTS} ${XIL_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib/$$x; done diff --git a/libgloss/rx/Makefile.in b/libgloss/rx/Makefile.in index f19e08676..d730451bc 100644 --- a/libgloss/rx/Makefile.in +++ b/libgloss/rx/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -138,6 +140,7 @@ utime.o : $(SDEPS) write.o : $(SDEPS) install: $(CRT) $(SIM_BSP) $(SCRIPTS) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for c in $(CRT) $(SIM_BSP); do \ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ done diff --git a/libgloss/tic6x/Makefile.in b/libgloss/tic6x/Makefile.in index d940ecc14..976babab4 100644 --- a/libgloss/tic6x/Makefile.in +++ b/libgloss/tic6x/Makefile.in @@ -29,6 +29,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -105,6 +107,7 @@ distclean maintainer-clean realclean: clean install: ${SIM_INSTALL} install-sim: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e;\ for x in ${SIM_CRT0} ${SIM_BSP}; do\ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x;\ diff --git a/libgloss/v850/Makefile.in b/libgloss/v850/Makefile.in index dd121439d..dd507be59 100644 --- a/libgloss/v850/Makefile.in +++ b/libgloss/v850/Makefile.in @@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -130,6 +132,7 @@ wait.o: $(srcdir)/wait.c write.o: $(srcdir)/write.c install: $($(CPU)_INSTALL) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) diff --git a/libgloss/visium/Makefile.in b/libgloss/visium/Makefile.in index 2906977c5..0e1789a26 100644 --- a/libgloss/visium/Makefile.in +++ b/libgloss/visium/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -108,6 +110,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} @for bsp in ${BSP}; do\ $(INSTALL_DATA) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ done diff --git a/libgloss/xc16x/Makefile.in b/libgloss/xc16x/Makefile.in index 885cf13a1..357f02e1d 100644 --- a/libgloss/xc16x/Makefile.in +++ b/libgloss/xc16x/Makefile.in @@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ #AS = @AS@ @@ -118,6 +120,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} @for crt in ${CRT0}; do \ $(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \ done diff --git a/libgloss/xstormy16/Makefile.in b/libgloss/xstormy16/Makefile.in index 0d84b1611..49d8a8dea 100644 --- a/libgloss/xstormy16/Makefile.in +++ b/libgloss/xstormy16/Makefile.in @@ -29,6 +29,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -111,6 +113,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${SIM_BSP} ${CRT} ${EVA_APP_BSP} ${EVA_STUB_HEX} ${EVA_STUB} ; do\ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done