1 # -sedleim.inp-----------------------------------------------------------
2 # Configuration script for leim/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1999-2012 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 # ----------------------------------------------------------------------
20 MAKESHELL=/xyzzy/command
24 /^datadir=/s|@datadir@|../..|
25 /^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
30 /touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
31 s|\([ ]\)echo|\1djecho|g
35 export EMACSLOADPATH=${buildlisppath}\
36 RUN_EMACS = ${EMACS} -batch --no-site-file
39 ${MAKE} -C ../src ${MFLAGS} emacs
41 /if \[ -f $@ \]\; then true/d
44 /^leim-list.el:/,/^$/ {
48 /^ --eval/,/; \\$/s|\; \\||
52 /^\.PHONY: compile-targets/d
54 /^compile-main:/,/^$/c\
55 compile-main: ${TIT_MISC}\
56 $(MAKE) $(MFLAGS) $(foreach f,$(wildcard ja-dic/*.el),$(basename $f).elc)\
57 $(MAKE) $(MFLAGS) $(foreach f,$(wildcard quail/*.el),$(basename $f).elc)\
63 /^bootstrap-clean:/,/^$/c\
64 bootstrap-clean: clean\
65 rm -f ja-dic/*.elc quail/*.elc\
70 s|\(rm -f Makefile\)|\1 stamp-subdir|