+++ /dev/null
-@echo off\r
-echo Configuring ld for go32\r
-echo This makefile will be built for GNUISH make\r
-rem This batch file assumes a unix-type "sed" program\r
-\r
-update ..\bfd\hosts\go32.h sysdep.h\r
-\r
-echo # Makefile generated by "configure.bat"> Makefile\r
-echo LONGARGS = gcc:ar >> Makefile\r
-echo CC=gcc >> Makefile\r
-echo host_alias=go32 >> Makefile\r
-echo target_alias=go32 >> Makefile\r
-\r
-update ../bfd/hosts/go32.h sysdep.h\r
-\r
-if exist config.sed del config.sed\r
-\r
-echo "s/^ \$(srcdir)\/move-if-change/ update/ ">> config.sed\r
-echo "s/:\([^ ]\)/: \1/g ">> config.sed\r
-echo "s/^ \ *\.\// go32 / ">> config.sed\r
-echo "s/`echo \$(srcdir)\///g ">> config.sed\r
-echo "s/ | sed 's,\^\\\.\/,,'`//g ">> config.sed\r
-echo "s/^ cd \$(srcdir)[ ]*;// ">> config.sed\r
-\r
-echo "/^####$/ i\ ">> config.sed\r
-echo "CC = gcc\ ">> config.sed\r
-echo "EMUL=go32\ ">> config.sed\r
-echo "EMULATION_OFILES=ego32.o ei386aout.o ">> config.sed\r
-\r
-echo "/^SHELL *=/ d ">> config.sed\r
-echo "s/$(SHELL)/sh.exe/g ">> config.sed\r
-\r
-echo "s/'"/\\"/g ">> config.sed\r
-echo "s/"'/\\"/g ">> config.sed\r
-\r
-echo "/^ldmain.o: ldmain.c/,/fi/ { ">> config.sed\r
-echo " s/; *\\$// ">> config.sed\r
-echo " s/-DSCRIPTDIR[^ ]*/-DSCRIPTDIR=\\".\\"/ ">> config.sed\r
-echo " s/config.status// ">> config.sed\r
-echo " /ldmain.o:/ p ">> config.sed\r
-echo " /(CC)/ p ">> config.sed\r
-echo " d ">> config.sed\r
-echo "} ">> config.sed\r
-\r
-echo "s/^SHELL.*$/SHELL=sh.exe/ ">> config.sed\r
-echo "s/genscripts.sh/genscripts.dos/g ">> config.sed\r
-\r
-echo "s/^ldemul-list.h/not-ldemul-list.h/ ">> config.sed\r
-\r
-sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed\r
-sed -f config2.sed Makefile.in >> Makefile\r
-del config.sed\r
-del config2.sed\r
-\r
-echo set -a > genscripts.dj\r
-sed -e "/^[a-zA-Z0-9_]*=/ s/^/export /" -e "s/(. \(.*\))/sh \1/" -e "/\.em/ d" genscripts.sh >> genscripts.dj\r
-type emultempl\generic.em >> genscripts.dj\r
-update genscripts.dj genscripts.dos\r
-\r
-echo extern ld_emulation_xfer_type ld_go32_emulation; > ldemul-list.h2\r
-echo extern ld_emulation_xfer_type ld_i386aout_emulation; >> ldemul-list.h2\r
-echo #define EMULATION_LIST \>>ldemul-list.h2\r
-echo &ld_go32_emulation,\>>ldemul-list.h2\r
-echo &ld_i386aout_emulation,\>>ldemul-list.h2\r
-echo 0>>ldemul-list.h2\r
-\r
-update ldemul-list.h2 ldemul-list.h\r
-\r
-if exist ldscripts\dostest goto ldscripts\r
-mkdir ldscripts\r
-dir > ldscripts\dostest\r
-:ldscripts\r
+++ /dev/null
-@echo off\r
-echo Configuring opcodes for go32\r
-rem This batch file assumes a unix-type "sed" program\r
-\r
-echo # Makefile generated by "configure.bat"> Makefile\r
-\r
-if exist config.sed del config.sed\r
-\r
-echo "/\.o[ ]*:/ s/config.status// ">> config.sed\r
-echo "s/CC = cc/CC = gcc/ ">> config.sed\r
-echo "s/@BFD_MACHINES@/i386-dis.o/ ">> config.sed\r
-echo "s/@archdefs@/-DARCH_i386/ ">> config.sed\r
-echo "s/@frags@// ">> config.sed\r
-echo "s/@srcdir@// ">> config.sed\r
-echo "s!@prefix@!/usr/local! ">> config.sed\r
-echo "s!@exec_prefix@!/usr/local! ">> config.sed\r
-echo "s/@RANLIB@/ranlib/ ">> config.sed\r
-\r
-echo "s/^[ ]*rm/ -rm/ ">> config.sed\r
-\r
-sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed\r
-sed -f config2.sed Makefile.in >> Makefile\r
-del config.sed\r
-del config2.sed\r