1 # -sed1.inp-------------------------------------------------------------
2 # Configuration script for src/makefile
3 # ----------------------------------------------------------------------
5 # In case src/Makefile needs to rebuild `make-doc.exe' (might happen under
6 # Windows 95), make sure it gets built with commands that DOS
7 # understands (one command per line).
12 s!^ \./temacs! go32 temacs!
13 s!/bin/sh!command.com!
16 /^srcdir *=/s/@[^@\n]*@/./
17 /^VPATH *=/s/@[^@\n]*@/./
18 /^CC *=/s/@[^@\n]*@/gcc/
19 /^CPP *=/s/@[^@\n]*@/gcc -e/
20 /^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
21 /^LIBS *=/s/@[^@\n]*@//
22 /^LIBOBJS *=/s/@[^@\n]*@//
23 /^LN_S *=/s/@[^@\n]*@/ln -s/
24 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
25 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
26 /^@SET_MAKE@$/s/@SET_MAKE@//
27 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC!
28 /^.\${libsrc}make-doc/s!>.*$!!
29 /^\${libsrc}make-docfile:/c\
30 ${libsrc}make-doc.exe:\
33 $(MAKE) ${MFLAGS} make-docfile -W make-docfile.c\
36 /^ cd \${libsrc}; \${MAKE} \${MFLAGS} make-docfile/d
37 /\${libsrc}make-docfile/s/-docfile[ ]/-doc.exe /
39 /^temacs:/s/prefix-args//
40 /^temacs:/s/stamp-oldxmenu//