1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
emacs/msdos/sed1.inp

58 lines
1.8 KiB
Plaintext
Raw Normal View History

# -sed1.inp-------------------------------------------------------------
# Configuration script for src/makefile
# ----------------------------------------------------------------------
#
2001-02-20 11:00:55 +00:00
# Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000
# Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
# This file is free software; as a special exception, the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
2001-02-20 11:00:55 +00:00
#
# This program is distributed in the hope that it will be useful,
2001-02-20 11:00:55 +00:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2001-02-20 11:01:23 +00:00
#
# ----------------------------------------------------------------------
# In case src/Makefile needs to rebuild `make-doc.exe' (might happen under
1996-08-05 21:28:14 +00:00
# Windows 95), make sure it gets built with commands that DOS
# understands (one command per line).
s/^#.*//
s/^[ \f\t][ \f\t]*$//
s/^ / /
s/\.h\.in/.h-in/
s!^ \./temacs! go32 temacs!
s!/bin/sh!command.com!
/^MAKE *=/s/^/# /
/^SHELL *=/s/^/# /
/^srcdir *=/s/@[^@\n]*@/./
/^VPATH *=/s/@[^@\n]*@/./
/^CC *=/s/@[^@\n]*@/gcc/
/^CPP *=/s/@[^@\n]*@/gcc -e/
/^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
2000-04-14 12:43:52 +00:00
/^LIBS *=/s/@[^@\n]*@//
/^LIBOBJS *=/s/@[^@\n]*@//
/^LN_S *=/s/@[^@\n]*@/ln -s/
/^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
/^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
/^@SET_MAKE@$/s/@SET_MAKE@//
/^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC!
/^.\${libsrc}make-doc/s!>.*$!!
/^\${libsrc}make-docfile:/c\
${libsrc}make-doc.exe:\
cd ..\
cd lib-src\
$(MAKE) ${MFLAGS} make-docfile -W make-docfile.c\
cd ..\
cd src
/^ cd \${libsrc}; \${MAKE} \${MFLAGS} make-docfile/d
/\${libsrc}make-docfile/s/-docfile[ ]/-doc.exe /
/^[ ]*$/d
1994-10-17 08:42:36 +00:00
/^temacs:/s/prefix-args//
/^temacs:/s/stamp-oldxmenu//
1994-10-17 08:42:36 +00:00
/^ #/d
2003-09-01 15:45:59 +00:00
# arch-tag: 246725c1-79de-4d03-a080-8f19329fa35e