From bb6c84bb9e64523b8f9746b760729fcd50d103fb Mon Sep 17 00:00:00 2001 From: kenner Date: Sun, 26 May 1996 12:29:56 +0000 Subject: Make .h files properly for Alpha. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12109 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/winnt/config-nt.bat | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'gcc/config/winnt') diff --git a/gcc/config/winnt/config-nt.bat b/gcc/config/winnt/config-nt.bat index 59a00863931..688d1264e89 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.2.1