7202
|
1 # -sed1.inp-------------------------------------------------------------
|
7229
520d3d20651f
Don't comment out the inc-vers run as that does not exist anymore.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
2 # Configuration script for src/makefile
|
7202
|
3 # ----------------------------------------------------------------------
|
15041
|
4 #
|
|
5 # In case src/Makefile needs to rebuild `make-doc.exe' (might happen under
|
15829
|
6 # Windows 95), make sure it gets built with commands that DOS
|
15041
|
7 # understands (one command per line).
|
7202
|
8 s/^#.*//
|
|
9 s/^[ \f\t][ \f\t]*$//
|
|
10 s/^ / /
|
|
11 s/\.h\.in/.h-in/
|
|
12 s!^ \./temacs! go32 temacs!
|
|
13 s!/bin/sh!command.com!
|
|
14 /^MAKE *=/s/^/# /
|
|
15 /^SHELL *=/s/^/# /
|
7513
|
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 /^LN_S *=/s/@[^@\n]*@/ln -s/
|
8197
|
22 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
|
7513
|
23 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
|
7202
|
24 /^@SET_MAKE@$/s/@SET_MAKE@//
|
13176
|
25 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC!
|
7202
|
26 /^.\${libsrc}make-doc/s!>.*$!!
|
15041
|
27 /^\${libsrc}make-docfile:/c\
|
|
28 ${libsrc}make-doc.exe:\
|
|
29 cd ..\
|
|
30 cd lib-src\
|
|
31 $(MAKE) ${MFLAGS} make-docfile -W make-docfile.c\
|
|
32 cd ..\
|
|
33 cd src
|
|
34 /^ cd \${libsrc}; \${MAKE} \${MFLAGS} make-docfile/d
|
|
35 /\${libsrc}make-docfile/s/-docfile[ ]/-doc.exe /
|
7202
|
36 /^[ ]*$/d
|
9572
|
37 /^temacs:/s/prefix-args//
|
18769
|
38 /^temacs:/s/stamp-oldxmenu//
|
9572
|
39 /^ #/d
|