Annotation of gforth/mkos2mf.sed, revision 1.18

1.18    ! anton       1: #Copyright (C) 1995,1996,1997,1998,2000,2003,2007 Free Software Foundation, Inc.
1.15      anton       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
1.17      anton       7: #as published by the Free Software Foundation, either version 3
1.15      anton       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
1.17      anton      16: #along with this program. If not, see http://www.gnu.org/licenses/.
1.15      anton      17: 
1.1       pazsan     18: s% /bin/sh% bash%g
                     19: s% cp% copy%g
                     20: s% rm% del%g
                     21: s% ./gforth % gforth %g
                     22: s%@srcdir@%.%g
1.11      pazsan     23: s%\"$(FORTHPATH)\"%\"~+\"%g
1.1       pazsan     24: s%@CFLAGS@%%g
                     25: s%@CPPFLAGS@%%g
                     26: s%@CXXFLAGS@%%g
                     27: s%@DEFS@%-DHAVE_CONFIG_H%g
                     28: s%@LDFLAGS@%%g
                     29: s%@LIBS@%-lm %g
                     30: s%@exec_prefix@%${prefix}%g
                     31: s%@prefix@%/usr/local%g
                     32: s%@program_transform_name@%s,x,x,%g
                     33: s%@bindir@%${exec_prefix}/bin%g
                     34: s%@sbindir@%${exec_prefix}/sbin%g
                     35: s%@libexecdir@%${exec_prefix}/libexec%g
                     36: s%@datadir@%${prefix}/share%g
                     37: s%@sysconfdir@%${prefix}/etc%g
                     38: s%@sharedstatedir@%${prefix}/com%g
                     39: s%@localstatedir@%${prefix}/var%g
                     40: s%@libdir@%${exec_prefix}/lib%g
                     41: s%@includedir@%${prefix}/include%g
                     42: s%@oldincludedir@%/usr/include%g
                     43: s%@infodir@%${prefix}/info%g
                     44: s%@mandir@%${prefix}/man%g
                     45: s%@CC@%gcc%g
                     46: s%@GCCLDFLAGS@%%g
                     47: s%@DEBUGFLAG@%%g
                     48: s%@host@%%g
                     49: s%@host_alias@%i486-os2%g
                     50: s%@host_cpu@%i486%g
                     51: s%@host_vendor@%%g
                     52: s%@host_os@%os2%g
                     53: s%@ENGINE_FLAGS@%%g
1.2       pazsan     54: s%gforth:%gforth.exe:%g
1.6       pazsan     55: s%gforth-ditc:%gforth-ditc.exe:%g
1.2       pazsan     56: s%-$(CP) gforth gforth~%-$(CP) gforth.exe gforth.exe~%g
1.6       pazsan     57: s%@GFORTH_EXE@%\
1.2       pazsan     58: gforth:                gforth.exe%g
1.6       pazsan     59: s%@GFORTHDITC_EXE@%\
                     60: gforth-ditc:           gforth-ditc.exe%g
1.1       pazsan     61: s%@PATHSEP@%;%g
1.4       pazsan     62: s%@LINK_KERNL@%%g
1.3       pazsan     63: s%-DDEFAULTPATH=\\".*"%-DDEFAULTPATH=\\".\\"%g
1.1       pazsan     64: s%@KERNEL@%kernl16l.fi kernl16b.fi kernl32l.fi kernl32b.fi kernl64l.fi kernl64b.fi%g
                     65: s%@LN_S@%ln -s%g
                     66: s%@INSTALL@%install-sh -c%g
                     67: s%@INSTALL_PROGRAM@%${INSTALL}%g
                     68: s%@INSTALL_DATA@%${INSTALL} -m 644%g
1.11      pazsan     69: s%@LIBOBJS@% pow10.o strsignal.o ecvt.o atanh.o getopt.o getopt1.o%g
1.1       pazsan     70: s%@getopt_long@%getopt.o getopt1.o%g
                     71: s%@kernel_fi@%kernl32l.fi%g
1.2       pazsan     72: s%@PATHSEP@%;%g
                     73: s%-fforce-mem -fforce-addr %%g
1.9       jwilke     74: # s%echo "static char gforth_version.*;" >$@%$(CP) version.h1 engine\version.h%g
                     75: # s%echo ": version-string.*;" >$@%$(CP) version.fs1 kernel\version.fs%g
1.2       pazsan     76: s%$(srcdir)/config.h.in:       stamp-h.in%#$(srcdir)/config.h.in:      stamp-h.in%g
1.7       anton      77: s%engine/config.h:     stamp-h%#engine/config.h:       stamp-h%g
1.2       pazsan     78: s%$(FORTHPATH)$(PATHSEP)%%g
1.3       pazsan     79: s%@FORTHSIZES@%%g
1.5       pazsan     80: s%test x'$(VERSION)' = x`cat $@` || %%g
1.8       pazsan     81: s%GFORTHD="./gforth-ditc -p .* $(srcdir)/%%g
1.6       pazsan     82: s%'s"%"s\\"%g
                     83: s%"'%\\""%g
1.9       jwilke     84: s%@OSCLASS@%dos%g
1.10      pazsan     85: s%@machine@%386%g
1.13      anton      86: s%@PACKAGE_VERSION@%0.5.9%g
1.14      anton      87: s%@EXEEXT@%.exe%g
1.11      pazsan     88: s%engine/$@%engine\\$@%g
                     89: s%gforthmi gforth\$(EXE)%gforthmi.cmd gforth\$(EXE)%g
                     90: s%if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else echo $(VERSION) > $@ ; fi%echo $(VERSION) > $@%g
                     91: s%echo ": version-string s\\" $(VERSION)\\" ;" > kernel/version.fs%%g
                     92: s%GFORTHD="./gforth-ditc -p .$(PATHSEP)$(srcdir)" GFORTH="./gforth-ditc -p .$(PATHSEP)$(srcdir) -i $(kernel_fi) startup.fs" ./%%g
                     93: s%\*\.h %%g
                     94: s%\*\.\[h\]%machine.h%g
                     95: s%config.h.in ../config.status%%g
                     96: s%cd .. && CONFIG_FILES=$@ CONFIG_HEADERS=engine/config.h ./config.status%%g

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>