Mercurial > freewnn
annotate Makefile.in @ 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.
- fixed usage of libtool in building jlib.V3. newer libtool does not work without mode specifier.
- replaced some libtool related files. (should remove these?)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 23 Jan 2009 16:36:13 +0900 |
parents | c4b8c1d2b943 |
children | 6dcfbd28e807 |
rev | line source |
---|---|
0 | 1 # |
2 # $Id: Makefile.in,v 1.15 2003/05/11 18:22:54 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 ./makerule.mk | |
33 top_builddir = . | |
34 | |
35 WNNDIR = @Wnn@ | |
36 CWNNDIR = @cWnn@ | |
37 KWNNDIR = @kWnn@ | |
38 | |
39 LIB_SUBDIRS = | |
40 SERVER_SUBDIRS = | |
41 | |
42 # PubdicPlusとContrib/dic/gerodicをSERVER_SUBDIRSにまとめたいところだが、 | |
43 # SUBDIRSの処理順をうまくしないとWnn/pubdicplusのmakeに失敗するので仕方 | |
44 # ない | |
45 # JSERVER_SUBDIRS1 = PubdicPlus | |
20
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
17
diff
changeset
|
46 JSERVER_SUBDIRS2 = Contrib/dic/gerodic Contrib/dic/supplement Contrib/dic/ldic Contrib/dic/2ch |
0 | 47 |
48 SUBDIRS= $(WNNDIR) @JSERVER_SUBDIRS2@ $(CWNNDIR) $(KWNNDIR) @SUBDIRS@ | |
49 | |
50 LIBTOOL_DEPS = @LIBTOOL_DEPS@ | |
51 libtool: $(LIBTOOL_DEPS) | |
52 $(SHELL) ./config.status --recheck | |
53 | |
54 World:: | |
55 @echo "" | |
56 @echo "Building Input Method." | |
57 @echo "" | |
58 @date | |
59 @echo "" | |
60 -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak | |
61 $(MAKE) $(MFLAGS) -f Makefile.bak Makefile | |
62 $(MAKE) $(MFLAGS) Makefiles | |
63 $(MAKE) $(MFLAGS) clean | |
64 $(MAKE) $(MFLAGS) includes | |
65 $(MAKE) $(MFLAGS) depend | |
66 $(MAKE) $(MFLAGS) $(WORLDOPTS) | |
67 @echo "" | |
68 @date | |
69 @echo "" | |
70 @echo "Full build of Input Method." | |
71 @echo "" | |
72 | |
73 Everything:: | |
74 @echo "" | |
75 @echo "Rebuilding Input Method." | |
76 @echo "" | |
77 @date | |
78 @echo "" | |
79 -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak | |
80 $(MAKE) $(MFLAGS) -f Makefile.bak Makefile | |
81 $(MAKE) $(MFLAGS) Makefiles | |
82 $(MAKE) $(MFLAGS) includes | |
83 $(MAKE) $(MFLAGS) depend | |
84 $(MAKE) $(MFLAGS) $(WORLDOPTS) | |
85 @echo "" | |
86 @date | |
87 @echo "" | |
88 @echo "Rebuild of Input Method." | |
89 @echo "" | |
90 | |
91 distclean:: | |
92 $(MAKE) clean | |
93 -$(RM) makerule.mk config.h config.status config.cache config.log | |
94 -$(RM) configure.lineno | |
95 -$(RM) libtool | |
96 -$(RM) -r autom4te.cache | |
97 find . -name Makefile -exec $(RM) {} \; | |
98 | |
99 # ---------------------------------------------------------------------- | |
100 # common rules for all Makefiles - do not edit | |
101 | |
102 emptyrule:: | |
103 | |
104 clean:: | |
105 -$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.core "#"* | |
106 | |
107 | |
108 tags:: | |
109 $(TAGS) -w *.[ch] | |
110 $(TAGS) -xw *.[ch] > TAGS | |
111 | |
112 man_keywords:: | |
113 | |
114 # ---------------------------------------------------------------------- | |
115 # rules for building in SUBDIRS - do not edit | |
116 | |
117 install:: | |
118 @for flag in ${MAKEFLAGS} ''; do \ | |
119 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
120 for i in $(SUBDIRS) ;\ | |
121 do \ | |
122 echo "installing" "in $(CURRENT_DIR)/$$i..."; \ | |
123 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
124 DESTDIR=$(DESTDIR) install); \ | |
125 done | |
126 | |
127 install.man:: | |
128 @for flag in ${MAKEFLAGS} ''; do \ | |
129 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
130 for i in $(SUBDIRS) ;\ | |
131 do \ | |
132 echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \ | |
133 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
134 DESTDIR=$(DESTDIR) install.man); \ | |
135 done | |
136 | |
137 install.linkkit:: | |
138 @for flag in ${MAKEFLAGS} ''; do \ | |
139 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
140 for i in $(SUBDIRS) ;\ | |
141 do \ | |
142 echo "installing link kit" "in $(CURRENT_DIR)/$$i..."; \ | |
143 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
144 DESTDIR='$(DESTDIR)' install.linkkit); \ | |
145 done | |
146 | |
147 clean:: | |
148 @for flag in ${MAKEFLAGS} ''; do \ | |
149 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
150 for i in $(SUBDIRS) ;\ | |
151 do \ | |
152 echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \ | |
153 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
154 clean); \ | |
155 done | |
156 | |
157 tags:: | |
158 @for flag in ${MAKEFLAGS} ''; do \ | |
159 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
160 for i in $(SUBDIRS) ;\ | |
161 do \ | |
162 echo "tagging" "in $(CURRENT_DIR)/$$i..."; \ | |
163 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
164 TAGS='$(TAGS)' tags); \ | |
165 done | |
166 | |
167 includes:: | |
168 @for flag in ${MAKEFLAGS} ''; do \ | |
169 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
170 for i in $(SUBDIRS) ;\ | |
171 do \ | |
172 echo including "in $(CURRENT_DIR)/$$i..."; \ | |
173 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
174 includes); \ | |
175 done | |
176 | |
177 # ---------------------------------------------------------------------- | |
178 # dependencies generated by makedepend | |
179 | |
180 # dependencies are in .depend | |
181 |