(calendar-location-name, calendar-latitude)
[emacs.git] / msdos / sed1v2.inp
blobffbf977980dc54204c939897914d36702c2ce67b
1 # -sed1v2.inp-----------------------------------------------------------
2 # Configuration script for src/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
6 #   2005, 2006, 2007, 2008  Free Software Foundation, Inc.
8 # This file is part of GNU Emacs.
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.
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.
18 # ----------------------------------------------------------------------
19 s/^#.*//
20 s/^[ \f\t][ \f\t]*$//
21 s/^ /   /
22 s/\.h\.in/.h-in/
23 /^      LC_ALL=C \$(RUN_TEMACS)/i\
24         stubedit temacs.exe minstack=100k
25 /^      LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
26 /^MAKE *=/s/^/# /
27 /^SHELL *=/s/^/# /
28 /^srcdir *=/s/@[^@\n]*@/./
29 /^VPATH *=/s/@[^@\n]*@/./
30 /^CC *=/s/@[^@\n]*@/gcc/
31 /^CPP *=/s/@[^@\n]*@/gcc -e/
32 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
33 /^CPPFLAGS *=/s/@[^@\n]*@//
34 /^LDFLAGS *=/s/@[^@\n]*@//
35 /^LIBS *=/s/@[^@\n]*@//
36 /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
37 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
38 /^LIBSOUND *=/s/@LIBSOUND@//
39 /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@//
40 /^RSVG_LIBS *=/s/@RSVG_LIBS@//
41 /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@//
42 /^EXEEXT *=/s/@EXEEXT@//
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-docfile -o ../etc/DOC!
48 /^.\${libsrc}make-doc/s!>.*$!!
49 /^[\f    ]*$/d
50 /^temacs:/s/prefix-args//
51 /^temacs:/s/stamp-oldxmenu//
52 /^      mv \.\/\.gdbinit/d
53 /^      if test -f/c\
54         command.com /c if exist .gdbinit rm -f _gdbinit
55 /^      else mv \.\/\.gdbinit/d
56 /^      #/d
57 /^      cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
58 s/bootstrap-emacs/b-emacs/
59 s/bootstrap-temacs/b-temacs/
60 s/bootstrap-doc/b-doc/
61 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
62 /^      els=/c\
63         ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj}
64 s/echo.*buildobj.lst/dj&/
65 /^      mv -f emacs/a\
66         stubify b-emacs\
67         stubedit b-emacs.exe minstack=1024k\
68         rm -f emacs.exe temacs.exe emacs
69 /^      rm -f/s/\\#/#/
71 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c