7202
|
1 # -sed1.inp-------------------------------------------------------------
|
7229
520d3d20651f
Don't comment out the inc-vers run as that does not exist anymore.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
2 # Configuration script for src/makefile
|
7202
|
3 # ----------------------------------------------------------------------
|
15041
|
4 #
|
75249
|
5 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003,
|
79742
|
6 # 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
36219
|
7 #
|
|
8 # This file is part of GNU Emacs.
|
|
9 #
|
36461
|
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.
|
36219
|
13 #
|
36461
|
14 # This program is distributed in the hope that it will be useful,
|
36219
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
36461
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
36219
|
17 #
|
36461
|
18 # ----------------------------------------------------------------------
|
15041
|
19 # In case src/Makefile needs to rebuild `make-doc.exe' (might happen under
|
15829
|
20 # Windows 95), make sure it gets built with commands that DOS
|
15041
|
21 # understands (one command per line).
|
7202
|
22 s/^#.*//
|
|
23 s/^[ \f\t][ \f\t]*$//
|
|
24 s/^ / /
|
|
25 s/\.h\.in/.h-in/
|
|
26 s!^ \./temacs! go32 temacs!
|
|
27 s!/bin/sh!command.com!
|
|
28 /^MAKE *=/s/^/# /
|
|
29 /^SHELL *=/s/^/# /
|
7513
|
30 /^srcdir *=/s/@[^@\n]*@/./
|
|
31 /^VPATH *=/s/@[^@\n]*@/./
|
|
32 /^CC *=/s/@[^@\n]*@/gcc/
|
|
33 /^CPP *=/s/@[^@\n]*@/gcc -e/
|
|
34 /^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
|
28587
|
35 /^LIBS *=/s/@[^@\n]*@//
|
|
36 /^LIBOBJS *=/s/@[^@\n]*@//
|
7513
|
37 /^LN_S *=/s/@[^@\n]*@/ln -s/
|
8197
|
38 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
|
7513
|
39 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
|
7202
|
40 /^@SET_MAKE@$/s/@SET_MAKE@//
|
13176
|
41 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC!
|
7202
|
42 /^.\${libsrc}make-doc/s!>.*$!!
|
15041
|
43 /^\${libsrc}make-docfile:/c\
|
|
44 ${libsrc}make-doc.exe:\
|
|
45 cd ..\
|
|
46 cd lib-src\
|
|
47 $(MAKE) ${MFLAGS} make-docfile -W make-docfile.c\
|
|
48 cd ..\
|
|
49 cd src
|
|
50 /^ cd \${libsrc}; \${MAKE} \${MFLAGS} make-docfile/d
|
|
51 /\${libsrc}make-docfile/s/-docfile[ ]/-doc.exe /
|
7202
|
52 /^[ ]*$/d
|
9572
|
53 /^temacs:/s/prefix-args//
|
18769
|
54 /^temacs:/s/stamp-oldxmenu//
|
9572
|
55 /^ #/d
|
52401
|
56
|
|
57 # arch-tag: 246725c1-79de-4d03-a080-8f19329fa35e
|