mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 21:13:52 +08:00
25 lines
818 B
Batchfile
25 lines
818 B
Batchfile
@echo off
|
|
echo Configuring opcodes for go32
|
|
rem This batch file assumes a unix-type "sed" program
|
|
|
|
echo # Makefile generated by "configure.bat"> Makefile
|
|
|
|
if exist config.sed del config.sed
|
|
|
|
echo "/\.o[ ]*:/ s/config.status// ">> config.sed
|
|
echo "s/CC = cc/CC = gcc/ ">> config.sed
|
|
echo "s/@BFD_MACHINES@/i386-dis.o/ ">> config.sed
|
|
echo "s/@archdefs@/-DARCH_i386/ ">> config.sed
|
|
echo "s/@frags@// ">> config.sed
|
|
echo "s/@srcdir@// ">> config.sed
|
|
echo "s!@prefix@!/usr/local! ">> config.sed
|
|
echo "s!@exec_prefix@!/usr/local! ">> config.sed
|
|
echo "s/@RANLIB@/ranlib/ ">> config.sed
|
|
|
|
echo "s/^[ ]*rm/ -rm/ ">> config.sed
|
|
|
|
sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
|
|
sed -f config2.sed Makefile.in >> Makefile
|
|
del config.sed
|
|
del config2.sed
|