0
|
1 #
|
|
2 # $Id: Makefile.in,v 1.9 2003/05/11 18:31:37 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
|
|
32 include @top_srcdir@/makerule.mk
|
|
33 top_builddir = ../..
|
|
34
|
|
35 INCLUDES = -I$(WNNINCLUDESRC) -I$(TOP)
|
|
36 DEFINES = $(WNNDEFINES) -DWNNDEFAULT $(WNNLANGDEF) -DSUPPORT_TWODIGIT_FUNCTIONS
|
|
37
|
|
38 SRCS= cvt_key.c cvt_read.c
|
|
39
|
|
40 OBJS= cvt_key.o cvt_read.o
|
|
41
|
|
42 all::
|
|
43
|
|
44 includes::
|
|
45
|
|
46 .c.o:
|
|
47 $(RM) $@
|
|
48 $(CC) -c $(CFLAGS) $(_NOOP_) $*.c
|
|
49
|
|
50 clean::
|
|
51
|
|
52 all:: libconvkey.a
|
|
53
|
|
54 libconvkey.a: $(OBJS) $(EXTRALIBRARYDEPS)
|
|
55 $(RM) $@
|
|
56 $(AR) $@ $(OBJS)
|
|
57 $(RANLIB) $@
|
|
58
|
|
59 lintlib:: llib-lconvkey.ln
|
|
60
|
|
61 llib-lconvkey.ln: $(SRCS) $(EXTRALIBRARYDEPS)
|
|
62 $(RM) $@
|
|
63 $(LINT) $(LINTLIBFLAG)convkey $(LINTFLAGS) $(SRCS)
|
|
64
|
|
65 lint:
|
|
66 $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
|
|
67 lint1:
|
|
68 $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
|
|
69
|
|
70 depend:: .depend
|
|
71
|
|
72 # ----------------------------------------------------------------------
|
|
73 # common rules for all Makefiles - do not edit
|
|
74
|
|
75 .c.i:
|
|
76 $(RM) $@
|
|
77 $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
|
|
78
|
|
79 emptyrule::
|
|
80
|
|
81 clean::
|
|
82 $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.core "#"*
|
|
83
|
|
84 tags::
|
|
85 $(TAGS) -w *.[ch]
|
|
86 $(TAGS) -xw *.[ch] > TAGS
|
|
87
|
|
88 man_keywords::
|
|
89
|
|
90 # ----------------------------------------------------------------------
|
|
91 # empty rules for directories that do not have SUBDIRS - do not edit
|
|
92
|
|
93 install::
|
|
94 @echo "install in $(CURRENT_DIR) done"
|
|
95
|
|
96 install.man::
|
|
97 @echo "install.man in $(CURRENT_DIR) done"
|
|
98
|
|
99 install.linkkit::
|
|
100 @echo "install.linkkit in $(CURRENT_DIR) done"
|
|
101
|
|
102 Makefiles::
|
|
103
|
|
104 includes::
|
|
105
|
|
106 depend::
|
|
107
|
|
108 # ----------------------------------------------------------------------
|
|
109 # dependencies generated by makedepend
|
|
110
|
|
111 # dependencies are in .depend
|
|
112
|