File:  [gforth] / gforth / mkos2mf.sed
Revision 1.18: download - view: text, annotated - select for diffs
Mon Dec 31 19:02:24 2007 UTC (16 years, 3 months ago) by anton
Branches: MAIN
CVS tags: v0-7-0, HEAD
updated copyright year after changing license notice

    1: #Copyright (C) 1995,1996,1997,1998,2000,2003,2007 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 3
    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, see http://www.gnu.org/licenses/.
   17: 
   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
   23: s%\"$(FORTHPATH)\"%\"~+\"%g
   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
   54: s%gforth:%gforth.exe:%g
   55: s%gforth-ditc:%gforth-ditc.exe:%g
   56: s%-$(CP) gforth gforth~%-$(CP) gforth.exe gforth.exe~%g
   57: s%@GFORTH_EXE@%\
   58: gforth:		gforth.exe%g
   59: s%@GFORTHDITC_EXE@%\
   60: gforth-ditc:		gforth-ditc.exe%g
   61: s%@PATHSEP@%;%g
   62: s%@LINK_KERNL@%%g
   63: s%-DDEFAULTPATH=\\".*"%-DDEFAULTPATH=\\".\\"%g
   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
   69: s%@LIBOBJS@% pow10.o strsignal.o ecvt.o atanh.o getopt.o getopt1.o%g
   70: s%@getopt_long@%getopt.o getopt1.o%g
   71: s%@kernel_fi@%kernl32l.fi%g
   72: s%@PATHSEP@%;%g
   73: s%-fforce-mem -fforce-addr %%g
   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
   76: s%$(srcdir)/config.h.in:	stamp-h.in%#$(srcdir)/config.h.in:	stamp-h.in%g
   77: s%engine/config.h:	stamp-h%#engine/config.h:	stamp-h%g
   78: s%$(FORTHPATH)$(PATHSEP)%%g
   79: s%@FORTHSIZES@%%g
   80: s%test x'$(VERSION)' = x`cat $@` || %%g
   81: s%GFORTHD="./gforth-ditc -p .* $(srcdir)/%%g
   82: s%'s"%"s\\"%g
   83: s%"'%\\""%g
   84: s%@OSCLASS@%dos%g
   85: s%@machine@%386%g
   86: s%@PACKAGE_VERSION@%0.5.9%g
   87: s%@EXEEXT@%.exe%g
   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>