Commit | Line | Data |
---|---|---|
515dd711 | 1 | # -sed1v2.inp----------------------------------------------------------- |
c107c335 | 2 | # Configuration script for src/Makefile under DJGPP v2.x |
515dd711 | 3 | # ---------------------------------------------------------------------- |
d7fcecc1 | 4 | # |
62eda0e2 | 5 | # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
b9b14d13 | 6 | # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
d7fcecc1 EZ |
7 | # |
8 | # This file is part of GNU Emacs. | |
9 | # | |
10 | # This file is free software; as a special exception, the author gives | |
11 | # unlimited permission to copy and/or distribute it, with or without | |
12 | # modifications, as long as this notice is preserved. | |
13 | # | |
14 | # This program is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
17 | # | |
18 | # ---------------------------------------------------------------------- | |
515dd711 RS |
19 | s/^#.*// |
20 | s/^[ \f\t][ \f\t]*$// | |
21 | s/^ / / | |
22 | s/\.h\.in/.h-in/ | |
b0b6ad00 | 23 | /^ LC_ALL=C \$(RUN_TEMACS)/i\ |
9a1d32e7 | 24 | stubedit temacs.exe minstack=1024k |
b0b6ad00 | 25 | /^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/ |
9a1d32e7 EZ |
26 | /-batch -l loadup/a\ |
27 | stubify emacs\ | |
28 | stubedit emacs.exe minstack=2048k | |
515dd711 RS |
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/ | |
5066454b | 35 | /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/ |
9a1d32e7 | 36 | /^ALL_CFLAGS *=/s/@[^@\n]*@//g |
f94f6c02 RS |
37 | /^CPPFLAGS *=/s/@[^@\n]*@// |
38 | /^LDFLAGS *=/s/@[^@\n]*@// | |
dd4e2b00 | 39 | /^LIBS *=/s/@[^@\n]*@// |
9a1d32e7 EZ |
40 | /^LIBES *=/,/^ *$/ { |
41 | s/@[^@\n]*@//g | |
42 | } | |
1c00835f EZ |
43 | /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/ |
44 | /^GETLOADAVG_LIBS *=/s/@[^@\n]*@// | |
c107c335 | 45 | /^LIBSOUND *=/s/@LIBSOUND@// |
e8eaafa2 | 46 | /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@// |
478e48df EZ |
47 | /^RSVG_LIBS *=/s/@RSVG_LIBS@// |
48 | /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@// | |
9a1d32e7 EZ |
49 | /^EXEEXT *=/s/@EXEEXT@/.exe/ |
50 | /^version *=/s/@[^@\n]*@// | |
515dd711 RS |
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 | /^[\f ]*$/d | |
58 | /^temacs:/s/prefix-args// | |
ad23b7e1 | 59 | /^temacs:/s/stamp-oldxmenu// |
9a1d32e7 | 60 | /^RUN_TEMACS *=/s|`/bin/pwd`|.| |
b1039ed6 EZ |
61 | /^ mv \.\/\.gdbinit/d |
62 | /^ if test -f/c\ | |
63 | command.com /c if exist .gdbinit rm -f _gdbinit | |
64 | /^ else mv \.\/\.gdbinit/d | |
515dd711 | 65 | /^ #/d |
be52dc90 | 66 | /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! |
9a1d32e7 EZ |
67 | /^ @: /d |
68 | /^ -\{0,1\}ln -/s/ln -f/cp -pf/ | |
69 | /^[ ]touch /s/touch/djecho $@ >/ | |
8f331aa5 EZ |
70 | s/bootstrap-emacs/b-emacs/ |
71 | s/bootstrap-temacs/b-temacs/ | |
72 | s/bootstrap-doc/b-doc/ | |
73 | /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ | |
ba68f95a | 74 | s/echo.*buildobj.lst/dj&/ |
8f331aa5 | 75 | /^ mv -f emacs/a\ |
9a1d32e7 EZ |
76 | stubedit b-emacs.exe minstack=3072k |
77 | /^ -\{0,1\}rm -f/s/\\#/#/ | |
78 | /^ @\{0,1\}cd ..\/lisp; /s|$|\; cd ../src| | |
ab5796a9 MB |
79 | |
80 | # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c |