Fix the MSDOS build as fallout from the latest Makefile.in changes.
[bpt/emacs.git] / msdos / sed1v2.inp
CommitLineData
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,
114f9c96 6# 2005, 2006, 2007, 2008, 2009, 2010 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
19s/^#.*//
20s/^[ \f\t][ \f\t]*$//
21s/^ / /
22s/\.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]*@/./
2201e7e2 32/^abs_builddir *=/s|@abs_builddir@|../src|
515dd711
RS
33/^VPATH *=/s/@[^@\n]*@/./
34/^CC *=/s/@[^@\n]*@/gcc/
35/^CPP *=/s/@[^@\n]*@/gcc -e/
5066454b 36/^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
9a1d32e7 37/^ALL_CFLAGS *=/s/@[^@\n]*@//g
f94f6c02
RS
38/^CPPFLAGS *=/s/@[^@\n]*@//
39/^LDFLAGS *=/s/@[^@\n]*@//
dd4e2b00 40/^LIBS *=/s/@[^@\n]*@//
9a1d32e7
EZ
41/^LIBES *=/,/^ *$/ {
42 s/@[^@\n]*@//g
43}
1c00835f
EZ
44/^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
45/^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
c107c335 46/^LIBSOUND *=/s/@LIBSOUND@//
e8eaafa2 47/^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@//
478e48df
EZ
48/^RSVG_LIBS *=/s/@RSVG_LIBS@//
49/^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@//
e2a1f100 50/^OTHER_FILES *=/s/@OTHER_FILES@//
9a1d32e7
EZ
51/^EXEEXT *=/s/@EXEEXT@/.exe/
52/^version *=/s/@[^@\n]*@//
515dd711
RS
53/^LN_S *=/s/@[^@\n]*@/ln -s/
54/^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
55/^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
56/^@SET_MAKE@$/s/@SET_MAKE@//
57/^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
58/^.\${libsrc}make-doc/s!>.*$!!
59/^[\f ]*$/d
60/^temacs:/s/prefix-args//
ad23b7e1 61/^temacs:/s/stamp-oldxmenu//
9a1d32e7 62/^RUN_TEMACS *=/s|`/bin/pwd`|.|
b1039ed6
EZ
63/^ mv \.\/\.gdbinit/d
64/^ if test -f/c\
65 command.com /c if exist .gdbinit rm -f _gdbinit
66/^ else mv \.\/\.gdbinit/d
515dd711 67/^ #/d
be52dc90 68/^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
9a1d32e7
EZ
69/^ @: /d
70/^ -\{0,1\}ln -/s/ln -f/cp -pf/
71/^[ ]touch /s/touch/djecho $@ >/
8f331aa5
EZ
72s/bootstrap-emacs/b-emacs/
73s/bootstrap-temacs/b-temacs/
74s/bootstrap-doc/b-doc/
75/rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
ba68f95a 76s/echo.*buildobj.lst/dj&/
164fd5f8
EZ
77/ --load loadup bootstrap/i\
78 stubedit temacs.exe minstack=1024k
79/ --load loadup bootstrap/a\
80 stubify emacs
8f331aa5 81/^ mv -f emacs/a\
164fd5f8
EZ
82 stubedit b-emacs.exe minstack=3072k\
83 djecho bootlisp > bootlisp
9a1d32e7
EZ
84/^ -\{0,1\}rm -f/s/\\#/#/
85/^ @\{0,1\}cd ..\/lisp; /s|$|\; cd ../src|
a6e656a4 86/^ echo.* buildobj.h/s|echo |djecho |
ab5796a9
MB
87
88# arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c