]> code.delx.au - gnu-emacs/blobdiff - leim/Makefile.in
* nt/configure.bat: Disable it.
[gnu-emacs] / leim / Makefile.in
index 04f64c0ce0b2c221cbc1ff12e9635ccf682d886a..b04eb6c2e77e45c14c7036a6f918e8aeccfd65b2 100644 (file)
@@ -1,6 +1,6 @@
-# Makefile for leim subdirectory in GNU Emacs.
+### @configure_input@
 
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 #   2006, 2007, 2008, 2009, 2010, 2011
 #   National Institute of Advanced Industrial Science and Technology (AIST)
@@ -82,6 +82,7 @@ TIT_MISC=${CHINESE_TIT} ${MISC}
        @${RUN_EMACS} -l ${buildlisppath}/international/quail -f batch-byte-compile $<
 
 all: leim-list.el compile-main
+.PHONY: all
 
 TIT_SOURCES= \
        ${srcdir}/CXTERM-DIC/4Corner.tit \
@@ -139,10 +140,16 @@ leim-list.el: ${TIT_MISC} ${srcdir}/leim-ext.el
            --eval "(update-leim-list-file \".\")" ; \
        else \
          ${RUN_EMACS} -l ${buildlisppath}/international/quail \
-           --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \
+           --eval "(update-leim-list-file \".\" (unmsys--file-name \"${srcdir}\"))" ; \
        fi
        sed -n '/^[^;]/ p' < ${srcdir}/leim-ext.el >> $@
 
+$(srcdir)/ja-dic/ja-dic.el: $(srcdir)/SKK-DIC/SKK-JISYO.L
+       @$(MKDIR_P) $(srcdir)/ja-dic
+       $(RUN_EMACS) -batch -l $(buildlisppath)/international/ja-dic-cnv \
+         -f batch-skkdic-convert -dir "$(srcdir)/ja-dic" \
+         "$(srcdir)/SKK-DIC/SKK-JISYO.L"
+
 ## Following adapted from lisp/Makefile.in.
 setwins=wins="${srcdir}/ja-dic quail"; \
        [ `cd ${srcdir} && /bin/pwd` != `/bin/pwd` ] && \
@@ -154,7 +161,8 @@ compile-targets: $(TARGETS)
 
 # Compile all the Elisp files that need it.  Beware: it approximates
 # `no-byte-compile', so watch out for false-positives!
-compile-main: ${TIT_MISC}
+.PHONY: compile-main
+compile-main: ${TIT_MISC} $(srcdir)/ja-dic/ja-dic.el
        @($(setwins); \
        els=`echo "$$wins " | sed -e 's| |/*.el |g'`; \
        for el in $$els; do \
@@ -166,6 +174,8 @@ compile-main: ${TIT_MISC}
          $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \
        done
 
+.PHONY: clean mostlyclean bootstrap-clean distclean maintainer-clean extraclean
+
 clean mostlyclean:
        rm -f ${TIT_MISC} ${TIT_MISC:.el=.elc} \
                leim-list.el changed.tit changed.misc
@@ -189,4 +199,4 @@ extraclean: maintainer-clean
 
 check-declare:
        $(RUN_EMACS) -l $(buildlisppath)/emacs-lisp/check-declare \
-         --eval '(check-declare-directory "$(srcdir)")'
+         --eval '(check-declare-directory (unmsys--file-name "$(srcdir)"))'