--- gforth/mkdosmf.sed 1998/12/20 23:17:55 1.20 +++ gforth/mkdosmf.sed 2002/12/27 12:32:52 1.24 @@ -1,8 +1,11 @@ # We use the bash and shell and file utilities with dos s%SHELL%# SHELL%g -# s% rm% del%g -# s% cp% copy%g +s% rm -rf% deltree%g +s% rm% del%g +s% cp -p% copy%g s% ln -s% cp%g +s%\($(CP).*\)/%\1\\%g +s%\($(CP).*\)/%\1\\%g s%@mach_h@%386%g s%-pipe %%g s% ./gforth% gforth%g @@ -13,8 +16,8 @@ s%@KERNEL@%kernl16l.fi kernl16b.fi kernl s%@LIBOBJS@%ecvt.o io.o strsig.o getopt.o getopt1.o select.o%g s%@host@%dos%g s%@CC@%gcc%g -s%@GFORTH_EXE@%coff2exe $@%g -s%@GFORTHDITC_EXE@%coff2exe $@%g +s%@GFORTH_EXE@%%g +s%@GFORTHDITC_EXE@%%g s%@INSTALL@%install-sh%g s%@INSTALL_PROGRAM@%install-sh%g s%@INSTALL_DATA@%install-sh%g @@ -37,19 +40,27 @@ s%config.h.in ../config.status%%g s%cd .. && CONFIG_FILES=$@ CONFIG_HEADERS=engine/config.h ./config.status%echo I hope you configured your system%g s%$(FORTHPATH)$(PATHSEP)%%g s%@FORTHSIZES@%%g -s%test x'$(VERSION)' = x`cat $@` || %%g +s%if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else \(.*\) ; fi%\1%g +s%Makefile \(.*\) config.status%Makefile \1% s%--clear-dictionary%-c%g -s%.$(PATHSEP)$(srcdir)%.%g +s%".$(PATHSEP)~+$(PATHSEP)$(srcdir)"%"~+"%g # s% -I$(srcdir)%%g s%GFORTHD=.*gforth.fi%gforthmi gforth.fi%g s%gforth-ditc%gforth-d%g +s%gforth-fast%gforth-f%g s%engine-ditc%engine-d%g +s%engine-fast%engine-f%g s%main-ditc%main-d%g +s%main-fast%main-f%g s%@OSCLASS@%dos%g s%@machine@%386%g -s%@VERSION@%0.4.0%g +s%@PACKAGE_VERSION@%0.5.9%g s%@EXE@%.exe%g +s%--die-on-signal%-s%g s%cd engine && $(MAKE)%$(MAKE) -C engine%g s%\(CFLAGS2.*\) -O4%\1%g s%gforthmi gforth\$%gforthmi.bat gforth\$%g -s%engine/Makefile configure%engine/Makefile%g \ No newline at end of file +s%engine/Makefile configure%engine/Makefile%g +s%$(exec_prefix)/bin%%g +s%@asm_fs@%./arch/386/asm.fs%g +s%@disasm_fs@%./arch/386/disasm.fs%g