(custom-group-value-create): Insert some
[emacs.git] / msdos / sed1v2.inp
blob46251fc39aac67cfbfd684e64ca53d2821c5ae41
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, 2009  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=1024k
25 /^      LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
26 /-batch -l loadup/a\
27         stubify emacs\
28         stubedit emacs.exe minstack=2048k
29 /^MAKE *=/s/^/# /
30 /^SHELL *=/s/^/# /
31 /^srcdir *=/s/@[^@\n]*@/./
32 /^VPATH *=/s/@[^@\n]*@/./
33 /^CC *=/s/@[^@\n]*@/gcc/
34 /^CPP *=/s/@[^@\n]*@/gcc -e/
35 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
36 /^ALL_CFLAGS *=/s/@[^@\n]*@//g
37 /^CPPFLAGS *=/s/@[^@\n]*@//
38 /^LDFLAGS *=/s/@[^@\n]*@//
39 /^LIBS *=/s/@[^@\n]*@//
40 /^LIBES *=/,/^ *$/ {
41   s/@[^@\n]*@//g
43 /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
44 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
45 /^LIBSOUND *=/s/@LIBSOUND@//
46 /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@//
47 /^RSVG_LIBS *=/s/@RSVG_LIBS@//
48 /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@//
49 /^EXEEXT *=/s/@EXEEXT@/.exe/
50 /^version *=/s/@[^@\n]*@//
51 /^LN_S *=/s/@[^@\n]*@/ln -s/
52 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
53 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
54 /^@SET_MAKE@$/s/@SET_MAKE@//
55 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
56 /^.\${libsrc}make-doc/s!>.*$!!
57 /^[\f    ]*$/d
58 /^temacs:/s/prefix-args//
59 /^temacs:/s/stamp-oldxmenu//
60 /^RUN_TEMACS *=/s|`/bin/pwd`|.|
61 /^      mv \.\/\.gdbinit/d
62 /^      if test -f/c\
63         command.com /c if exist .gdbinit rm -f _gdbinit
64 /^      else mv \.\/\.gdbinit/d
65 /^      #/d
66 /^      cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
67 /^      @: /d
68 /^      -\{0,1\}ln -/s/ln -f/cp -pf/
69 /^[     ]touch /s/touch/djecho $@ >/
70 s/bootstrap-emacs/b-emacs/
71 s/bootstrap-temacs/b-temacs/
72 s/bootstrap-doc/b-doc/
73 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
74 s/echo.*buildobj.lst/dj&/
75 / --load loadup bootstrap/i\
76         stubedit temacs.exe minstack=1024k
77 / --load loadup bootstrap/a\
78         stubify emacs
79 /^      mv -f emacs/a\
80         stubedit b-emacs.exe minstack=3072k\
81         djecho bootlisp > bootlisp
82 /^      -\{0,1\}rm -f/s/\\#/#/
83 /^      @\{0,1\}cd ..\/lisp; /s|$|\; cd ../src|
85 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c