0
|
1 #
|
|
2 # $Id: Makefile.in,v 1.7 2001/08/14 13:43:21 hiroo Exp $
|
|
3 #
|
|
4
|
|
5 #
|
|
6 # FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
7 # This file is part of FreeWnn.
|
|
8 #
|
|
9 # Copyright Kyoto University Research Institute for Mathematical Sciences
|
|
10 # 1987, 1988, 1989, 1990, 1991, 1992
|
|
11 # Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
12 # Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
|
13 # Copyright FreeWnn Project 1999, 2000, 2001
|
|
14 #
|
|
15 # Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
|
16 #
|
|
17 # This program is free software; you can redistribute it and/or modify
|
|
18 # it under the terms of the GNU General Public License as published by
|
|
19 # the Free Software Foundation; either version 2 of the License, or
|
|
20 # (at your option) any later version.
|
|
21 #
|
|
22 # This program is distributed in the hope that it will be useful,
|
|
23 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
25 # GNU General Public License for more details.
|
|
26 #
|
|
27 # You should have received a copy of the GNU General Public License
|
|
28 # along with this program; if not, write to the Free Software
|
|
29 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
30 #
|
|
31
|
|
32 include @top_srcdir@/makerule.mk
|
|
33 top_builddir = ../..
|
|
34
|
|
35 INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
|
36
|
|
37 SUBDIRS = rk rk_p rk_z
|
|
38
|
|
39 SERVERCDS = cserverrc cixing.data
|
|
40
|
|
41 CLIENTCDS = uum.msg uumkey uumkey_e uumkey_p uumrc uumrc_p uumrc_z wnnstat.msg
|
|
42
|
|
43 CLIENTCDS2 = cvt_key_empty cvt_key_tbl cvt_key_tbl.ST cvt_key_tbl.gm cvt_key_tbl.kt cvt_key_tbl.mv cvt_key_tbl.vt
|
|
44
|
|
45 LIBCDS1 = cixing.data libwnn.msg wnnenvrc wnnenvrc_Qi wnnenvrc_QiR wnnenvrc_R wnnenvrc_Wu wnnenvrc_WuR
|
|
46
|
|
47 LIBCDS2 = serverdefs
|
|
48
|
|
49 LINKS = $(CLIENTSCDS2) $(LIBCDS2)
|
|
50
|
|
51 all:: $(LINKS)
|
|
52
|
|
53 includes:: $(LINKS)
|
|
54
|
|
55 cvt_key_empty: $(WNNCNVFILEDIR)/cvt_key_empty
|
|
56 $(RM) $@
|
|
57 $(LN) $? $@
|
|
58
|
|
59 includes:: cvt_key_empty
|
|
60
|
|
61 depend:: cvt_key_empty
|
|
62
|
|
63 clean::
|
|
64 $(RM) cvt_key_empty
|
|
65
|
|
66 cvt_key_tbl: $(WNNCNVFILEDIR)/cvt_key_tbl
|
|
67 $(RM) $@
|
|
68 $(LN) $? $@
|
|
69
|
|
70 includes:: cvt_key_tbl
|
|
71
|
|
72 depend:: cvt_key_tbl
|
|
73
|
|
74 clean::
|
|
75 $(RM) cvt_key_tbl
|
|
76
|
|
77 cvt_key_tbl.ST: $(WNNCNVFILEDIR)/cvt_key_tbl.ST
|
|
78 $(RM) $@
|
|
79 $(LN) $? $@
|
|
80
|
|
81 includes:: cvt_key_tbl.ST
|
|
82
|
|
83 depend:: cvt_key_tbl.ST
|
|
84
|
|
85 clean::
|
|
86 $(RM) cvt_key_tbl.ST
|
|
87
|
|
88 cvt_key_tbl.gm: $(WNNCNVFILEDIR)/cvt_key_tbl.gm
|
|
89 $(RM) $@
|
|
90 $(LN) $? $@
|
|
91
|
|
92 includes:: cvt_key_tbl.gm
|
|
93
|
|
94 depend:: cvt_key_tbl.gm
|
|
95
|
|
96 clean::
|
|
97 $(RM) cvt_key_tbl.gm
|
|
98
|
|
99 cvt_key_tbl.kt: $(WNNCNVFILEDIR)/cvt_key_tbl.kt
|
|
100 $(RM) $@
|
|
101 $(LN) $? $@
|
|
102
|
|
103 includes:: cvt_key_tbl.kt
|
|
104
|
|
105 depend:: cvt_key_tbl.kt
|
|
106
|
|
107 clean::
|
|
108 $(RM) cvt_key_tbl.kt
|
|
109
|
|
110 cvt_key_tbl.mv: $(WNNCNVFILEDIR)/cvt_key_tbl.mv
|
|
111 $(RM) $@
|
|
112 $(LN) $? $@
|
|
113
|
|
114 includes:: cvt_key_tbl.mv
|
|
115
|
|
116 depend:: cvt_key_tbl.mv
|
|
117
|
|
118 clean::
|
|
119 $(RM) cvt_key_tbl.mv
|
|
120
|
|
121 cvt_key_tbl.vt: $(WNNCNVFILEDIR)/cvt_key_tbl.vt
|
|
122 $(RM) $@
|
|
123 $(LN) $? $@
|
|
124
|
|
125 includes:: cvt_key_tbl.vt
|
|
126
|
|
127 depend:: cvt_key_tbl.vt
|
|
128
|
|
129 clean::
|
|
130 $(RM) cvt_key_tbl.vt
|
|
131
|
|
132 serverdefs: $(WNNJDSRC)/serverdefs
|
|
133 $(RM) $@
|
|
134 $(LN) $? $@
|
|
135
|
|
136 includes:: serverdefs
|
|
137
|
|
138 depend:: serverdefs
|
|
139
|
|
140 clean::
|
|
141 $(RM) serverdefs
|
|
142
|
|
143 install::
|
|
144 @for flag in ${MAKEFLAGS} ''; do \
|
|
145 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
146 for i in $(CWNNWNNDIR); do if [ -d $(DESTDIR)$$i ]; then \
|
|
147 set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi; \
|
|
148 done
|
|
149
|
|
150 install:: $(SERVERCDS)
|
|
151 @if [ -d $(DESTDIR)$(CWNNWNNDIR) ]; then set +x; \
|
|
152 else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNWNNDIR)); fi
|
|
153 @for flag in ${MAKEFLAGS} ''; do \
|
|
154 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
155 for i in $(SERVERCDS); do \
|
|
156 (set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(CWNNWNNDIR)); \
|
|
157 done
|
|
158
|
|
159 install:: $(CLIENTCDS)
|
|
160 @if [ -d $(DESTDIR)$(CWNNWNNDIR) ]; then set +x; \
|
|
161 else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNWNNDIR)); fi
|
|
162 @for flag in ${MAKEFLAGS} ''; do \
|
|
163 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
164 for i in $(CLIENTCDS); do \
|
|
165 (set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(CWNNWNNDIR)); \
|
|
166 done
|
|
167
|
|
168 install:: $(CLIENTCDS2)
|
|
169 @if [ -d $(DESTDIR)$(WNNWNNDIR) ]; then set +x; \
|
|
170 else (set -x; $(MKDIRHIER) $(DESTDIR)$(WNNWNNDIR)); fi
|
|
171 @for flag in ${MAKEFLAGS} ''; do \
|
|
172 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
173 for i in $(CLIENTCDS2); do \
|
|
174 (set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(WNNWNNDIR)); \
|
|
175 done
|
|
176
|
|
177 install:: $(LIBCDS1)
|
|
178 @if [ -d $(DESTDIR)$(CWNNWNNDIR) ]; then set +x; \
|
|
179 else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNWNNDIR)); fi
|
|
180 @for flag in ${MAKEFLAGS} ''; do \
|
|
181 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
182 for i in $(LIBCDS1); do \
|
|
183 (set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(CWNNWNNDIR)); \
|
|
184 done
|
|
185
|
|
186 install:: $(LIBCDS2)
|
|
187 @if [ -d $(DESTDIR)$(WNNWNNDIR) ]; then set +x; \
|
|
188 else (set -x; $(MKDIRHIER) $(DESTDIR)$(WNNWNNDIR)); fi
|
|
189 @for flag in ${MAKEFLAGS} ''; do \
|
|
190 case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
|
191 for i in $(LIBCDS2); do \
|
|
192 (set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(WNNWNNDIR)); \
|
|
193 done
|
|
194
|
|
195 depend::
|
|
196
|
|
197 clean::
|
|
198 $(RM) $(LINKS)
|