Fix the MS-DOS build (fallout from 2010-07-12T14:16:38Z!schwab@linux-m68k.org, 2010...
[bpt/emacs.git] / msdos / sed3v2.inp
CommitLineData
515dd711
RS
1# -sed3v2.inp-------------------------------------------------------------
2# Configuration script for lib-src/makefile under DJGPP v2
3# ----------------------------------------------------------------------
d7fcecc1 4#
62eda0e2 5# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004,
114f9c96 6# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
d7fcecc1
EZ
7#
8# This file is part of GNU Emacs.
9#
10# This file is free software; as a special exception, the author gives
11# unlimited permission to copy and/or distribute it, with or without
12# modifications, as long as this notice is preserved.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17#
18# ----------------------------------------------------------------------
515dd711
RS
19/^# DIST: /d
20/^SHELL *=/s/^/# /
21/^CC *=/s/=.*$/=gcc/
d0536a7a 22/-DVERSION=/s/@version@/\${version}/
515dd711
RS
23/^configname *=/s/=.*$/=msdos/
24/^archlibdir *=/s!=.*$!=/emacs/bin!
25/^bindir *=/s!=.*$!=/emacs/bin!
26/^libdir *=/s!=.*$!=/emacs/bin!
bbc2d90e 27/^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))!
515dd711 28/^VPATH *=/s!=.*$!=.!
7490175b 29/^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail!
2201e7e2
EZ
30/^KRB4LIB *=/s/@[^@\n]*@//g
31/^DESLIB *=/s/@[^@\n]*@//g
32/^KRB5LIB *=/s/@[^@\n]*@//g
33/^CRYPTOLIB *=/s/@[^@\n]*@//g
34/^COM_ERRLIB *=/s/@[^@\n]*@//g
35/^LIBHESIOD *=/s/@[^@\n]*@//g
36/^LIBRESOLV *=/s/@[^@\n]*@//g
37/^LIBS_MAIL *=/s/@[^@\n]*@//g
97efb629 38/^LIBS_SYSTEM *=/s/@[^@\n]*@//g
515dd711
RS
39/^CFLAGS *=/s!=.*$!=-O2 -g!
40/^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
9fdec8bc 41/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
fc549af9
EZ
42/^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@//
43/^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
44/^PROFILING_LDFLAGS *=/s/@PROFILING_LDFLAGS@//
515dd711 45/^LOADLIBES *=/s!=.*$!=!
b2d305a8 46/^ALLOCA *=/s!@ALLOCA@!!
d627c203 47/^EXEEXT *=/s!@EXEEXT@!!
a1aeca01
EZ
48/^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
49/^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
dbd3f723 50/^INSTALLABLES/s/emacsclient[^ ]* *//
515dd711 51s!^ \./! !
dbd3f723
EZ
52/^UTILITIES *=/,/^$/{
53 s/movemail[^ ]* *//
54}
ab5796a9
MB
55
56# arch-tag: 16f3be18-a45b-496c-b19c-e43840359de8