7203
|
1 # -sed3.inp-------------------------------------------------------------
|
|
2 # Configuration script for lib-src/makefile
|
|
3 # ----------------------------------------------------------------------
|
36461
|
4 #
|
|
5 # Copyright (C) 1993, 1994, 1995
|
|
6 # Free Software Foundation, Inc.
|
|
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 # ----------------------------------------------------------------------
|
7203
|
19 /^# DIST: /d
|
|
20 /^SHELL *=/s/^/# /
|
|
21 /^CC *=/s/=.*$/=gcc/
|
7407
|
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}\\""//
|
7203
|
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!=.*$!=.!
|
|
31 /^CFLAGS *=/s!=.*$!=-O2 -g!
|
|
32 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
|
|
33 /^LOADLIBES *=/s!=.*$!=!
|
|
34 /^ALLOCA *=/s!=.*$!=alloca.o!
|
|
35 /^INSTALLABLES/s/emacsclient *//
|
|
36 s!^ \./! go32 ./!
|
|
37 /^UTILITIES=/s/ wakeup//
|
|
38 /^UTILITIES=/s/ movemail//
|
|
39 /^UTILITIES=/s/ emacsserver//
|
|
40 /^UTILITIES=/s/ timer//
|
10507
|
41 /^all *:/s/$/ make-docfile/
|
13615
|
42 s!^ go32 ./test-distrib! go32 ./test-dis!
|
10385
|
43 /-o make-docfile/a\
|
10509
|
44 coff2exe make-docfile
|