Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / msdos / sedleim.inp
blob07aa3c6d2fb31b011abd6ba3ff9a239c7eb9fc5d
1 # -sedleim.inp-----------------------------------------------------------
2 # Configuration script for leim/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
7 # This file is part of GNU Emacs.
9 # This file is free software; as a special exception, the author gives
10 # unlimited permission to copy and/or distribute it, with or without
11 # modifications, as long as this notice is preserved.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 # ----------------------------------------------------------------------
18 /^SHELL *=/c\
19 SHELL=/xyzzy/command\
20 MAKESHELL=/xyzzy/command
22 /^version=/d
23 /^prefix=/d
24 /^datadir=/s|@datadir@|../..|
25 /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
27 /^INSTALLDIR=/c\
28 INSTALLDIR=.
30 /touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
31 s|\([   ]\)echo|\1djecho|g
32 /^      @true *$/d
34 /RUN_EMACS *=/,/^$/c\
35 export EMACSLOADPATH=${buildlisppath}\
36 RUN_EMACS = ${EMACS} -batch --no-site-file
38 /^MKDIR_P *=/s,@MKDIR_P@,command.com /c md,
40 /^      cd ../c\
41         ${MAKE} -C ../src ${MFLAGS} emacs
43 /if \[ -f $@ \]\; then true/d
44 /fi$/s/; fi$//
46 /^leim-list.el:/,/^$/ {
47         /^      if/d
48         /^      else/,/^        fi/d
49         s|       *|     |
50         /^      --eval/,/; \\$/s|\; \\||
53 /^setwins=/,/^$/d
54 /^\.PHONY: compile-targets/d
55 /^compile-targets:/d
56 /^compile-main:/,/^$/c\
57 compile-main: ${TIT_MISC}\
58         $(MAKE) $(MFLAGS) $(foreach f,$(wildcard ja-dic/*.el),$(basename $f).elc)\
59         $(MAKE) $(MFLAGS) $(foreach f,$(wildcard quail/*.el),$(basename $f).elc)\
62 /^install:/,/^$/c\
63 install: all\
65 /^bootstrap-clean:/,/^$/c\
66 bootstrap-clean: clean\
67         rm -f ja-dic/*.elc quail/*.elc\
70 /^      if test -f/d
71 /^distclean:/,/^$/ {
72         s|\(rm -f Makefile\)|\1 stamp-subdir|