1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
emacs/msdos/sed1v2.inp

69 lines
2.3 KiB
Plaintext
Raw Normal View History

1996-04-10 00:53:52 +00:00
# -sed1v2.inp-----------------------------------------------------------
2000-07-09 09:31:58 +00:00
# Configuration script for src/Makefile under DJGPP v2.x
1996-04-10 00:53:52 +00:00
# ----------------------------------------------------------------------
#
2005-08-10 15:40:54 +00:00
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004,
2006-02-06 12:31:40 +00:00
# 2005, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
# This file is free software; as a special exception, the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# ----------------------------------------------------------------------
1996-04-10 00:53:52 +00:00
s/^#.*//
s/^[ \f\t][ \f\t]*$//
s/^ / /
s/\.h\.in/.h-in/
/^ LC_ALL=C \$(RUN_TEMACS)/i\
stubedit temacs.exe minstack=100k
/^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
1996-04-10 00:53:52 +00:00
/^MAKE *=/s/^/# /
/^SHELL *=/s/^/# /
/^srcdir *=/s/@[^@\n]*@/./
/^VPATH *=/s/@[^@\n]*@/./
/^CC *=/s/@[^@\n]*@/gcc/
/^CPP *=/s/@[^@\n]*@/gcc -e/
/^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
1997-08-11 00:18:52 +00:00
/^CPPFLAGS *=/s/@[^@\n]*@//
/^LDFLAGS *=/s/@[^@\n]*@//
2000-04-14 12:43:52 +00:00
/^LIBS *=/s/@[^@\n]*@//
/^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
/^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
2000-07-09 09:31:58 +00:00
/^LIBSOUND *=/s/@LIBSOUND@//
2003-08-24 13:09:47 +00:00
/^EXEEXT *=/s/@EXEEXT@//
1996-04-10 00:53:52 +00:00
/^LN_S *=/s/@[^@\n]*@/ln -s/
/^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
/^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
/^@SET_MAKE@$/s/@SET_MAKE@//
/^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
/^.\${libsrc}make-doc/s!>.*$!!
/^[ ]*$/d
/^temacs:/s/prefix-args//
/^temacs:/s/stamp-oldxmenu//
2001-12-21 12:39:25 +00:00
/^ mv \.\/\.gdbinit/d
/^ if test -f/c\
command.com /c if exist .gdbinit rm -f _gdbinit
/^ else mv \.\/\.gdbinit/d
1996-04-10 00:53:52 +00:00
/^ #/d
/^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
2002-03-09 14:41:13 +00:00
s/bootstrap-emacs/b-emacs/
s/bootstrap-temacs/b-temacs/
s/bootstrap-doc/b-doc/
/rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
/^ els=/c\
${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj}
s/echo.*buildobj.lst/dj&/
2002-03-09 14:41:13 +00:00
/^ mv -f emacs/a\
2002-03-09 14:57:10 +00:00
stubify b-emacs\
stubedit b-emacs.exe minstack=1024k\
rm -f emacs.exe temacs.exe emacs
2002-03-09 14:57:10 +00:00
/^ rm -f/s/\\#/#/
2003-09-01 15:45:59 +00:00
# arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c