+++ /dev/null
-@echo off\r
-if "%1" == "h8/300" goto h8300\r
-\r
-echo Configuring bfd for go32\r
-update hosts\go32.h sysdep.h\r
-update Makefile.dos Makefile\r
-echo s/@WORDSIZE@/32/g>config.sed\r
-sed -e s/^/s\/@VERSION@\// -e s/$/\/g/g version >>config.sed\r
-sed -f config.sed < bfd-in2.h > bfd.h2\r
-update bfd.h2 bfd.h\r
-goto exit\r
-\r
-:h8300\r
-echo Configuring bfd for H8/300\r
-update hosts\h-go32.h sysdep.h\r
-update Makefile.dos Makefile\r
-\r
-:exit\r
+++ /dev/null
-@echo off\r
-if "%1" == "h8/300" goto h8300\r
-\r
-echo Configuring binutils for go32\r
-update ../bfd/hosts/go32.h sysdep.h\r
-goto common\r
-\r
-:h8300\r
-echo Configuring binutils for H8/300\r
-update ..\bfd\hosts\h-go32.h sysdep.h\r
-\r
-:common\r
-\r
-echo # Makefile generated by "configure.bat"> Makefile\r
-\r
-if exist config.sed del config.sed\r
-\r
-sed -n "/^VERSION=/ p" Makefile.in | sed -e "s/^/s^/" -e "s/=/^\"/" -e "s/$/\"^/" > config.sed\r
-sed -f config.sed version.c > version2.c\r
-\r
-if exist config.sed del config.sed\r
-\r
-echo "s/version\./version2\./g ">> config.sed\r
-echo "s/-DVERSION=[^ ]* // ">> config.sed\r
-\r
-echo "s/^ \$(srcdir)\/move-if-change/ update/ ">> config.sed\r
-echo "/^###$/ i\ ">> config.sed\r
-echo "CC = gcc ">> 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 "/^arparse\.c/ i\ ">> config.sed\r
-echo "arparse.o: arparse.c\ ">> config.sed\r
-echo " $(CC) -c $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) arparse.c ">> config.sed\r
-echo "/\$(BISON)/ c\ ">> config.sed\r
-echo " bison $(BISONFLAGS) -o $@ arparse.y ">> config.sed\r
-echo "/y\.tab\./ d ">> config.sed\r
-\r
-echo "/^arlex.c/ { ">> config.sed\r
-echo " i\ ">> config.sed\r
-echo "arlex.o: arlex.c ">> config.sed\r
-echo " i\ ">> config.sed\r
-echo " $(CC) -c $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) arlex.c ">> config.sed\r
-echo "} ">> config.sed\r
-echo "/\$(LEX)/ c\ ">> config.sed\r
-echo " flex $(LEX_OPTIONS) arlex.l ">> config.sed\r
-echo "s/lex\.yy\./lexyy./g ">> config.sed\r
-\r
-echo "s/'"/\\"/g ">> config.sed\r
-echo "s/"'/\\"/g ">> config.sed\r
-\r
-echo "s/c++filt/cxxfilt/g ">> 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 int prepends_underscore = 1; > underscore.c\r
-\r
+++ /dev/null
-@echo off\r
-echo Configuring gprof 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 "/^###$/ i\ ">>config.sed\r
-echo "MY_MACHINE=i386\ ">>config.sed\r
-echo "CC=gcc ">>config.sed\r
-\r
-echo # >> 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