1 # -sed3v2.inp-------------------------------------------------------------
2 # Configuration script for lib-src/makefile under DJGPP v2
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1996, 1998, 2000-2017 Free Software Foundation, Inc.
7 # This file is part of GNU Emacs.
9 # This file is free software; as a special exception, the author gives
10 # unlimited permission to copy and/or distribute it, with or without
11 # modifications, as long as this notice is preserved.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 # ----------------------------------------------------------------------
19 /^CC *=/s/=.*$/=gcc -std=gnu99/
20 /^archlibdir *=/s!=.*$!=/emacs/bin!
21 /^bindir *=/s!=.*$!=/emacs/bin!
22 /^libdir *=/s!=.*$!=/emacs/bin!
23 /^srcdir=/s!srcdir=@srcdir@!srcdir := $(CURDIR)!
25 /^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail!
26 /^KRB4LIB *=/s/@[^@\n]*@//g
27 /^DESLIB *=/s/@[^@\n]*@//g
28 /^KRB5LIB *=/s/@[^@\n]*@//g
29 /^CRYPTOLIB *=/s/@[^@\n]*@//g
30 /^COM_ERRLIB *=/s/@[^@\n]*@//g
31 /^LIBHESIOD *=/s/@[^@\n]*@//g
32 /^LIBRESOLV *=/s/@[^@\n]*@//g
33 /^LIBS_MAIL *=/s/@[^@\n]*@//g
34 /^LIBS_SYSTEM *=/s/@[^@\n]*@//g
35 /^LIB_CLOCK_GETTIME *=/s/@[^@\n]*@//g
36 /^LIB_TIMER_TIME *=/s/@[^@\n]*@//g
37 /^CFLAGS *=/s!=.*$!=-O2 -g!
38 /^CPPFLAGS *=/s/@CPPFLAGS@//
39 /^LDFLAGS *=/s/@LDFLAGS@//
40 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS -I../msdos!
41 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
42 /^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
43 /^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
44 /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
45 /^AM_DEFAULT_VERBOSITY *=/s/@AM_DEFAULT_VERBOSITY@/1/
46 /^[Aa][Mm]_/s/@AM_V@/$(V)/
47 /^[Aa][Mm]_/s/@AM_DEFAULT_V@/$(AM_DEFAULT_VERBOSITY)/
48 /^ALLOCA *=/s!@ALLOCA@!!
49 /^EXEEXT *=/s!@EXEEXT@!.exe!
50 /^CLIENTW *=/s/@CLIENTW@//
51 /^LIB_FDATASYNC *=/s/@LIB_FDATASYNC@//
52 /^LIB_WSOCK32 *=/s/@LIB_WSOCK32@//
53 /^LIBS_ECLIENT *=/s/@LIBS_ECLIENT@//
54 /^NTLIB *=/s/@NTLIB@//
55 /^CLIENTRES *=/s/@CLIENTRES@//
56 /^WINDRES *=/s/@WINDRES@//
57 /^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
58 /^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
59 /^INSTALLABLES/s/emacsclient[^ ]* *//