From c06e55d99ac38bd32492481f46b69ec62ee1e433 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 27 May 1994 16:58:05 +0000 Subject: changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) --- bfd/configure.bat | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'bfd/configure.bat') diff --git a/bfd/configure.bat b/bfd/configure.bat index 6cb35f0..78fe79e 100644 --- a/bfd/configure.bat +++ b/bfd/configure.bat @@ -1,18 +1,18 @@ -@echo off -if "%1" == "go32" goto h8300 -if "%1" == "h8/300" goto h8300 -echo Specify one of [ go32 h8/300 ] on command line -goto exit - -:go32 -echo Configuring bfd for go32 -copy hosts/h-go32.h sysdep.h -copy Makefile.dos Makefile -goto exit - -:h8300 -echo Configuring bfd for H8/300 -copy hosts\h-go32.h sysdep.h -copy Makefile.dos Makefile - -:exit +@echo off +if "%1" == "h8/300" goto h8300 + +echo Configuring bfd for go32 +update hosts\go32.h sysdep.h +update Makefile.dos Makefile +echo s/@WORDSIZE@/32/g>config.sed +sed -e s/^/s\/@VERSION@\// -e s/$/\/g/g version >>config.sed +sed -f config.sed < bfd-in2.h > bfd.h2 +update bfd.h2 bfd.h +goto exit + +:h8300 +echo Configuring bfd for H8/300 +update hosts\h-go32.h sysdep.h +update Makefile.dos Makefile + +:exit -- cgit v1.1