Fix bug #5816.
[bpt/emacs.git] / msdos / sed3.inp
CommitLineData
8c9bc1f8
RS
1# -sed3.inp-------------------------------------------------------------
2# Configuration script for lib-src/makefile
3# ----------------------------------------------------------------------
d7fcecc1 4#
62eda0e2 5# Copyright (C) 1993, 1994, 1995, 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# ----------------------------------------------------------------------
8c9bc1f8
RS
19/^# DIST: /d
20/^SHELL *=/s/^/# /
21/^CC *=/s/=.*$/=gcc/
fa974a00
RS
22# Actually, here we should patch in the exact version number, but only
23# [ce]tags uses it. Don't pass it. This is more update-resistant.
24/-DVERSION=/s/-DVERSION="\\"\${version}\\""//
8c9bc1f8
RS
25/^configname *=/s/=.*$/=msdos/
26/^archlibdir *=/s!=.*$!=/emacs/bin!
27/^bindir *=/s!=.*$!=/emacs/bin!
28/^libdir *=/s!=.*$!=/emacs/bin!
29/^srcdir *=/s!=.*$!=.!
30/^VPATH *=/s!=.*$!=.!
2201e7e2
EZ
31/^KRB4LIB *=/s/@[^@\n]*@//g
32/^DESLIB *=/s/@[^@\n]*@//g
33/^KRB5LIB *=/s/@[^@\n]*@//g
34/^CRYPTOLIB *=/s/@[^@\n]*@//g
35/^COM_ERRLIB *=/s/@[^@\n]*@//g
36/^LIBHESIOD *=/s/@[^@\n]*@//g
37/^LIBRESOLV *=/s/@[^@\n]*@//g
38/^LIBS_MAIL *=/s/@[^@\n]*@//g
8c9bc1f8
RS
39/^CFLAGS *=/s!=.*$!=-O2 -g!
40/^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
41/^LOADLIBES *=/s!=.*$!=!
42/^ALLOCA *=/s!=.*$!=alloca.o!
43/^INSTALLABLES/s/emacsclient *//
44s!^ \./! go32 ./!
45/^UTILITIES=/s/ wakeup//
46/^UTILITIES=/s/ movemail//
47/^UTILITIES=/s/ emacsserver//
48/^UTILITIES=/s/ timer//
2d1d8be6 49/^all *:/s/$/ make-docfile/
19269b99 50s!^ go32 ./test-distrib! go32 ./test-dis!
04993d27 51/-o make-docfile/a\
3e9558ae 52 coff2exe make-docfile
ab5796a9
MB
53
54# arch-tag: cac6f5c7-3dbf-4e84-9d0c-44f0126f0ea8