sed3v2.inp 2.26 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
#
Paul Eggert's avatar
Paul Eggert committed
5
# Copyright (C) 1996, 1998, 2000-2016 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
38
/^LIB_CLOCK_GETTIME *=/s/@[^@\n]*@//g
39
/^LIB_TIMER_TIME *=/s/@[^@\n]*@//g
Richard M. Stallman's avatar
Richard M. Stallman committed
40
/^CFLAGS *=/s!=.*$!=-O2 -g!
41
/^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS -I../msdos!
42
/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
43 44
/^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
Eli Zaretskii's avatar
Eli Zaretskii committed
45
/^UPDATE_MANIFEST *=/s/@UPDATE_MANIFEST@//
46
/^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
47
/^ALLOCA *=/s!@ALLOCA@!!
Eli Zaretskii's avatar
Eli Zaretskii committed
48 49 50 51 52 53 54 55
/^EXEEXT *=/s!@EXEEXT@!.exe!
/^CLIENTW *=/s/@CLIENTW@//
/^LIB_FDATASYNC *=/s/@LIB_FDATASYNC@//
/^LIB_WSOCK32 *=/s/@LIB_WSOCK32@//
/^LIBS_ECLIENT *=/s/@LIBS_ECLIENT@//
/^NTLIB *=/s/@NTLIB@//
/^CLIENTRES *=/s/@CLIENTRES@//
/^WINDRES *=/s/@WINDRES@//
56 57
/^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
/^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
Eli Zaretskii's avatar
Eli Zaretskii committed
58
/^INSTALLABLES/s/emacsclient[^ ]* *//
Richard M. Stallman's avatar
Richard M. Stallman committed
59
s!^	\./!	!
Eli Zaretskii's avatar
Eli Zaretskii committed
60 61 62
/^UTILITIES *=/,/^$/{
  s/movemail[^ ]* *//
}
63
/^insrcdir=/s/^.*$/\#&/
Eli Zaretskii's avatar
Eli Zaretskii committed
64
/^	 *\$(insrcdir) ||/s,\$(insrcdir) ||,command.com /c if not exist $(<F),