1: #Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc.
2:
3: #This file is part of Gforth.
4:
5: #Gforth is free software; you can redistribute it and/or
6: #modify it under the terms of the GNU General Public License
7: #as published by the Free Software Foundation; either version 2
8: #of the License, or (at your option) any later version.
9:
10: #This program is distributed in the hope that it will be useful,
11: #but WITHOUT ANY WARRANTY; without even the implied warranty of
12: #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the
13: #GNU General Public License for more details.
14:
15: #You should have received a copy of the GNU General Public License
16: #along with this program; if not, write to the Free Software
17: #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
18:
19: s% /bin/sh% bash%g
20: s% cp% copy%g
21: s% rm% del%g
22: s% ./gforth % gforth %g
23: s%@srcdir@%.%g
24: s%\"$(FORTHPATH)\"%\"~+\"%g
25: s%@CFLAGS@%%g
26: s%@CPPFLAGS@%%g
27: s%@CXXFLAGS@%%g
28: s%@DEFS@%-DHAVE_CONFIG_H%g
29: s%@LDFLAGS@%%g
30: s%@LIBS@%-lm %g
31: s%@exec_prefix@%${prefix}%g
32: s%@prefix@%/usr/local%g
33: s%@program_transform_name@%s,x,x,%g
34: s%@bindir@%${exec_prefix}/bin%g
35: s%@sbindir@%${exec_prefix}/sbin%g
36: s%@libexecdir@%${exec_prefix}/libexec%g
37: s%@datadir@%${prefix}/share%g
38: s%@sysconfdir@%${prefix}/etc%g
39: s%@sharedstatedir@%${prefix}/com%g
40: s%@localstatedir@%${prefix}/var%g
41: s%@libdir@%${exec_prefix}/lib%g
42: s%@includedir@%${prefix}/include%g
43: s%@oldincludedir@%/usr/include%g
44: s%@infodir@%${prefix}/info%g
45: s%@mandir@%${prefix}/man%g
46: s%@CC@%gcc%g
47: s%@GCCLDFLAGS@%%g
48: s%@DEBUGFLAG@%%g
49: s%@host@%%g
50: s%@host_alias@%i486-os2%g
51: s%@host_cpu@%i486%g
52: s%@host_vendor@%%g
53: s%@host_os@%os2%g
54: s%@ENGINE_FLAGS@%%g
55: s%gforth:%gforth.exe:%g
56: s%gforth-ditc:%gforth-ditc.exe:%g
57: s%-$(CP) gforth gforth~%-$(CP) gforth.exe gforth.exe~%g
58: s%@GFORTH_EXE@%\
59: gforth: gforth.exe%g
60: s%@GFORTHDITC_EXE@%\
61: gforth-ditc: gforth-ditc.exe%g
62: s%@PATHSEP@%;%g
63: s%@LINK_KERNL@%%g
64: s%-DDEFAULTPATH=\\".*"%-DDEFAULTPATH=\\".\\"%g
65: s%@KERNEL@%kernl16l.fi kernl16b.fi kernl32l.fi kernl32b.fi kernl64l.fi kernl64b.fi%g
66: s%@LN_S@%ln -s%g
67: s%@INSTALL@%install-sh -c%g
68: s%@INSTALL_PROGRAM@%${INSTALL}%g
69: s%@INSTALL_DATA@%${INSTALL} -m 644%g
70: s%@LIBOBJS@% pow10.o strsignal.o ecvt.o atanh.o getopt.o getopt1.o%g
71: s%@getopt_long@%getopt.o getopt1.o%g
72: s%@kernel_fi@%kernl32l.fi%g
73: s%@PATHSEP@%;%g
74: s%-fforce-mem -fforce-addr %%g
75: # s%echo "static char gforth_version.*;" >$@%$(CP) version.h1 engine\version.h%g
76: # s%echo ": version-string.*;" >$@%$(CP) version.fs1 kernel\version.fs%g
77: s%$(srcdir)/config.h.in: stamp-h.in%#$(srcdir)/config.h.in: stamp-h.in%g
78: s%engine/config.h: stamp-h%#engine/config.h: stamp-h%g
79: s%$(FORTHPATH)$(PATHSEP)%%g
80: s%@FORTHSIZES@%%g
81: s%test x'$(VERSION)' = x`cat $@` || %%g
82: s%GFORTHD="./gforth-ditc -p .* $(srcdir)/%%g
83: s%'s"%"s\\"%g
84: s%"'%\\""%g
85: s%@OSCLASS@%dos%g
86: s%@machine@%386%g
87: s%@PACKAGE_VERSION@%0.5.9%g
88: s%@EXEEXT@%.exe%g
89: s%engine/$@%engine\\$@%g
90: s%gforthmi gforth\$(EXE)%gforthmi.cmd gforth\$(EXE)%g
91: s%if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else echo $(VERSION) > $@ ; fi%echo $(VERSION) > $@%g
92: s%echo ": version-string s\\" $(VERSION)\\" ;" > kernel/version.fs%%g
93: s%GFORTHD="./gforth-ditc -p .$(PATHSEP)$(srcdir)" GFORTH="./gforth-ditc -p .$(PATHSEP)$(srcdir) -i $(kernel_fi) startup.fs" ./%%g
94: s%\*\.h %%g
95: s%\*\.\[h\]%machine.h%g
96: s%config.h.in ../config.status%%g
97: s%cd .. && CONFIG_FILES=$@ CONFIG_HEADERS=engine/config.h ./config.status%%g
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>