| 1 | # -sed1.inp------------------------------------------------------------- |
| 2 | # Configuration script for src/makefile |
| 3 | # ---------------------------------------------------------------------- |
| 4 | # |
| 5 | # Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, |
| 6 | # 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 | # ---------------------------------------------------------------------- |
| 19 | # In case src/Makefile needs to rebuild `make-doc.exe' (might happen under |
| 20 | # Windows 95), make sure it gets built with commands that DOS |
| 21 | # understands (one command per line). |
| 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/^/# / |
| 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/ |
| 35 | /^LIBS *=/s/@[^@\n]*@// |
| 36 | /^LIBOBJS *=/s/@[^@\n]*@// |
| 37 | /^LN_S *=/s/@[^@\n]*@/ln -s/ |
| 38 | /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! |
| 39 | /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! |
| 40 | /^@SET_MAKE@$/s/@SET_MAKE@// |
| 41 | /^.\${libsrc}make-docfile.*>/s!make-docfile!make-doc.exe -o ../etc/DOC! |
| 42 | /^.\${libsrc}make-doc/s!>.*$!! |
| 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 / |
| 52 | /^[\f ]*$/d |
| 53 | /^temacs:/s/prefix-args// |
| 54 | /^temacs:/s/stamp-oldxmenu// |
| 55 | /^ #/d |
| 56 | |
| 57 | # arch-tag: 246725c1-79de-4d03-a080-8f19329fa35e |