1#
2#   $Id: Makefile.in,v 1.10 2003/05/11 18:31:45 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, 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
32include @top_srcdir@/makerule.mk
33top_builddir = ../..
34
35INCLUDES = -I$(KWNNINCLUDESRC) -I$(TOP)
36DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF)
37
38SRCS= strings.c 	sstrings.c 	bdic.c 	hindo.c 	gethinsi.c 	revdic.c 	pwd.c 	bcopy.c 	xutoj.c 	dic_atojis.c 	msg.c 	yincoding.c 	py_table.c 	zy_table.c 	server_env.c mkdir.c \
39	fake-rfc2553.c
40SRCS2= getopt.c getopt1.c
41
42OBJS= strings.o 	sstrings.o 	bdic.o 	hindo.o 	gethinsi.o 	revdic.o 	pwd.o 	bcopy.o 	xutoj.o 	dic_atojis.o 	msg.o 	yincoding.o 	py_table.o 	zy_table.o 	server_env.o mkdir.o \
43	fake-rfc2553.o
44OBJS2= getopt.o getopt1.o
45
46all::
47
48includes::
49
50.c.o:
51	$(RM) $@
52	$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
53
54clean::
55
56all:: $(SRCS) $(OBJS) $(SRCS2) $(OBJS2)
57
58includes:: $(SRCS) $(SRCS2)
59
60strings.c:  $(WNNETCSRC)/strings.c
61	$(RM) $@
62	$(LN) $? $@
63
64includes:: strings.c
65
66depend:: strings.c
67
68sstrings.c:  $(WNNETCSRC)/sstrings.c
69	$(RM) $@
70	$(LN) $? $@
71
72includes:: sstrings.c
73
74depend:: sstrings.c
75
76bdic.c:  $(WNNETCSRC)/bdic.c
77	$(RM) $@
78	$(LN) $? $@
79
80includes:: bdic.c
81
82depend:: bdic.c
83
84hindo.c:  $(WNNETCSRC)/hindo.c
85	$(RM) $@
86	$(LN) $? $@
87
88includes:: hindo.c
89
90depend:: hindo.c
91
92gethinsi.c:  $(WNNETCSRC)/gethinsi.c
93	$(RM) $@
94	$(LN) $? $@
95
96includes:: gethinsi.c
97
98depend:: gethinsi.c
99
100revdic.c:  $(WNNETCSRC)/revdic.c
101	$(RM) $@
102	$(LN) $? $@
103
104includes:: revdic.c
105
106depend:: revdic.c
107
108pwd.c:  $(WNNETCSRC)/pwd.c
109	$(RM) $@
110	$(LN) $? $@
111
112includes:: pwd.c
113
114depend:: pwd.c
115
116bcopy.c:  $(WNNETCSRC)/bcopy.c
117	$(RM) $@
118	$(LN) $? $@
119
120includes:: bcopy.c
121
122depend:: bcopy.c
123
124xutoj.c:  $(WNNETCSRC)/xutoj.c
125	$(RM) $@
126	$(LN) $? $@
127
128includes:: xutoj.c
129
130depend:: xutoj.c
131
132dic_atojis.c:  $(WNNETCSRC)/dic_atojis.c
133	$(RM) $@
134	$(LN) $? $@
135
136includes:: dic_atojis.c
137
138depend:: dic_atojis.c
139
140msg.c:  $(WNNETCSRC)/msg.c
141	$(RM) $@
142	$(LN) $? $@
143
144includes:: msg.c
145
146depend:: msg.c
147
148yincoding.c:  $(WNNETCSRC)/yincoding.c
149	$(RM) $@
150	$(LN) $? $@
151
152includes:: yincoding.c
153
154depend:: yincoding.c
155
156py_table.c:  $(WNNETCSRC)/py_table.c
157	$(RM) $@
158	$(LN) $? $@
159
160includes:: py_table.c
161
162depend:: py_table.c
163
164zy_table.c:  $(WNNETCSRC)/zy_table.c
165	$(RM) $@
166	$(LN) $? $@
167
168includes:: zy_table.c
169
170depend:: zy_table.c
171
172server_env.c:  $(WNNETCSRC)/server_env.c
173	$(RM) $@
174	$(LN) $? $@
175
176includes:: server_env.c
177
178depend:: server_env.c
179
180mkdir.c:  $(WNNETCSRC)/mkdir.c
181	$(RM) $@
182	$(LN) $? $@
183
184includes:: mkdir.c
185
186depend:: mkdir.c
187
188getopt.c: $(WNNETCSRC)/getopt.c
189	$(RM) $@
190	$(LN) $? $@
191
192includes:: getopt.c
193
194depend:: getopt.c
195
196getopt1.c: $(WNNETCSRC)/getopt1.c
197	$(RM) $@
198	$(LN) $? $@
199
200includes:: getopt1.c
201
202depend:: getopt1.c
203
204fake-rfc2553.c: $(WNNETCSRC)/fake-rfc2553.c
205	$(RM) $@
206	$(LN) $? $@
207
208includes:: fake-rfc2553.c
209
210depend:: fake-rfc2553.c
211
212depend:: .depend
213
214clean::
215
216depend:: .depend
217
218clean::
219	$(RM) $(SRCS)
220	$(RM) $(SRCS2)
221	-$(RM) $(OBJS)
222	-$(RM) $(OBJS2)
223