Mercurial > emacs
annotate msdos/sed1v2.inp @ 61177:64c207ce6c20
(make-autoload): Handle define-global-minor-mode.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 31 Mar 2005 21:17:40 +0000 |
parents | c9dfe25246c9 |
children | 3723093a21fd cb7f41387eb3 |
rev | line source |
---|---|
14967 | 1 # -sed1v2.inp----------------------------------------------------------- |
30119
c690de255e56
Set LIBSOUND to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
29923
diff
changeset
|
2 # Configuration script for src/Makefile under DJGPP v2.x |
14967 | 3 # ---------------------------------------------------------------------- |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
4 # |
43803 | 5 # Copyright (C) 1996, 1997, 1999, 2000, 2002 |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
6 # Free Software Foundation, Inc. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
8 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
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:
30276
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:
30276
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30276
diff
changeset
|
18 # ---------------------------------------------------------------------- |
14967 | 19 s/^#.*// |
20 s/^[ \f\t][ \f\t]*$// | |
21 s/^ / / | |
22 s/\.h\.in/.h-in/ | |
57358
1b2b9477e204
(LC_ALL=C): Fix src/Makefile breakage caused by
Eli Zaretskii <eliz@gnu.org>
parents:
52401
diff
changeset
|
23 /^ LC_ALL=C \$(RUN_TEMACS)/i\ |
19800
d0a1da20c8dd
Enlarge the stack size of temacs to 100KB.
Richard M. Stallman <rms@gnu.org>
parents:
19286
diff
changeset
|
24 stubedit temacs.exe minstack=100k |
57358
1b2b9477e204
(LC_ALL=C): Fix src/Makefile breakage caused by
Eli Zaretskii <eliz@gnu.org>
parents:
52401
diff
changeset
|
25 /^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/ |
14967 | 26 /^MAKE *=/s/^/# / |
27 /^SHELL *=/s/^/# / | |
28 /^srcdir *=/s/@[^@\n]*@/./ | |
29 /^VPATH *=/s/@[^@\n]*@/./ | |
30 /^CC *=/s/@[^@\n]*@/gcc/ | |
31 /^CPP *=/s/@[^@\n]*@/gcc -e/ | |
24748
8c634c8d8401
Use -gcoff instead of -g in CFLAGS, for those who
Eli Zaretskii <eliz@gnu.org>
parents:
19800
diff
changeset
|
32 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/ |
19286
64f0f84b04f3
(CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents:
18769
diff
changeset
|
33 /^CPPFLAGS *=/s/@[^@\n]*@// |
64f0f84b04f3
(CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents:
18769
diff
changeset
|
34 /^LDFLAGS *=/s/@[^@\n]*@// |
28587 | 35 /^LIBS *=/s/@[^@\n]*@// |
30276
323c60449a68
Put getloadavg.o into LIBOBJS, not GETLOADAVG_LIBS.
Eli Zaretskii <eliz@gnu.org>
parents:
30119
diff
changeset
|
36 /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/ |
323c60449a68
Put getloadavg.o into LIBOBJS, not GETLOADAVG_LIBS.
Eli Zaretskii <eliz@gnu.org>
parents:
30119
diff
changeset
|
37 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@// |
30119
c690de255e56
Set LIBSOUND to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
29923
diff
changeset
|
38 /^LIBSOUND *=/s/@LIBSOUND@// |
52310
9404019958f3
(EXEEXT): Define to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
44035
diff
changeset
|
39 /^EXEEXT *=/s/@EXEEXT@// |
14967 | 40 /^LN_S *=/s/@[^@\n]*@/ln -s/ |
41 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! | |
42 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! | |
43 /^@SET_MAKE@$/s/@SET_MAKE@// | |
44 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! | |
45 /^.\${libsrc}make-doc/s!>.*$!! | |
46 /^[ ]*$/d | |
47 /^temacs:/s/prefix-args// | |
18769
48fd714b8115
Remove `stamp-oldxmenu' dependency, so
Richard M. Stallman <rms@gnu.org>
parents:
14967
diff
changeset
|
48 /^temacs:/s/stamp-oldxmenu// |
42230
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
49 /^ mv \.\/\.gdbinit/d |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
50 /^ if test -f/c\ |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
51 command.com /c if exist .gdbinit rm -f _gdbinit |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
52 /^ else mv \.\/\.gdbinit/d |
14967 | 53 /^ #/d |
44035
9681dbaee580
Fix editing of the rule for ${libsrc}make-docfile.
Eli Zaretskii <eliz@gnu.org>
parents:
43804
diff
changeset
|
54 /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
55 s/bootstrap-emacs/b-emacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
56 s/bootstrap-temacs/b-temacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
57 s/bootstrap-doc/b-doc/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
58 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
59 /^ els=/c\ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
60 ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj} |
58066
c9dfe25246c9
* sed1v2.inp: Use djecho for buildobj.lst.
Jan Djärv <jan.h.d@swipnet.se>
parents:
57358
diff
changeset
|
61 s/echo.*buildobj.lst/dj&/ |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
62 /^ mv -f emacs/a\ |
43804
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
63 stubify b-emacs\ |
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
64 stubedit b-emacs.exe minstack=1024k\ |
52312
03fac18a1426
Remove src/emacs after producing b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
52310
diff
changeset
|
65 rm -f emacs.exe temacs.exe emacs |
43804
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
66 /^ rm -f/s/\\#/#/ |
52401 | 67 |
68 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c |