diff options
| author | Eli Zaretskii | 2008-08-23 17:04:11 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-08-23 17:04:11 +0000 |
| commit | 9a1d32e7a052d7a8eb84329a1711c33fa8e6277a (patch) | |
| tree | bf921b9cf6a2493c56eeb08b9fcdda76728f6f35 | |
| parent | d945fac60bbd11c05c3e16d4ca8039b390310686 (diff) | |
| download | emacs-9a1d32e7a052d7a8eb84329a1711c33fa8e6277a.tar.gz emacs-9a1d32e7a052d7a8eb84329a1711c33fa8e6277a.zip | |
(version): Define to empty.
(ALL_CFLAGS, LIBES): Edit out @FOO@ stuff.
(EXEEXT): Define to .exe. Edit "ln -f" into "cp -pf". Edit "touch" into
"djecho $@ >", to avoid requiring touch.exe.
(b-emacs${EXEEXT}): Don't remove emacs.exe and temacs.exe. Edit "`/bin/pwd`/"
into "./". Stubify emacs after it is dumped, to produce emacs.exe. Stubedit
temacs.exe to 1024K of stack, emacs.exe to 2048K, and b-emacs.exe to 3072K.
| -rw-r--r-- | msdos/sed1v2.inp | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp index ffbf977980d..f2586750a88 100644 --- a/msdos/sed1v2.inp +++ b/msdos/sed1v2.inp | |||
| @@ -21,8 +21,11 @@ s/^[ \f\t][ \f\t]*$// | |||
| 21 | s/^ / / | 21 | s/^ / / |
| 22 | s/\.h\.in/.h-in/ | 22 | s/\.h\.in/.h-in/ |
| 23 | /^ LC_ALL=C \$(RUN_TEMACS)/i\ | 23 | /^ LC_ALL=C \$(RUN_TEMACS)/i\ |
| 24 | stubedit temacs.exe minstack=100k | 24 | stubedit temacs.exe minstack=1024k |
| 25 | /^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/ | 25 | /^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/ |
| 26 | /-batch -l loadup/a\ | ||
| 27 | stubify emacs\ | ||
| 28 | stubedit emacs.exe minstack=2048k | ||
| 26 | /^MAKE *=/s/^/# / | 29 | /^MAKE *=/s/^/# / |
| 27 | /^SHELL *=/s/^/# / | 30 | /^SHELL *=/s/^/# / |
| 28 | /^srcdir *=/s/@[^@\n]*@/./ | 31 | /^srcdir *=/s/@[^@\n]*@/./ |
| @@ -30,16 +33,21 @@ s/\.h\.in/.h-in/ | |||
| 30 | /^CC *=/s/@[^@\n]*@/gcc/ | 33 | /^CC *=/s/@[^@\n]*@/gcc/ |
| 31 | /^CPP *=/s/@[^@\n]*@/gcc -e/ | 34 | /^CPP *=/s/@[^@\n]*@/gcc -e/ |
| 32 | /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/ | 35 | /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/ |
| 36 | /^ALL_CFLAGS *=/s/@[^@\n]*@//g | ||
| 33 | /^CPPFLAGS *=/s/@[^@\n]*@// | 37 | /^CPPFLAGS *=/s/@[^@\n]*@// |
| 34 | /^LDFLAGS *=/s/@[^@\n]*@// | 38 | /^LDFLAGS *=/s/@[^@\n]*@// |
| 35 | /^LIBS *=/s/@[^@\n]*@// | 39 | /^LIBS *=/s/@[^@\n]*@// |
| 40 | /^LIBES *=/,/^ *$/ { | ||
| 41 | s/@[^@\n]*@//g | ||
| 42 | } | ||
| 36 | /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/ | 43 | /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/ |
| 37 | /^GETLOADAVG_LIBS *=/s/@[^@\n]*@// | 44 | /^GETLOADAVG_LIBS *=/s/@[^@\n]*@// |
| 38 | /^LIBSOUND *=/s/@LIBSOUND@// | 45 | /^LIBSOUND *=/s/@LIBSOUND@// |
| 39 | /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@// | 46 | /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@// |
| 40 | /^RSVG_LIBS *=/s/@RSVG_LIBS@// | 47 | /^RSVG_LIBS *=/s/@RSVG_LIBS@// |
| 41 | /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@// | 48 | /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@// |
| 42 | /^EXEEXT *=/s/@EXEEXT@// | 49 | /^EXEEXT *=/s/@EXEEXT@/.exe/ |
| 50 | /^version *=/s/@[^@\n]*@// | ||
| 43 | /^LN_S *=/s/@[^@\n]*@/ln -s/ | 51 | /^LN_S *=/s/@[^@\n]*@/ln -s/ |
| 44 | /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! | 52 | /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! |
| 45 | /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! | 53 | /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! |
| @@ -49,23 +57,24 @@ s/\.h\.in/.h-in/ | |||
| 49 | /^[ ]*$/d | 57 | /^[ ]*$/d |
| 50 | /^temacs:/s/prefix-args// | 58 | /^temacs:/s/prefix-args// |
| 51 | /^temacs:/s/stamp-oldxmenu// | 59 | /^temacs:/s/stamp-oldxmenu// |
| 60 | /^RUN_TEMACS *=/s|`/bin/pwd`|.| | ||
| 52 | /^ mv \.\/\.gdbinit/d | 61 | /^ mv \.\/\.gdbinit/d |
| 53 | /^ if test -f/c\ | 62 | /^ if test -f/c\ |
| 54 | command.com /c if exist .gdbinit rm -f _gdbinit | 63 | command.com /c if exist .gdbinit rm -f _gdbinit |
| 55 | /^ else mv \.\/\.gdbinit/d | 64 | /^ else mv \.\/\.gdbinit/d |
| 56 | /^ #/d | 65 | /^ #/d |
| 57 | /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! | 66 | /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! |
| 67 | /^ @: /d | ||
| 68 | /^ -\{0,1\}ln -/s/ln -f/cp -pf/ | ||
| 69 | /^[ ]touch /s/touch/djecho $@ >/ | ||
| 58 | s/bootstrap-emacs/b-emacs/ | 70 | s/bootstrap-emacs/b-emacs/ |
| 59 | s/bootstrap-temacs/b-temacs/ | 71 | s/bootstrap-temacs/b-temacs/ |
| 60 | s/bootstrap-doc/b-doc/ | 72 | s/bootstrap-doc/b-doc/ |
| 61 | /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ | 73 | /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ |
| 62 | /^ els=/c\ | ||
| 63 | ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj} | ||
| 64 | s/echo.*buildobj.lst/dj&/ | 74 | s/echo.*buildobj.lst/dj&/ |
| 65 | /^ mv -f emacs/a\ | 75 | /^ mv -f emacs/a\ |
| 66 | stubify b-emacs\ | 76 | stubedit b-emacs.exe minstack=3072k |
| 67 | stubedit b-emacs.exe minstack=1024k\ | 77 | /^ -\{0,1\}rm -f/s/\\#/#/ |
| 68 | rm -f emacs.exe temacs.exe emacs | 78 | /^ @\{0,1\}cd ..\/lisp; /s|$|\; cd ../src| |
| 69 | /^ rm -f/s/\\#/#/ | ||
| 70 | 79 | ||
| 71 | # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c | 80 | # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c |