Remove unused variables
[deliverable/binutils-gdb.git] / bfd / configure.bat
index 6cb35f03950d95042bfb115faa9a4e9fbb0ecd8e..78fe79e9112341f3418c18a63b6a3e6faa010b5a 100644 (file)
@@ -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\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
This page took 0.023921 seconds and 4 git commands to generate.