Commit | Line | Data |
---|---|---|
32b0abf7 | 1 | # -sed1.inp------------------------------------------------------------- |
9d177572 | 2 | # Configuration script for src/makefile |
32b0abf7 RS |
3 | # ---------------------------------------------------------------------- |
4 | s/^#.*// | |
5 | s/^[ \f\t][ \f\t]*$// | |
6 | s/^ / / | |
32b0abf7 | 7 | s/\.h\.in/.h-in/ |
32b0abf7 RS |
8 | s!^ \./temacs! go32 temacs! |
9 | s!/bin/sh!command.com! | |
10 | /^MAKE *=/s/^/# / | |
11 | /^SHELL *=/s/^/# / | |
c554da1f RS |
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/ | |
56206da3 | 18 | /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! |
c554da1f | 19 | /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! |
32b0abf7 | 20 | /^@SET_MAKE@$/s/@SET_MAKE@// |
87485d6f | 21 | /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! |
32b0abf7 | 22 | /^.\${libsrc}make-doc/s!>.*$!! |
32b0abf7 RS |
23 | /^.\${libsrc}make-docfile/s/\$/go32 $/ |
24 | /^[\f ]*$/d | |
87485d6f MW |
25 | /^temacs:/s/prefix-args// |
26 | /^ #/d |