Mercurial > emacs
annotate msdos/sed1v2.inp @ 105402:6a210fc81bde
*** empty log message ***
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Sat, 03 Oct 2009 12:35:55 +0000 |
parents | 50d63918fd76 |
children | 1d1d5d9bd884 |
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@// |
105064
50d63918fd76
(OTHER_FILES): Edit to empty.
Eli Zaretskii <eliz@gnu.org>
parents:
104653
diff
changeset
|
49 /^OTHER_FILES *=/s/@OTHER_FILES@// |
97669 | 50 /^EXEEXT *=/s/@EXEEXT@/.exe/ |
51 /^version *=/s/@[^@\n]*@// | |
14967 | 52 /^LN_S *=/s/@[^@\n]*@/ln -s/ |
53 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! | |
54 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! | |
55 /^@SET_MAKE@$/s/@SET_MAKE@// | |
56 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC! | |
57 /^.\${libsrc}make-doc/s!>.*$!! | |
58 /^[ ]*$/d | |
59 /^temacs:/s/prefix-args// | |
18769
48fd714b8115
Remove `stamp-oldxmenu' dependency, so
Richard M. Stallman <rms@gnu.org>
parents:
14967
diff
changeset
|
60 /^temacs:/s/stamp-oldxmenu// |
97669 | 61 /^RUN_TEMACS *=/s|`/bin/pwd`|.| |
42230
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
62 /^ mv \.\/\.gdbinit/d |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
63 /^ if test -f/c\ |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
64 command.com /c if exist .gdbinit rm -f _gdbinit |
5c346977392d
Delete _gdbinit in distclean target.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
65 /^ else mv \.\/\.gdbinit/d |
14967 | 66 /^ #/d |
44035
9681dbaee580
Fix editing of the rule for ${libsrc}make-docfile.
Eli Zaretskii <eliz@gnu.org>
parents:
43804
diff
changeset
|
67 /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! |
97669 | 68 /^ @: /d |
69 /^ -\{0,1\}ln -/s/ln -f/cp -pf/ | |
70 /^[ ]touch /s/touch/djecho $@ >/ | |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
71 s/bootstrap-emacs/b-emacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
72 s/bootstrap-temacs/b-temacs/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
73 s/bootstrap-doc/b-doc/ |
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
74 /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
|
75 s/echo.*buildobj.lst/dj&/ |
99578
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
76 / --load loadup bootstrap/i\ |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
77 stubedit temacs.exe minstack=1024k |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
78 / --load loadup bootstrap/a\ |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
79 stubify emacs |
43802
84c29fc4cbf3
Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents:
42230
diff
changeset
|
80 /^ mv -f emacs/a\ |
99578
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
81 stubedit b-emacs.exe minstack=3072k\ |
666b833738d0
Create bootlisp when bootstrapping b-emacs.exe.
Eli Zaretskii <eliz@gnu.org>
parents:
97669
diff
changeset
|
82 djecho bootlisp > bootlisp |
97669 | 83 /^ -\{0,1\}rm -f/s/\\#/#/ |
84 /^ @\{0,1\}cd ..\/lisp; /s|$|\; cd ../src| | |
104653
6de7f271f0ce
(buildobj.h): Replace "echo" with "djecho".
Eli Zaretskii <eliz@gnu.org>
parents:
100956
diff
changeset
|
85 /^ echo.* buildobj.h/s|echo |djecho | |
52401 | 86 |
87 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c |