0
|
1 #
|
|
2 # $Id: Makefile.in,v 1.11 2003/05/11 18:31:46 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, 2002, 2003
|
|
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@
|
|
36
|
|
37 HEADERS = jllib.h jslib.h msg.h rk_spclval.h wnnerror.h commonhd.h cplib.h
|
|
38 LINKS = wnn_config.h copyright.h demcom.h hinsi_file.h jd_sock.h jdata.h \
|
|
39 jh.h jlib.h wnn_string.h wnn_os.h hinsi.h ansidecl.h
|
|
40 LINKS2 = getopt.h
|
|
41
|
|
42 all:: $(HEADERS) $(LINKS) $(LINKS2)
|
|
43
|
|
44 includes:: $(HEADERS) $(LINKS) $(LINKS2)
|
|
45
|
|
46 commonhd.h: $(WNNINCLUDESRC)/commonhd.h
|
|
47 $(RM) $@
|
|
48 $(LN) $? $@
|
|
49
|
|
50 includes:: commonhd.h
|
|
51
|
|
52 depend:: commonhd.h
|
|
53
|
|
54 clean::
|
|
55 $(RM) commonhd.h
|
|
56
|
|
57 wnn_config.h: $(WNNINCLUDESRC)/wnn_config.h
|
|
58 $(RM) $@
|
|
59 $(LN) $? $@
|
|
60
|
|
61 includes:: wnn_config.h
|
|
62
|
|
63 depend:: wnn_config.h
|
|
64
|
|
65 clean::
|
|
66 $(RM) wnn_config.h
|
|
67
|
|
68 copyright.h: $(WNNINCLUDESRC)/copyright.h
|
|
69 $(RM) $@
|
|
70 $(LN) $? $@
|
|
71
|
|
72 includes:: copyright.h
|
|
73
|
|
74 depend:: copyright.h
|
|
75
|
|
76 clean::
|
|
77 $(RM) copyright.h
|
|
78
|
|
79 demcom.h: $(WNNINCLUDESRC)/demcom.h
|
|
80 $(RM) $@
|
|
81 $(LN) $? $@
|
|
82
|
|
83 includes:: demcom.h
|
|
84
|
|
85 depend:: demcom.h
|
|
86
|
|
87 clean::
|
|
88 $(RM) demcom.h
|
|
89
|
|
90 hinsi_file.h: $(WNNINCLUDESRC)/hinsi_file.h
|
|
91 $(RM) $@
|
|
92 $(LN) $? $@
|
|
93
|
|
94 includes:: hinsi_file.h
|
|
95
|
|
96 depend:: hinsi_file.h
|
|
97
|
|
98 clean::
|
|
99 $(RM) hinsi_file.h
|
|
100
|
|
101 jd_sock.h: $(WNNINCLUDESRC)/jd_sock.h
|
|
102 $(RM) $@
|
|
103 $(LN) $? $@
|
|
104
|
|
105 includes:: jd_sock.h
|
|
106
|
|
107 depend:: jd_sock.h
|
|
108
|
|
109 clean::
|
|
110 $(RM) jd_sock.h
|
|
111
|
|
112 jdata.h: $(WNNINCLUDESRC)/jdata.h
|
|
113 $(RM) $@
|
|
114 $(LN) $? $@
|
|
115
|
|
116 includes:: jdata.h
|
|
117
|
|
118 depend:: jdata.h
|
|
119
|
|
120 clean::
|
|
121 $(RM) jdata.h
|
|
122
|
|
123 jh.h: $(WNNINCLUDESRC)/jh.h
|
|
124 $(RM) $@
|
|
125 $(LN) $? $@
|
|
126
|
|
127 includes:: jh.h
|
|
128
|
|
129 depend:: jh.h
|
|
130
|
|
131 clean::
|
|
132 $(RM) jh.h
|
|
133
|
|
134 jlib.h: $(WNNINCLUDESRC)/jlib.h
|
|
135 $(RM) $@
|
|
136 $(LN) $? $@
|
|
137
|
|
138 includes:: jlib.h
|
|
139
|
|
140 depend:: jlib.h
|
|
141
|
|
142 clean::
|
|
143 $(RM) jlib.h
|
|
144
|
|
145 jllib.h: $(WNNINCLUDESRC)/jllib.h
|
|
146 $(RM) $@
|
|
147 $(LN) $? $@
|
|
148
|
|
149 includes:: jllib.h
|
|
150
|
|
151 depend:: jllib.h
|
|
152
|
|
153 clean::
|
|
154 $(RM) jllib.h
|
|
155
|
|
156 jslib.h: $(WNNINCLUDESRC)/jslib.h
|
|
157 $(RM) $@
|
|
158 $(LN) $? $@
|
|
159
|
|
160 includes:: jslib.h
|
|
161
|
|
162 depend:: jslib.h
|
|
163
|
|
164 clean::
|
|
165 $(RM) jslib.h
|
|
166
|
|
167 msg.h: $(WNNINCLUDESRC)/msg.h
|
|
168 $(RM) $@
|
|
169 $(LN) $? $@
|
|
170
|
|
171 includes:: msg.h
|
|
172
|
|
173 depend:: msg.h
|
|
174
|
|
175 clean::
|
|
176 $(RM) msg.h
|
|
177
|
|
178 rk_spclval.h: $(WNNINCLUDESRC)/rk_spclval.h
|
|
179 $(RM) $@
|
|
180 $(LN) $? $@
|
|
181
|
|
182 includes:: rk_spclval.h
|
|
183
|
|
184 depend:: rk_spclval.h
|
|
185
|
|
186 clean::
|
|
187 $(RM) rk_spclval.h
|
|
188
|
|
189 wnn_string.h: $(WNNINCLUDESRC)/wnn_string.h
|
|
190 $(RM) $@
|
|
191 $(LN) $? $@
|
|
192
|
|
193 includes:: wnn_string.h
|
|
194
|
|
195 depend:: wnn_string.h
|
|
196
|
|
197 clean::
|
|
198 $(RM) wnn_string.h
|
|
199
|
|
200 wnnerror.h: $(WNNINCLUDESRC)/wnnerror.h
|
|
201 $(RM) $@
|
|
202 $(LN) $? $@
|
|
203
|
|
204 includes:: wnnerror.h
|
|
205
|
|
206 depend:: wnnerror.h
|
|
207
|
|
208 clean::
|
|
209 $(RM) wnnerror.h
|
|
210
|
|
211 cplib.h: $(WNNINCLUDESRC)/cplib.h
|
|
212 $(RM) $@
|
|
213 $(LN) $? $@
|
|
214
|
|
215 includes:: cplib.h
|
|
216
|
|
217 depend:: cplib.h
|
|
218
|
|
219 clean::
|
|
220 $(RM) cplib.h
|
|
221
|
|
222 wnn_os.h: $(WNNINCLUDESRC)/wnn_os.h
|
|
223 $(RM) $@
|
|
224 $(LN) $? $@
|
|
225
|
|
226 includes:: wnn_os.h
|
|
227
|
|
228 depend:: wnn_os.h
|
|
229
|
|
230 clean::
|
|
231 $(RM) wnn_os.h
|
|
232
|
|
233 hinsi.h: $(WNNINCLUDESRC)/hinsi.h
|
|
234 $(RM) $@
|
|
235 $(LN) $? $@
|
|
236
|
|
237 includes:: hinsi.h
|
|
238
|
|
239 depend:: hinsi.h
|
|
240
|
|
241 clean::
|
|
242 $(RM) hinsi.h
|
|
243
|
|
244 ansidecl.h: $(WNNINCLUDESRC)/ansidecl.h
|
|
245 $(RM) $@
|
|
246 $(LN) $? $@
|
|
247
|
|
248 includes:: ansidecl.h
|
|
249
|
|
250 depend:: ansidecl.h
|
|
251
|
|
252 getopt.h: $(WNNINCLUDESRC)/getopt.h
|
|
253 $(RM) $@
|
|
254 $(LN) $? $@
|
|
255
|
|
256 includes:: getopt.h
|
|
257
|
|
258 depend:: getopt.h
|
|
259
|
|
260 # 'clean' entry is not added because last
|
|
261 # 'clean' entry (action = '$(RM) $(LINKS)') does same thing. (aono)
|
|
262
|
|
263 instlib:: install
|
|
264
|
|
265 install:: $(HEADERS)
|
|
266 @if [ -d $(DESTDIR)$(KWNNINCDIR) ]; then set +x; \
|
|
267 else (set -x; $(MKDIRHIER) $(DESTDIR)$(KWNNINCDIR)); fi
|
|
268 @cont=0; \
|
|
269 for flag in ${MAKEFLAGS} ''; do \
|
|
270 case "$$flag" in *=*) ;; *[ik]*) cont=1;; esac; done; \
|
|
271 for i in $(HEADERS) ; do \
|
|
272 (set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i $(DESTDIR)$(KWNNINCDIR)) \
|
|
273 || if [ $$cont -eq 0 ]; then exit 1; fi; \
|
|
274 done
|
|
275
|
|
276
|
|
277 depend::
|
|
278
|
|
279 clean::
|
|
280 $(RM) $(HEADERS)
|
|
281 $(RM) $(LINKS)
|
|
282 $(RM) $(LINKS2)
|