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
|
|
|
|
# ----------------------------------------------------------------------
|
2001-03-01 17:19:33 +00:00
|
|
|
|
#
|
Remove some unused Makefile.in variables.
* configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@.
* Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE)
(LD_SWITCH_X_SITE): Remove unused variables.
* lwlib/Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
* oldXMenu/Makefile.in (CPP, LN_S, AS, LD, MV, LS, LINTOPTS, LINTLIBFLAG, MAKE)
(STD_DEFINES, CDEBUGFLAGS, RM_CMD): Remove unused variables.
* src/Makefile.in (CPP, LN_S): Remove unused variables.
* msdos/sed1v2.inp, msdos/sed5x.inp: Remove LN_S, unused.
2010-05-06 07:24:18 +00:00
|
|
|
|
# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
|
|
|
|
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
2001-03-01 17:19:33 +00:00
|
|
|
|
#
|
|
|
|
|
# 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/
|
2004-10-06 15:46:19 +00:00
|
|
|
|
/^ LC_ALL=C \$(RUN_TEMACS)/i\
|
2008-08-23 17:04:11 +00:00
|
|
|
|
stubedit temacs.exe minstack=1024k
|
2004-10-06 15:46:19 +00:00
|
|
|
|
/^ LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
|
2008-08-23 17:04:11 +00:00
|
|
|
|
/-batch -l loadup/a\
|
|
|
|
|
stubify emacs\
|
|
|
|
|
stubedit emacs.exe minstack=2048k
|
1996-04-10 00:53:52 +00:00
|
|
|
|
/^MAKE *=/s/^/# /
|
|
|
|
|
/^SHELL *=/s/^/# /
|
|
|
|
|
/^srcdir *=/s/@[^@\n]*@/./
|
Fix the MSDOS build as fallout from the latest Makefile.in changes.
config.bat <lib-src>: Edit out lines that begin with several #
characters.
msdos/sedlisp.inp (VPATH): Don't edit, no longer needed.
(lisp, srcdir): Adapt to lisp/Makefile.in changes.
(abs_top_builddir): New edit.
msdos/sed3v2.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
msdos/sed3.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
msdos/sed1v2.inp (abs_builddir): Edit into "../src".
2010-03-27 10:49:18 +00:00
|
|
|
|
/^abs_builddir *=/s|@abs_builddir@|../src|
|
1996-04-10 00:53:52 +00:00
|
|
|
|
/^VPATH *=/s/@[^@\n]*@/./
|
|
|
|
|
/^CC *=/s/@[^@\n]*@/gcc/
|
|
|
|
|
/^CPP *=/s/@[^@\n]*@/gcc -e/
|
1999-05-19 10:24:54 +00:00
|
|
|
|
/^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
|
2008-08-23 17:04:11 +00:00
|
|
|
|
/^ALL_CFLAGS *=/s/@[^@\n]*@//g
|
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]*@//
|
2008-08-23 17:04:11 +00:00
|
|
|
|
/^LIBES *=/,/^ *$/ {
|
|
|
|
|
s/@[^@\n]*@//g
|
|
|
|
|
}
|
2000-07-18 12:00:12 +00:00
|
|
|
|
/^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
|
|
|
|
|
/^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
|
2000-07-09 09:31:58 +00:00
|
|
|
|
/^LIBSOUND *=/s/@LIBSOUND@//
|
2006-11-25 14:32:48 +00:00
|
|
|
|
/^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@//
|
2007-10-05 09:34:24 +00:00
|
|
|
|
/^RSVG_LIBS *=/s/@RSVG_LIBS@//
|
|
|
|
|
/^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@//
|
2009-09-17 18:02:58 +00:00
|
|
|
|
/^OTHER_FILES *=/s/@OTHER_FILES@//
|
2008-08-23 17:04:11 +00:00
|
|
|
|
/^EXEEXT *=/s/@EXEEXT@/.exe/
|
|
|
|
|
/^version *=/s/@[^@\n]*@//
|
1996-04-10 00:53:52 +00:00
|
|
|
|
/^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//
|
1997-07-13 20:49:06 +00:00
|
|
|
|
/^temacs:/s/stamp-oldxmenu//
|
2008-08-23 17:04:11 +00:00
|
|
|
|
/^RUN_TEMACS *=/s|`/bin/pwd`|.|
|
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
|
2002-03-20 17:35:15 +00:00
|
|
|
|
/^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
|
2008-08-23 17:04:11 +00:00
|
|
|
|
/^ @: /d
|
|
|
|
|
/^ -\{0,1\}ln -/s/ln -f/cp -pf/
|
|
|
|
|
/^[ ]touch /s/touch/djecho $@ >/
|
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/
|
2004-11-09 08:18:05 +00:00
|
|
|
|
s/echo.*buildobj.lst/dj&/
|
2008-11-15 15:37:41 +00:00
|
|
|
|
/ --load loadup bootstrap/i\
|
|
|
|
|
stubedit temacs.exe minstack=1024k
|
|
|
|
|
/ --load loadup bootstrap/a\
|
|
|
|
|
stubify emacs
|
2002-03-09 14:41:13 +00:00
|
|
|
|
/^ mv -f emacs/a\
|
2008-11-15 15:37:41 +00:00
|
|
|
|
stubedit b-emacs.exe minstack=3072k\
|
|
|
|
|
djecho bootlisp > bootlisp
|
2008-08-23 17:04:11 +00:00
|
|
|
|
/^ -\{0,1\}rm -f/s/\\#/#/
|
|
|
|
|
/^ @\{0,1\}cd ..\/lisp; /s|$|\; cd ../src|
|
2009-08-27 19:03:20 +00:00
|
|
|
|
/^ echo.* buildobj.h/s|echo |djecho |
|
2003-09-01 15:45:59 +00:00
|
|
|
|
|
|
|
|
|
# arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c
|