]> code.delx.au - gnu-emacs/blob - msdos/sed1v2.inp
59894c9fff47253e14c27cef50c760e5422c4117
[gnu-emacs] / msdos / sed1v2.inp
1 # -sed1v2.inp-----------------------------------------------------------
2 # Configuration script for src/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
4 #
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002
6 # Free Software Foundation, Inc.
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 # ----------------------------------------------------------------------
19 s/^#.*//
20 s/^[ \f\t][ \f\t]*$//
21 s/^ / /
22 s/\.h\.in/.h-in/
23 /^ LC_ALL=C \.\/temacs/i\
24 stubedit temacs.exe minstack=100k
25 /^ LC_ALL=C.*temacs/s/LC_ALL=C/set &;/
26 /^MAKE *=/s/^/# /
27 /^SHELL *=/s/^/# /
28 /^srcdir *=/s/@[^@\n]*@/./
29 /^VPATH *=/s/@[^@\n]*@/./
30 /^CC *=/s/@[^@\n]*@/gcc/
31 /^CPP *=/s/@[^@\n]*@/gcc -e/
32 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
33 /^CPPFLAGS *=/s/@[^@\n]*@//
34 /^LDFLAGS *=/s/@[^@\n]*@//
35 /^LIBS *=/s/@[^@\n]*@//
36 /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
37 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
38 /^LIBSOUND *=/s/@LIBSOUND@//
39 /^LN_S *=/s/@[^@\n]*@/ln -s/
40 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
41 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
42 /^@SET_MAKE@$/s/@SET_MAKE@//
43 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
44 /^.\${libsrc}make-doc/s!>.*$!!
45 /^[\f ]*$/d
46 /^temacs:/s/prefix-args//
47 /^temacs:/s/stamp-oldxmenu//
48 /^ mv \.\/\.gdbinit/d
49 /^ if test -f/c\
50 command.com /c if exist .gdbinit rm -f _gdbinit
51 /^ else mv \.\/\.gdbinit/d
52 /^ #/d
53 s/bootstrap-emacs/b-emacs/
54 s/bootstrap-temacs/b-temacs/
55 s/bootstrap-doc/b-doc/
56 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
57 /^ els=/c\
58 ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj}
59 /^ mv -f emacs/a\
60 stubify emacs\
61 stubedit emacs.exe minstack=1024k\
62 mv -f emacs.exe b-emacs.exe\
63 rm -f temacs.exe