Mercurial > emacs
annotate msdos/sed1.inp @ 39853:e42e6b9ee221
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 12 Oct 2001 21:59:38 +0000 |
parents | a4fb0c9be609 |
children | 695cf19ef79e d7ddb3e565de |
rev | line source |
---|---|
7202
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
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>
parents:
7202
diff
changeset
|
2 # Configuration script for src/makefile |
7202
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
3 # ---------------------------------------------------------------------- |
15041
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
4 # |
36219 | 5 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000 |
6 # Free Software Foundation, Inc. | |
7 # | |
8 # This file is part of GNU Emacs. | |
9 # | |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
36220
diff
changeset
|
10 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
36220
diff
changeset
|
11 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
36220
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
36219 | 13 # |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
36220
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
36219 | 15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
36220
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
36219 | 17 # |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
36220
diff
changeset
|
18 # ---------------------------------------------------------------------- |
15041
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
19 # In case src/Makefile needs to rebuild `make-doc.exe' (might happen under |
15829 | 20 # Windows 95), make sure it gets built with commands that DOS |
15041
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
21 # understands (one command per line). |
7202
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
22 s/^#.*// |
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
23 s/^[ \f\t][ \f\t]*$// |
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
24 s/^ / / |
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
25 s/\.h\.in/.h-in/ |
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
26 s!^ \./temacs! go32 temacs! |
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
27 s!/bin/sh!command.com! |
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
28 /^MAKE *=/s/^/# / |
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
29 /^SHELL *=/s/^/# / |
7513
4010eca772d4
Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents:
7229
diff
changeset
|
30 /^srcdir *=/s/@[^@\n]*@/./ |
4010eca772d4
Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents:
7229
diff
changeset
|
31 /^VPATH *=/s/@[^@\n]*@/./ |
4010eca772d4
Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents:
7229
diff
changeset
|
32 /^CC *=/s/@[^@\n]*@/gcc/ |
4010eca772d4
Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents:
7229
diff
changeset
|
33 /^CPP *=/s/@[^@\n]*@/gcc -e/ |
4010eca772d4
Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents:
7229
diff
changeset
|
34 /^CFLAGS *=/s/@[^@\n]*@/-O2 -g/ |
28587 | 35 /^LIBS *=/s/@[^@\n]*@// |
36 /^LIBOBJS *=/s/@[^@\n]*@// | |
7513
4010eca772d4
Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents:
7229
diff
changeset
|
37 /^LN_S *=/s/@[^@\n]*@/ln -s/ |
8197
d6a441681fb4
Use "m/intel386" instead of "m/dos386.h".
Richard M. Stallman <rms@gnu.org>
parents:
7623
diff
changeset
|
38 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! |
7513
4010eca772d4
Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents:
7229
diff
changeset
|
39 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! |
7202
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
40 /^@SET_MAKE@$/s/@SET_MAKE@// |
13176
af414e792977
Call make-doc.exe instead of make-docfile.
Kim F. Storm <storm@cua.dk>
parents:
10386
diff
changeset
|
41 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC! |
7202
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
42 /^.\${libsrc}make-doc/s!>.*$!! |
15041
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
43 /^\${libsrc}make-docfile:/c\ |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
44 ${libsrc}make-doc.exe:\ |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
45 cd ..\ |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
46 cd lib-src\ |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
47 $(MAKE) ${MFLAGS} make-docfile -W make-docfile.c\ |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
48 cd ..\ |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
49 cd src |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
50 /^ cd \${libsrc}; \${MAKE} \${MFLAGS} make-docfile/d |
88d5940d524e
Replace `make-docfile' with `make-doc.exe'. In case
Richard M. Stallman <rms@gnu.org>
parents:
15026
diff
changeset
|
51 /\${libsrc}make-docfile/s/-docfile[ ]/-doc.exe / |
7202
9f8b6ebe1d7e
Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents:
5485
diff
changeset
|
52 /^[ ]*$/d |
9572 | 53 /^temacs:/s/prefix-args// |
18769
48fd714b8115
Remove `stamp-oldxmenu' dependency, so
Richard M. Stallman <rms@gnu.org>
parents:
15829
diff
changeset
|
54 /^temacs:/s/stamp-oldxmenu// |
9572 | 55 /^ #/d |