sed3v2.inp 1.89 KB
Newer Older
Richard M. Stallman's avatar
Richard M. Stallman committed
1 2 3
# -sed3v2.inp-------------------------------------------------------------
# Configuration script for lib-src/makefile under DJGPP v2
# ----------------------------------------------------------------------
4
#
5
# Copyright (C) 1996, 1998, 2000-2012  Free Software Foundation, Inc.
6 7 8 9 10 11 12 13 14 15 16 17
#
# 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.
#
# ----------------------------------------------------------------------
Richard M. Stallman's avatar
Richard M. Stallman committed
18 19 20
/^# DIST: /d
/^SHELL *=/s/^/# /
/^CC *=/s/=.*$/=gcc/
21
s/-DVERSION[^ ]* //
Richard M. Stallman's avatar
Richard M. Stallman committed
22 23 24 25
/^configname *=/s/=.*$/=msdos/
/^archlibdir *=/s!=.*$!=/emacs/bin!
/^bindir *=/s!=.*$!=/emacs/bin!
/^libdir *=/s!=.*$!=/emacs/bin!
26
/^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))!
Richard M. Stallman's avatar
Richard M. Stallman committed
27
/^VPATH *=/s!=.*$!=.!
28
/^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail!
29 30 31 32 33 34 35 36
/^KRB4LIB *=/s/@[^@\n]*@//g
/^DESLIB *=/s/@[^@\n]*@//g
/^KRB5LIB *=/s/@[^@\n]*@//g
/^CRYPTOLIB *=/s/@[^@\n]*@//g
/^COM_ERRLIB *=/s/@[^@\n]*@//g
/^LIBHESIOD *=/s/@[^@\n]*@//g
/^LIBRESOLV *=/s/@[^@\n]*@//g
/^LIBS_MAIL *=/s/@[^@\n]*@//g
37
/^LIBS_SYSTEM *=/s/@[^@\n]*@//g
Richard M. Stallman's avatar
Richard M. Stallman committed
38 39
/^CFLAGS *=/s!=.*$!=-O2 -g!
/^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
40
/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
41 42
/^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@//
/^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
43
/^ALLOCA *=/s!@ALLOCA@!!
44
/^EXEEXT *=/s!@EXEEXT@!!
45 46
/^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
/^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
Eli Zaretskii's avatar
Eli Zaretskii committed
47
/^INSTALLABLES/s/emacsclient[^ ]* *//
Richard M. Stallman's avatar
Richard M. Stallman committed
48
s!^	\./!	!
Eli Zaretskii's avatar
Eli Zaretskii committed
49 50 51
/^UTILITIES *=/,/^$/{
  s/movemail[^ ]* *//
}
52
/^insrcdir=/s/^.*$/\#&/
Eli Zaretskii's avatar
Eli Zaretskii committed
53
/^	 *\$(insrcdir) ||/s,\$(insrcdir) ||,command.com /c if not exist $(<F),
Miles Bader's avatar
Miles Bader committed
54