From a6adb9ede1fc84546a96fa1fbb571e00a260aa22 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 26 May 1996 08:29:56 -0400 Subject: Make .h files properly for Alpha. From-SVN: r12109 --- gcc/config/winnt/config-nt.bat | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/config/winnt/config-nt.bat b/gcc/config/winnt/config-nt.bat index 59a0086..688d1264 100644 --- a/gcc/config/winnt/config-nt.bat +++ b/gcc/config/winnt/config-nt.bat @@ -1,10 +1,17 @@ echo Configuring GCC for Windows NT on %2 rem This batch file assumes a unix-type "sed" program -echo #include "%2/xm-winnt.h" >config.h -echo #include "%2/xm-winnt.h" >hconfig.h -echo #include "%2/xm-winnt.h" >tconfig.h -echo #include "%2/win-nt.h" >tm.h +if %2.==alpha. echo #include "alpha/xm-alpha.h" >config.h +if %2.==alpha. echo #include "winnt/xm-winnt.h" >>config.h +if %2.==alpha. echo #include "alpha/xm-winnt.h" >>config.h +if not %2.==alpha. echo #include "%2/xm-winnt.h" >config.h +copy config.h hconfig.h +copy config.h tconfig.h + +if %2.==alpha. echo #define TARGET_CPU_DEFAULT 64 >tm.h +if %2.==alpha. echo #include "alpha/alpha.h" >>tm.h +if %2.==alpha. echo #include "alpha/win-nt.h" >>tm.h +if not %2.==alpha. echo #include "%2/win-nt.h" >tm.h rem This batch file assumes a unix-type "sed" program -- cgit v1.1