(direct_output_for_insert): Give up if we are showing
[emacs.git] / msdos / sed1.inp
blobfa17eca246e63fe03059bbcdabc13c28877e01de
1 # -sed1.inp-------------------------------------------------------------
2 # Configuration script for src/makefile
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000
6 #   Free Software Foundation, Inc.
8 # This file is part of GNU Emacs.
10 # GNU Emacs is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2, or (at your option)
13 # any later version.
15 # GNU Emacs is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with GNU Emacs; see the file COPYING.  If not, write to the
22 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA.
25 # In case src/Makefile needs to rebuild `make-doc.exe' (might happen under
26 # Windows 95), make sure it gets built with commands that DOS
27 # understands (one command per line).
28 s/^#.*//
29 s/^[ \f\t][ \f\t]*$//
30 s/^ /   /
31 s/\.h\.in/.h-in/
32 s!^     \./temacs!      go32 temacs!
33 s!/bin/sh!command.com!
34 /^MAKE *=/s/^/# /
35 /^SHELL *=/s/^/# /
36 /^srcdir *=/s/@[^@\n]*@/./
37 /^VPATH *=/s/@[^@\n]*@/./
38 /^CC *=/s/@[^@\n]*@/gcc/
39 /^CPP *=/s/@[^@\n]*@/gcc -e/
40 /^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
41 /^LIBS *=/s/@[^@\n]*@//
42 /^LIBOBJS *=/s/@[^@\n]*@//
43 /^LN_S *=/s/@[^@\n]*@/ln -s/
44 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
45 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
46 /^@SET_MAKE@$/s/@SET_MAKE@//
47 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC!
48 /^.\${libsrc}make-doc/s!>.*$!!
49 /^\${libsrc}make-docfile:/c\
50 ${libsrc}make-doc.exe:\
51         cd ..\
52         cd lib-src\
53         $(MAKE) ${MFLAGS} make-docfile -W make-docfile.c\
54         cd ..\
55         cd src
56 /^      cd \${libsrc}; \${MAKE} \${MFLAGS} make-docfile/d
57 /\${libsrc}make-docfile/s/-docfile[     ]/-doc.exe /
58 /^[\f    ]*$/d
59 /^temacs:/s/prefix-args//
60 /^temacs:/s/stamp-oldxmenu//
61 /^      #/d