Mercurial > freewnn
annotate Wnn/jlib.V3/Makefile.in @ 29:35bc1f2e3f14 default tip
minor fix
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 06 Mar 2010 23:55:24 +0900 |
parents | e1aadb6dcbd4 |
children |
rev | line source |
---|---|
0 | 1 # |
2 # $Id: Makefile.in,v 1.10 2003/05/11 18:31:44 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 INSTALL = @INSTALL@ $(INSTALLFLAGS) | |
36 | |
37 INCLUDES = -I$(WNNINCLUDESRC) -I$(TOP) | |
38 DEFINES = $(WNNDEFINES) $(WNNLANGDEF) | |
39 LINTLIBS = | |
40 | |
41 SRC1= jlv3.c | |
42 OBJ1= jlv3.o | |
43 SRC2= $(WNNETCSRC)/gethinsi.c | |
44 OBJ2= gethinsi.o | |
45 SRC3= $(WNNETCSRC)/sstrings.c | |
46 OBJ3= sstrings.o | |
47 SRC4= $(WNNETCSRC)/xutoj.c | |
48 OBJ4= xutoj.o | |
49 LOCAL_RKSRCS= $(WNNROMKANSRC)/rk_bltinfn.c $(WNNROMKANSRC)/rk_main.c $(WNNROMKANSRC)/rk_modread.c $(WNNROMKANSRC)/rk_read.c $(WNNROMKANSRC)/rk_vars.c | |
50 | |
51 LOCAL_RKOBJS= $(WNNROMKANSRC)/rk_bltinfn.o $(WNNROMKANSRC)/rk_main.o $(WNNROMKANSRC)/rk_modread.o $(WNNROMKANSRC)/rk_read.o $(WNNROMKANSRC)/rk_vars.o | |
52 | |
53 LOCAL_ETCSRCS= $(WNNETCSRC)/msg.c $(WNNETCSRC)/yincoding.c $(WNNETCSRC)/py_table.c $(WNNETCSRC)/zy_table.c $(WNNETCSRC)/strings.c $(WNNETCSRC)/bcopy.c $(WNNETCSRC)/mkdir.c | |
54 | |
55 LOCAL_ETCOBJS= $(WNNJLIBSRC)/msg.o $(WNNJLIBSRC)/yincoding.o $(WNNJLIBSRC)/py_table.o $(WNNJLIBSRC)/zy_table.o $(WNNJLIBSRC)/strings.o $(WNNJLIBSRC)/bcopy.o $(WNNJLIBSRC)/mkdir.o | |
56 | |
57 LOCAL_JLIBSRCS= $(WNNJLIBSRC)/js.c $(WNNJLIBSRC)/wnnerrmsg.c $(WNNJLIBSRC)/jl.c | |
58 | |
59 LOCAL_JLIBOBJS= $(WNNJLIBSRC)/js.o $(WNNJLIBSRC)/wnnerrmsg.o $(WNNJLIBSRC)/jl.o | |
60 | |
61 SRCS= $(SRC1) $(SRC2) $(SRC3) $(SRC4) | |
62 OBJS= $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(LOCAL_ETCOBJS) $(LOCAL_RKOBJS) $(LOCAL_JLIBOBJS) | |
63 | |
64 clean:: | |
65 $(RM) -r .libs | |
66 $(RM) *.lo *.la | |
67 | |
68 all:: | |
69 | |
70 includes:: | |
71 | |
72 .c.o: | |
73 $(RM) $@ | |
23
e1aadb6dcbd4
- fixed the build rule for build_stamp.h. keywords in template for hg tip should surrounded by curly braces instead of hash marks.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
74 $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(_NOOP_) $*.c |
0 | 75 |
76 all:: libjd.la | |
77 | |
78 libjd.la: $(OBJS) $(EXTRALIBRARYDEPS) | |
23
e1aadb6dcbd4
- fixed the build rule for build_stamp.h. keywords in template for hg tip should surrounded by curly braces instead of hash marks.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
79 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION) |
0 | 80 |
81 lintlib:: llib-ljd.ln | |
82 | |
83 llib-ljd.ln: $(SRCS) $(EXTRALIBRARYDEPS) | |
84 $(RM) $@ | |
85 $(LINT) $(LINTLIBFLAG)jd $(LINTFLAGS) $(SRCS) | |
86 | |
87 install:: libjd.la | |
88 @if [ -d $(DESTDIR)$(WNNLIBDIR) ]; then set +x; \ | |
89 else (set -x; $(MKDIRHIER) $(DESTDIR)$(WNNLIBDIR)); fi | |
23
e1aadb6dcbd4
- fixed the build rule for build_stamp.h. keywords in template for hg tip should surrounded by curly braces instead of hash marks.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
90 $(LIBTOOL) --mode=install $(INSTALL) $(INSTLIBFLAGS) libjd.la $(DESTDIR)$(WNNLIBDIR) |
0 | 91 |
92 install:: jlib.h | |
93 @if [ -d $(DESTDIR)$(JWNNINCDIR) ]; then set +x; \ | |
94 else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNINCDIR)); fi | |
95 $(INSTALL) $(INSTDATFLAGS) jlib.h $(DESTDIR)$(JWNNINCDIR)/jlib.h | |
96 | |
97 lint: | |
98 $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) | |
99 lint1: | |
100 $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) | |
101 | |
102 $(WNNJLIB):: | |
103 @for flag in ${MAKEFLAGS} ''; do \ | |
104 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
105 for i in $(WNNJLIBSRC) ;\ | |
106 do \ | |
107 echo "making" $(WNNJLIB) "in $(CURRENT_DIR)/$$i..."; \ | |
108 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) all); \ | |
109 done | |
110 | |
111 $(OBJ2) : $(SRC2) | |
23
e1aadb6dcbd4
- fixed the build rule for build_stamp.h. keywords in template for hg tip should surrounded by curly braces instead of hash marks.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
112 $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c |
0 | 113 |
114 $(OBJ3) : $(SRC3) | |
23
e1aadb6dcbd4
- fixed the build rule for build_stamp.h. keywords in template for hg tip should surrounded by curly braces instead of hash marks.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
115 $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c |
0 | 116 |
117 $(OBJ4) : $(SRC4) | |
23
e1aadb6dcbd4
- fixed the build rule for build_stamp.h. keywords in template for hg tip should surrounded by curly braces instead of hash marks.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
118 $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c |
0 | 119 |
120 depend:: .depend | |
121 |