0
|
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
|
|
25 include @top_srcdir@/makerule.mk
|
|
26 top_builddir = ../..
|
|
27
|
|
28 INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
|
29
|
|
30 XWNMOLANGJDS = uumrc.xim uumrc_p.xim uumrc_z.xim uumkey.xim uumkey_p.xim
|
|
31
|
|
32 XWNMOMSGS = xim.msg xjutil.msg
|
|
33
|
|
34 all::
|
|
35
|
|
36 includes:: $(XWNMOMSGS)
|
|
37
|
|
38 xim.msg: $(XWNMOSRC)/xi.msg.zh_CN
|
|
39 $(RM) $@
|
|
40 $(LN) $? $@
|
|
41
|
|
42 xjutil.msg: $(XJUTILSRC)/xj.msg.zh_CN
|
|
43 $(RM) $@
|
|
44 $(LN) $? $@
|
|
45
|
|
46 install:: $(XWNMOLANGJDS)
|
|
47 @if [ -d $(DESTDIR)$(CWNNWNNDIR) ]; then set +x; \
|
|
48 else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNWNNDIR)); fi
|
|
49 @for flag in ${MAKEFLAGS} ''; do \
|
|
50 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
51 for i in $(XWNMOLANGJDS); do \
|
|
52 (set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(CWNNWNNDIR)); \
|
|
53 done
|
|
54
|
|
55 install:: $(XWNMOMSGS)
|
|
56 @if [ -d $(DESTDIR)$(CWNNWNNDIR) ]; then set +x; \
|
|
57 else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNWNNDIR)); fi
|
|
58 @for flag in ${MAKEFLAGS} ''; do \
|
|
59 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
60 for i in $(XWNMOMSGS); do \
|
|
61 (set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(CWNNWNNDIR)); \
|
|
62 done
|
|
63
|
|
64 depend::
|
|
65
|
|
66 clean::
|
|
67 $(RM) $(XWNMOMSGS)
|