version 1.1, 1996/10/06 22:24:18
|
version 1.16, 2003/03/09 15:16:51
|
Line 1
|
Line 1
|
|
#Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc. |
|
|
|
#This file is part of Gforth. |
|
|
|
#Gforth is free software; you can redistribute it and/or |
|
#modify it under the terms of the GNU General Public License |
|
#as published by the Free Software Foundation; either version 2 |
|
#of the License, or (at your option) any later version. |
|
|
|
#This program is distributed in the hope that it will be useful, |
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the |
|
#GNU General Public License for more details. |
|
|
|
#You should have received a copy of the GNU General Public License |
|
#along with this program; if not, write to the Free Software |
|
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |
|
|
s% /bin/sh% bash%g |
s% /bin/sh% bash%g |
s% cp% copy%g |
s% cp% copy%g |
s% rm% del%g |
s% rm% del%g |
s% ./gforth % gforth %g |
s% ./gforth % gforth %g |
s%@srcdir@%.%g |
s%@srcdir@%.%g |
s%\"$(FORTHPATH)\"%\".\"%g |
s%\"$(FORTHPATH)\"%\"~+\"%g |
s%@CFLAGS@%%g |
s%@CFLAGS@%%g |
s%@CPPFLAGS@%%g |
s%@CPPFLAGS@%%g |
s%@CXXFLAGS@%%g |
s%@CXXFLAGS@%%g |
Line 34 s%@host_cpu@%i486%g
|
Line 52 s%@host_cpu@%i486%g
|
s%@host_vendor@%%g |
s%@host_vendor@%%g |
s%@host_os@%os2%g |
s%@host_os@%os2%g |
s%@ENGINE_FLAGS@%%g |
s%@ENGINE_FLAGS@%%g |
s%@MAKE_EXE@%-$(CP) gforth gforth.exe%g |
s%gforth:%gforth.exe:%g |
|
s%gforth-ditc:%gforth-ditc.exe:%g |
|
s%-$(CP) gforth gforth~%-$(CP) gforth.exe gforth.exe~%g |
|
s%@GFORTH_EXE@%\ |
|
gforth: gforth.exe%g |
|
s%@GFORTHDITC_EXE@%\ |
|
gforth-ditc: gforth-ditc.exe%g |
s%@PATHSEP@%;%g |
s%@PATHSEP@%;%g |
s%@LINK_KERNL16L@%%g |
s%@LINK_KERNL@%%g |
s%@LINK_KERNL16B@%%g |
s%-DDEFAULTPATH=\\".*"%-DDEFAULTPATH=\\".\\"%g |
s%@LINK_KERNL32L@%%g |
|
s%@LINK_KERNL32B@%%g |
|
s%@LINK_KERNL64L@%%g |
|
s%@LINK_KERNL64B@%%g |
|
s%@KERNEL@%kernl16l.fi kernl16b.fi kernl32l.fi kernl32b.fi kernl64l.fi kernl64b.fi%g |
s%@KERNEL@%kernl16l.fi kernl16b.fi kernl32l.fi kernl32b.fi kernl64l.fi kernl64b.fi%g |
s%@LN_S@%ln -s%g |
s%@LN_S@%ln -s%g |
s%@INSTALL@%install-sh -c%g |
s%@INSTALL@%install-sh -c%g |
s%@INSTALL_PROGRAM@%${INSTALL}%g |
s%@INSTALL_PROGRAM@%${INSTALL}%g |
s%@INSTALL_DATA@%${INSTALL} -m 644%g |
s%@INSTALL_DATA@%${INSTALL} -m 644%g |
s%@LIBOBJS@% pow10.o strsignal.o ecvt.o atanh.o%g |
s%@LIBOBJS@% pow10.o strsignal.o ecvt.o atanh.o getopt.o getopt1.o%g |
s%@getopt_long@%getopt.o getopt1.o%g |
s%@getopt_long@%getopt.o getopt1.o%g |
s%@kernel_fi@%kernl32l.fi%g |
s%@kernel_fi@%kernl32l.fi%g |
|
s%@PATHSEP@%;%g |
|
s%-fforce-mem -fforce-addr %%g |
|
# s%echo "static char gforth_version.*;" >$@%$(CP) version.h1 engine\version.h%g |
|
# s%echo ": version-string.*;" >$@%$(CP) version.fs1 kernel\version.fs%g |
|
s%$(srcdir)/config.h.in: stamp-h.in%#$(srcdir)/config.h.in: stamp-h.in%g |
|
s%engine/config.h: stamp-h%#engine/config.h: stamp-h%g |
|
s%$(FORTHPATH)$(PATHSEP)%%g |
|
s%@FORTHSIZES@%%g |
|
s%test x'$(VERSION)' = x`cat $@` || %%g |
|
s%GFORTHD="./gforth-ditc -p .* $(srcdir)/%%g |
|
s%'s"%"s\\"%g |
|
s%"'%\\""%g |
|
s%@OSCLASS@%dos%g |
|
s%@machine@%386%g |
|
s%@PACKAGE_VERSION@%0.5.9%g |
|
s%@EXEEXT@%.exe%g |
|
s%engine/$@%engine\\$@%g |
|
s%gforthmi gforth\$(EXE)%gforthmi.cmd gforth\$(EXE)%g |
|
s%if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else echo $(VERSION) > $@ ; fi%echo $(VERSION) > $@%g |
|
s%echo ": version-string s\\" $(VERSION)\\" ;" > kernel/version.fs%%g |
|
s%GFORTHD="./gforth-ditc -p .$(PATHSEP)$(srcdir)" GFORTH="./gforth-ditc -p .$(PATHSEP)$(srcdir) -i $(kernel_fi) startup.fs" ./%%g |
|
s%\*\.h %%g |
|
s%\*\.\[h\]%machine.h%g |
|
s%config.h.in ../config.status%%g |
|
s%cd .. && CONFIG_FILES=$@ CONFIG_HEADERS=engine/config.h ./config.status%%g |
|
|