1# FreeWnn is a network-extensible Kana-to-Kanji conversion system.
2# This file is part of FreeWnn.
3#
4# Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
5# Copyright 1991 by Massachusetts Institute of Technology
6# Copyright FreeWnn Project 2001
7#
8# Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
9# Maintainer:  FreeWnn Project   <freewnn@tomo.gr.jp>
10#
11# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2, or (at your option)
14# any later version.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with GNU Emacs; see the file COPYING.  If not, write to the
23# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24
25include @top_srcdir@/makerule.mk
26top_builddir = ../..
27
28INSTALL         = @INSTALL@ $(INSTALLFLAGS)
29
30XWNMOLANGJDS = uumrc.xim 	uumkey.xim
31
32XWNMOMSGS = xim.msg
33
34all::
35
36includes:: $(XWNMOMSGS)
37
38xim.msg:  $(XWNMOSRC)/xi.msg.C
39	$(RM) $@
40	$(LN) $? $@
41
42install::  $(XWNMOLANGJDS)
43	@if [ -d $(DESTDIR)$(LWNNWNNDIR) ]; then set +x; \
44	else (set -x; $(MKDIRHIER) $(DESTDIR)$(LWNNWNNDIR)); fi
45	@for flag in ${MAKEFLAGS} ''; do \
46	case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
47	for i in  $(XWNMOLANGJDS); do \
48	(set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(LWNNWNNDIR)); \
49	done
50
51install::  $(XWNMOMSGS)
52	@if [ -d $(DESTDIR)$(LWNNWNNDIR) ]; then set +x; \
53	else (set -x; $(MKDIRHIER) $(DESTDIR)$(LWNNWNNDIR)); fi
54	@for flag in ${MAKEFLAGS} ''; do \
55	case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
56	for i in  $(XWNMOMSGS); do \
57	(set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(LWNNWNNDIR)); \
58	done
59
60depend::
61
62clean::
63	$(RM) $(XWNMOMSGS)
64