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