0
|
1 #
|
|
2 # $Id: Makefile.in,v 1.8 2001/08/14 13:43:22 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 LIB_MT_DEFINES = LibraryMTDefines
|
|
36
|
|
37 INCLUDES = -I$(KWNNINCLUDESRC) -I$(TOP)
|
|
38 DEFINES = $(KWNNDEFINES) -DWNNDEFAULT -DSUPPORT_TWODIGIT_FUNCTIONS
|
|
39
|
|
40 LINKS = cvt_head.h cvt_key.c cvt_read.c
|
|
41
|
|
42 SRCS= cvt_key.c cvt_read.c
|
|
43
|
|
44 OBJS= cvt_key.o cvt_read.o
|
|
45
|
|
46 all::
|
|
47
|
|
48 includes::
|
|
49
|
|
50 .c.o:
|
|
51 $(RM) $@
|
|
52 $(CC) -c $(CFLAGS) $(_NOOP_) $*.c
|
|
53
|
|
54 clean::
|
|
55
|
|
56 includes:: $(LINKS)
|
|
57
|
|
58 cvt_head.h: $(WNNCONVSRC)/cvt_head.h
|
|
59 $(RM) $@
|
|
60 $(LN) $? $@
|
|
61
|
|
62 includes:: cvt_head.h
|
|
63
|
|
64 depend:: cvt_head.h
|
|
65
|
|
66 clean::
|
|
67 $(RM) cvt_head.h
|
|
68
|
|
69 cvt_key.c: $(WNNCONVSRC)/cvt_key.c
|
|
70 $(RM) $@
|
|
71 $(LN) $? $@
|
|
72
|
|
73 includes:: cvt_key.c
|
|
74
|
|
75 depend:: cvt_key.c
|
|
76
|
|
77 clean::
|
|
78 $(RM) cvt_key.c
|
|
79
|
|
80 cvt_read.c: $(WNNCONVSRC)/cvt_read.c
|
|
81 $(RM) $@
|
|
82 $(LN) $? $@
|
|
83
|
|
84 includes:: cvt_read.c
|
|
85
|
|
86 depend:: cvt_read.c
|
|
87
|
|
88 clean::
|
|
89 $(RM) cvt_read.c
|
|
90
|
|
91 all:: $(LINKS) libconvkey.a
|
|
92
|
|
93 libconvkey.a: $(OBJS) $(EXTRALIBRARYDEPS)
|
|
94 $(RM) $@
|
|
95 $(AR) $@ $(OBJS)
|
|
96 $(RANLIB) $@
|
|
97
|
|
98 lintlib:: llib-lconvkey.ln
|
|
99
|
|
100 llib-lconvkey.ln: $(SRCS) $(EXTRALIBRARYDEPS)
|
|
101 $(RM) $@
|
|
102 $(LINT) $(LINTLIBFLAG)convkey $(LINTFLAGS) $(SRCS)
|
|
103
|
|
104 depend:: .depend
|
|
105
|
|
106 lint:
|
|
107 $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
|
|
108 lint1:
|
|
109 $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
|
|
110
|
|
111 clean::
|
|
112 $(RM) $(LINKS)
|