Mercurial > emacs
annotate msdos/sed1v2.inp @ 84260:40edb5448ed7
Move here from ../../man
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 06 Sep 2007 04:47:57 +0000 |
parents | 4ad431d8e164 |
children | 319d87609e42 b7d901f58df2 95d0cdf160ea |
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 # |
75249
4ad431d8e164
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
74184
diff
changeset
|
5 # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
4ad431d8e164
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
74184
diff
changeset
|
6 # 2005, 2006, 2007 Free Software Foundation, Inc. |
36461
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@// |
74184 | 39 /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@// |
52310
9404019958f3
(EXEEXT): Define to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
44035
diff
changeset
|
40 /^EXEEXT *=/s/@EXEEXT@// |
14967 | 41 /^LN_S *=/s/@[^@\n]*@/ln -s/ |
42 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! | |
43 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! | |
44 /^@SET_MAKE@$/s/@SET_MAKE@// | |
45 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! | |
46 /^.\${libsrc}make-doc/s!>.*$!! | |
47 /^[ ]*$/d | |
48 /^temacs:/s/prefix-args// | |
18769
48fd714b8115
Remove `stamp-oldxmenu' dependency, so
Richard M. Stallman <rms@gnu.org>
parents:
14967
diff
changeset
|
49 /^temacs:/s/stamp-oldxmenu// |
42230
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
50 /^ mv \.\/\.gdbinit/d |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
51 /^ if test -f/c\ |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
52 command.com /c if exist .gdbinit rm -f _gdbinit |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
53 /^ else mv \.\/\.gdbinit/d |
14967 | 54 /^ #/d |
44035
9681dbaee580
Fix editing of the rule for ${libsrc}make-docfile.
Eli Zaretskii <eliz@gnu.org>
parents:
43804
diff
changeset
|
55 /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
56 s/bootstrap-emacs/b-emacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
57 s/bootstrap-temacs/b-temacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
58 s/bootstrap-doc/b-doc/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
59 /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
|
60 /^ els=/c\ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
61 ${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
|
62 s/echo.*buildobj.lst/dj&/ |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
63 /^ mv -f emacs/a\ |
43804
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
64 stubify b-emacs\ |
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
65 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
|
66 rm -f emacs.exe temacs.exe emacs |
43804
2db55eba67ec
Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
43803
diff
changeset
|
67 /^ rm -f/s/\\#/#/ |
52401 | 68 |
69 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c |