Mercurial > emacs
annotate msdos/sed1v2.inp @ 103268:fd266a506f8e
(tex-uptodate-p): Accept [1{/var/foo}] as a page number.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 20 May 2009 15:14:20 +0000 |
parents | dc97fcf1ed7e |
children | 6de7f271f0ce |
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, |
100956 | 6 # 2005, 2006, 2007, 2008, 2009 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\ |
97669 | 24 stubedit temacs.exe minstack=1024k |
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 &;/ |
97669 | 26 /-batch -l loadup/a\ |
27 stubify emacs\ | |
28 stubedit emacs.exe minstack=2048k | |
14967 | 29 /^MAKE *=/s/^/# / |
30 /^SHELL *=/s/^/# / | |
31 /^srcdir *=/s/@[^@\n]*@/./ | |
32 /^VPATH *=/s/@[^@\n]*@/./ | |
33 /^CC *=/s/@[^@\n]*@/gcc/ | |
34 /^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
|
35 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/ |
97669 | 36 /^ALL_CFLAGS *=/s/@[^@\n]*@//g |
19286
64f0f84b04f3
(CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents:
18769
diff
changeset
|
37 /^CPPFLAGS *=/s/@[^@\n]*@// |
64f0f84b04f3
(CPPFLAGS, LDFLAGS): Edit to empty.
Richard M. Stallman <rms@gnu.org>
parents:
18769
diff
changeset
|
38 /^LDFLAGS *=/s/@[^@\n]*@// |
28587 | 39 /^LIBS *=/s/@[^@\n]*@// |
97669 | 40 /^LIBES *=/,/^ *$/ { |
41 s/@[^@\n]*@//g | |
42 } | |
30276
323c60449a68
Put getloadavg.o into LIBOBJS, not GETLOADAVG_LIBS.
Eli Zaretskii <eliz@gnu.org>
parents:
30119
diff
changeset
|
43 /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/ |
323c60449a68
Put getloadavg.o into LIBOBJS, not GETLOADAVG_LIBS.
Eli Zaretskii <eliz@gnu.org>
parents:
30119
diff
changeset
|
44 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@// |
30119
c690de255e56
Set LIBSOUND to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
29923
diff
changeset
|
45 /^LIBSOUND *=/s/@LIBSOUND@// |
74184 | 46 /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@// |
85043
b7d901f58df2
(RSVG_LIBS, RSVG_CFLAGS): Edit out.
Eli Zaretskii <eliz@gnu.org>
parents:
75249
diff
changeset
|
47 /^RSVG_LIBS *=/s/@RSVG_LIBS@// |
b7d901f58df2
(RSVG_LIBS, RSVG_CFLAGS): Edit out.
Eli Zaretskii <eliz@gnu.org>
parents:
75249
diff
changeset
|
48 /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@// |
97669 | 49 /^EXEEXT *=/s/@EXEEXT@/.exe/ |
50 /^version *=/s/@[^@\n]*@// | |
14967 | 51 /^LN_S *=/s/@[^@\n]*@/ln -s/ |
52 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! | |
53 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! | |
54 /^@SET_MAKE@$/s/@SET_MAKE@// | |
55 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! | |
56 /^.\${libsrc}make-doc/s!>.*$!! | |
57 /^[ ]*$/d | |
58 /^temacs:/s/prefix-args// | |
18769
48fd714b8115
Remove `stamp-oldxmenu' dependency, so
Richard M. Stallman <rms@gnu.org>
parents:
14967
diff
changeset
|
59 /^temacs:/s/stamp-oldxmenu// |
97669 | 60 /^RUN_TEMACS *=/s|`/bin/pwd`|.| |
42230
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
61 /^ mv \.\/\.gdbinit/d |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
62 /^ if test -f/c\ |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
63 command.com /c if exist .gdbinit rm -f _gdbinit |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
64 /^ else mv \.\/\.gdbinit/d |
14967 | 65 /^ #/d |
44035
9681dbaee580
Fix editing of the rule for ${libsrc}make-docfile.
Eli Zaretskii <eliz@gnu.org>
parents:
43804
diff
changeset
|
66 /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! |
97669 | 67 /^ @: /d |
68 /^ -\{0,1\}ln -/s/ln -f/cp -pf/ | |
69 /^[ ]touch /s/touch/djecho $@ >/ | |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
70 s/bootstrap-emacs/b-emacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
71 s/bootstrap-temacs/b-temacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
72 s/bootstrap-doc/b-doc/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
73 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ |
58066
c9dfe25246c9
* sed1v2.inp: Use djecho for buildobj.lst.
Jan Djärv <jan.h.d@swipnet.se>
parents:
57358
diff
changeset
|
74 s/echo.*buildobj.lst/dj&/ |
99578
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
75 / --load loadup bootstrap/i\ |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
76 stubedit temacs.exe minstack=1024k |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
77 / --load loadup bootstrap/a\ |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
78 stubify emacs |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
79 /^ mv -f emacs/a\ |
99578
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
80 stubedit b-emacs.exe minstack=3072k\ |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
81 djecho bootlisp > bootlisp |
97669 | 82 /^ -\{0,1\}rm -f/s/\\#/#/ |
83 /^ @\{0,1\}cd ..\/lisp; /s|$|\; cd ../src| | |
52401 | 84 |
85 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c |