Reorder functions, no code 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
GM
5# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
6# 2005, 2006, 2007 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\
27ffd10e 24 stubedit temacs.exe minstack=100k
b0b6ad00 25/^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
515dd711
RS
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/
5066454b 32/^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
f94f6c02
RS
33/^CPPFLAGS *=/s/@[^@\n]*@//
34/^LDFLAGS *=/s/@[^@\n]*@//
dd4e2b00 35/^LIBS *=/s/@[^@\n]*@//
1c00835f
EZ
36/^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
37/^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
c107c335 38/^LIBSOUND *=/s/@LIBSOUND@//
e8eaafa2 39/^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@//
b7cb1e12 40/^EXEEXT *=/s/@EXEEXT@//
515dd711
RS
41/^LN_S *=/s/@[^@\n]*@/ln -s/
42/^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
43/^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
44/^@SET_MAKE@$/s/@SET_MAKE@//
45/^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
46/^.\${libsrc}make-doc/s!>.*$!!
47/^[\f ]*$/d
48/^temacs:/s/prefix-args//
ad23b7e1 49/^temacs:/s/stamp-oldxmenu//
b1039ed6
EZ
50/^ mv \.\/\.gdbinit/d
51/^ if test -f/c\
52 command.com /c if exist .gdbinit rm -f _gdbinit
53/^ else mv \.\/\.gdbinit/d
515dd711 54/^ #/d
be52dc90 55/^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
8f331aa5
EZ
56s/bootstrap-emacs/b-emacs/
57s/bootstrap-temacs/b-temacs/
58s/bootstrap-doc/b-doc/
59/rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
60/^ els=/c\
61 ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj}
ba68f95a 62s/echo.*buildobj.lst/dj&/
8f331aa5 63/^ mv -f emacs/a\
d5a6bcee
EZ
64 stubify b-emacs\
65 stubedit b-emacs.exe minstack=1024k\
bd9be8a7 66 rm -f emacs.exe temacs.exe emacs
d5a6bcee 67/^ rm -f/s/\\#/#/
ab5796a9
MB
68
69# arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c