version 1.9, 1998/12/08 22:02:37
|
version 1.13, 2003/08/25 14:17:43
|
Line 1
|
Line 1
|
/* |
/* |
Copyright (C) 1996,1997,1998 Free Software Foundation, Inc. |
Copyright (C) 1996,1997,1998,2000,2003 Free Software Foundation, Inc. |
|
|
This file is part of Gforth. |
This file is part of Gforth. |
|
|
Line 15 GNU General Public License for more deta
|
Line 15 GNU General Public License for more deta
|
|
|
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License |
along with this program; if not, write to the Free Software |
along with this program; if not, write to the Free Software |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |
*/ |
*/ |
say "*** Configuring for OS/2 with EMX 3.0 GNU C ***" |
say "*** Configuring for OS/2 with EMX 3.0 GNU C ***" |
|
|
Line 54 do while args \== ""
|
Line 54 do while args \== ""
|
end |
end |
|
|
copy makefile.os2 makefile |
copy makefile.os2 makefile |
|
copy "engine\makefile.os2" "engine\makefile" |
copy kernl32l.fi kernel.fi |
copy kernl32l.fi kernel.fi |
copy envos.os2 envos.fs |
copy envos.os2 envos.fs |
copy os2conf.h engine\config.h |
copy os2conf.h "engine\config.h" |
if THREAD="i" THEN DO |
if THREAD="i" THEN DO |
call lineout engine\config.h, "#ifndef INDIRECT_THREADED" |
call lineout "engine\config.h", "#ifndef INDIRECT_THREADED" |
call lineout engine\config.h, "#define INDIRECT_THREADED 1" |
call lineout "engine\config.h", "#define INDIRECT_THREADED 1" |
call lineout engine\config.h, "#endif" |
call lineout "engine\config.h", "#endif" |
end |
end |
IF THREAD="d" THEN do |
IF THREAD="d" THEN do |
call lineout engine\config.h, "#ifndef DIRECT_THREADED" |
call lineout "engine\config.h", "#ifndef DIRECT_THREADED" |
call lineout engine\config.h, "#define DIRECT_THREADED 1" |
call lineout "engine\config.h", "#define DIRECT_THREADED 1" |
call lineout engine\config.h, "#endif" |
call lineout "engine\config.h", "#endif" |
end |
end |
IF FREGS="y" THEN do |
IF FREGS="y" THEN do |
call lineout engine\config.h, "#ifndef FORCE_REG" |
call lineout "engine\config.h", "#ifndef FORCE_REG" |
call lineout engine\config.h, "#define FORCE_REG 1" |
call lineout "engine\config.h", "#define FORCE_REG 1" |
call lineout engine\config.h, "#endif" |
call lineout "engine\config.h", "#endif" |
end |
end |
call lineout version.h1, 'static char gforth_version[]="0.4.0";' |
call lineout version.h1, 'static char gforth_version[]="0.4.0";' |
call lineout version.fs1, ': version-string s" 0.4.0" ;' |
call lineout "kernel\version.fs", ': version-string s" 0.4.0" ;' |
call lineout 'version-stamp', '0.4.0' |
call lineout 'version-stamp', '0.4.0' |