]> code.delx.au - gnu-emacs/blobdiff - msdos/sed1.inp
(Subdirectories in Dired) [ifnottex]: @include dired-xtra.texi.
[gnu-emacs] / msdos / sed1.inp
index 8afa3af95a7ad3fcfd38403d801879d3f8c074ba..b13a7ae08ac9f3d1751cfb1fd42dc409c635728b 100644 (file)
@@ -1,28 +1,57 @@
 # -sed1.inp-------------------------------------------------------------
-# Configuration script for makefile.in-in
+# Configuration script for src/makefile
 # ----------------------------------------------------------------------
+#
+# Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2002, 2003, 2004,
+#   2005, 2006 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.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# ----------------------------------------------------------------------
+# In case src/Makefile needs to rebuild `make-doc.exe' (might happen under
+# Windows 95), make sure it gets built with commands that DOS
+# understands (one command per line).
 s/^#.*//
 s/^[ \f\t][ \f\t]*$//
 s/^ /  /
-/^obj=/s!$! dosfns.o msdos.o!
-/window.elc/s!window.elc!window.elc ${lispdir}dos-fns.elc!
 s/\.h\.in/.h-in/
-s!^.-if.*inc-vers.*$!#!
 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/
-/^LN_S *=/s/@[^@\n]+@/ln -s/
-/^M_FILE *=/s!@[^@\n]+@!m/dos386.h!
-/^S_FILE *=/s!@[^@\n]+@!s/msdos.h!
+/^srcdir *=/s/@[^@\n]*@/./
+/^VPATH *=/s/@[^@\n]*@/./
+/^CC *=/s/@[^@\n]*@/gcc/
+/^CPP *=/s/@[^@\n]*@/gcc -e/
+/^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
+/^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@//
-/DEBUG_MOLE *=/s/=.*$/=/
+/^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC!
 /^.\${libsrc}make-doc/s!>.*$!!
-/^.\${libsrc}make-docfile/s!make-docfile!make-docfile -o ../etc/DOC!
-/^.\${libsrc}make-docfile/s/\$/go32 $/
+/^\${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 /
 /^[\f   ]*$/d
+/^temacs:/s/prefix-args//
+/^temacs:/s/stamp-oldxmenu//
+/^     #/d
+
+# arch-tag: 246725c1-79de-4d03-a080-8f19329fa35e