--- gforth/config.bat 1998/11/08 23:08:03 1.4 +++ gforth/config.bat 2007/12/31 19:02:24 1.13 @@ -1,11 +1,11 @@ @ECHO OFF -REM Copyright 1995 Free Software Foundation, Inc. +REM Copyright (C) 1995,1996,1997,1998,2000,2003,2007 Free Software Foundation, Inc. REM REM This file is part of Gforth. REM REM Gforth is free software; you can redistribute it and/or REM modify it under the terms of the GNU General Public License -REM as published by the Free Software Foundation; either version 2 +REM as published by the Free Software Foundation, either version 3 REM of the License, or (at your option) any later version. REM REM This program is distributed in the hope that it will be useful, @@ -26,18 +26,22 @@ IF "%1"=="--enable-force-reg" set FREGS= shift IF NOT "%1"=="" GOTO SWITCHES COPY MAKEFILE.DOS MAKEFILE +CD ENGINE +COPY MAKEFILE.DOS MAKEFILE +CD .. COPY KERNL32L.FI KERNEL.FI COPY ENVOS.DOS ENVOS.FS COPY DOSCONF.H ENGINE\CONFIG.H -IF "%THREAD%"=="i" ECHO #ifndef INDIRECT_THREADED >>CONFIG.H -IF "%THREAD%"=="i" ECHO #define INDIRECT_THREADED 1 >>CONFIG.H -IF "%THREAD%"=="i" ECHO #endif >>CONFIG.H -IF "%THREAD%"=="d" ECHO #ifndef DIRECT_THREADED >>CONFIG.H -IF "%THREAD%"=="d" ECHO #define DIRECT_THREADED 1 >>CONFIG.H -IF "%THREAD%"=="d" ECHO #endif >>CONFIG.H -IF "%FREGS%"=="y" ECHO #ifndef FORCE_REG >>CONFIG.H -IF "%FREGS%"=="y" ECHO #define FORCE_REG 1 >>CONFIG.H -IF "%FREGS%"=="y" ECHO #endif >>CONFIG.H -ECHO static char gforth_version[]="0.4.0"; >version.h1 -ECHO : version-string s" 0.4.0" ; >version.fs1 +IF "%THREAD%"=="i" ECHO #ifndef INDIRECT_THREADED >>ENGINE\CONFIG.H +IF "%THREAD%"=="i" ECHO #define INDIRECT_THREADED 1 >>ENGINE\CONFIG.H +IF "%THREAD%"=="i" ECHO #endif >>ENGINE\CONFIG.H +IF "%THREAD%"=="d" ECHO #ifndef DIRECT_THREADED >>ENGINE\CONFIG.H +IF "%THREAD%"=="d" ECHO #define DIRECT_THREADED 1 >>ENGINE\CONFIG.H +IF "%THREAD%"=="d" ECHO #endif >>ENGINE\CONFIG.H +IF "%FREGS%"=="y" ECHO #ifndef FORCE_REG >>ENGINE\CONFIG.H +IF "%FREGS%"=="y" ECHO #define FORCE_REG 1 >>ENGINE\CONFIG.H +IF "%FREGS%"=="y" ECHO #endif >>ENGINE\CONFIG.H +ECHO static char gforth_version[]="0.5.0"; >version.h1 +ECHO : version-string s" 0.5.0" ; >version.fs1 +COPY version.fs1 kernel\version.fs  \ No newline at end of file