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