annotate msdos/sed1v2.inp @ 52310:9404019958f3

(EXEEXT): Define to an empty string.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 24 Aug 2003 13:08:53 +0000
parents 9681dbaee580
children 03fac18a1426
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
18ec318250a0 Update copyright years.
Eli Zaretskii <eliz@gnu.org>
parents: 43802
diff changeset
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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 s/^#.*//
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 s/^[ \f\t][ \f\t]*$//
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 s/^ / /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 s/\.h\.in/.h-in/
26497
d7fc0ed0cd81 sed2.inp (HAVE_TM_GMTOFF, HAVE_MBLEN): Define.
Eli Zaretskii <eliz@gnu.org>
parents: 24748
diff changeset
23 /^ LC_ALL=C \.\/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
43802
84c29fc4cbf3 Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents: 42230
diff changeset
25 /^ LC_ALL=C.*temacs/s/LC_ALL=C/set &;/
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 /^MAKE *=/s/^/# /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 /^SHELL *=/s/^/# /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 /^srcdir *=/s/@[^@\n]*@/./
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 /^VPATH *=/s/@[^@\n]*@/./
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 /^CC *=/s/@[^@\n]*@/gcc/
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
e18200d8143f Add LIBS, LIBOBJS.
Dave Love <fx@gnu.org>
parents: 26497
diff changeset
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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 /^LN_S *=/s/@[^@\n]*@/ln -s/
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 /^@SET_MAKE@$/s/@SET_MAKE@//
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 /^.\${libsrc}make-doc/s!>.*$!!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 /^[ ]*$/d
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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}
84c29fc4cbf3 Edit the bootstrap-* targets.
Eli Zaretskii <eliz@gnu.org>
parents: 42230
diff changeset
61 /^ mv -f emacs/a\
43804
2db55eba67ec Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents: 43803
diff changeset
62 stubify b-emacs\
2db55eba67ec Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents: 43803
diff changeset
63 stubedit b-emacs.exe minstack=1024k\
2db55eba67ec Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents: 43803
diff changeset
64 rm -f emacs.exe temacs.exe
2db55eba67ec Edit the mostlyclean target.
Eli Zaretskii <eliz@gnu.org>
parents: 43803
diff changeset
65 /^ rm -f/s/\\#/#/