| 1 | # -sed1.inp------------------------------------------------------------- |
| 2 | # Configuration script for src/makefile |
| 3 | # ---------------------------------------------------------------------- |
| 4 | s/^#.*// |
| 5 | s/^[ \f\t][ \f\t]*$// |
| 6 | s/^ / / |
| 7 | s/\.h\.in/.h-in/ |
| 8 | s!^ \./temacs! go32 temacs! |
| 9 | s!/bin/sh!command.com! |
| 10 | /^MAKE *=/s/^/# / |
| 11 | /^SHELL *=/s/^/# / |
| 12 | /^srcdir *=/s/@[^@\n]*@/./ |
| 13 | /^VPATH *=/s/@[^@\n]*@/./ |
| 14 | /^CC *=/s/@[^@\n]*@/gcc/ |
| 15 | /^CPP *=/s/@[^@\n]*@/gcc -e/ |
| 16 | /^CFLAGS *=/s/@[^@\n]*@/-O2 -g/ |
| 17 | /^LN_S *=/s/@[^@\n]*@/ln -s/ |
| 18 | /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! |
| 19 | /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! |
| 20 | /^@SET_MAKE@$/s/@SET_MAKE@// |
| 21 | /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! |
| 22 | /^.\${libsrc}make-doc/s!>.*$!! |
| 23 | /^.\${libsrc}make-docfile/s/\$/go32 $/ |
| 24 | /^[\f ]*$/d |
| 25 | /^temacs:/s/prefix-args// |
| 26 | /^ #/d |