Mercurial > freewnn
annotate Makefile.in @ 26:6dcfbd28e807
- added build target; maintainer-clean
- removed even more generated file
- now autogen.sh invokes libtoolize
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Sat, 06 Mar 2010 07:58:49 +0900 |
| parents | c4b8c1d2b943 |
| children |
| 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 | |
|
26
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
99 maintainer-clean:: |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
100 $(MAKE) clean |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
101 -$(RM) makerule.mk config.h config.status config.cache config.log |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
102 -$(RM) configure.lineno configure |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
103 -$(RM) libtool ltmain.sh aclocal.m4 |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
104 -$(RM) -r autom4te.cache |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
105 -$(RM) -r m4 |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
106 find . -name Makefile -exec $(RM) {} \; |
|
6dcfbd28e807
- added build target; maintainer-clean
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
20
diff
changeset
|
107 |
| 0 | 108 # ---------------------------------------------------------------------- |
| 109 # common rules for all Makefiles - do not edit | |
| 110 | |
| 111 emptyrule:: | |
| 112 | |
| 113 clean:: | |
| 114 -$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.core "#"* | |
| 115 | |
| 116 | |
| 117 tags:: | |
| 118 $(TAGS) -w *.[ch] | |
| 119 $(TAGS) -xw *.[ch] > TAGS | |
| 120 | |
| 121 man_keywords:: | |
| 122 | |
| 123 # ---------------------------------------------------------------------- | |
| 124 # rules for building in SUBDIRS - do not edit | |
| 125 | |
| 126 install:: | |
| 127 @for flag in ${MAKEFLAGS} ''; do \ | |
| 128 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
| 129 for i in $(SUBDIRS) ;\ | |
| 130 do \ | |
| 131 echo "installing" "in $(CURRENT_DIR)/$$i..."; \ | |
| 132 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
| 133 DESTDIR=$(DESTDIR) install); \ | |
| 134 done | |
| 135 | |
| 136 install.man:: | |
| 137 @for flag in ${MAKEFLAGS} ''; do \ | |
| 138 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
| 139 for i in $(SUBDIRS) ;\ | |
| 140 do \ | |
| 141 echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \ | |
| 142 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
| 143 DESTDIR=$(DESTDIR) install.man); \ | |
| 144 done | |
| 145 | |
| 146 install.linkkit:: | |
| 147 @for flag in ${MAKEFLAGS} ''; do \ | |
| 148 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
| 149 for i in $(SUBDIRS) ;\ | |
| 150 do \ | |
| 151 echo "installing link kit" "in $(CURRENT_DIR)/$$i..."; \ | |
| 152 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
| 153 DESTDIR='$(DESTDIR)' install.linkkit); \ | |
| 154 done | |
| 155 | |
| 156 clean:: | |
| 157 @for flag in ${MAKEFLAGS} ''; do \ | |
| 158 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
| 159 for i in $(SUBDIRS) ;\ | |
| 160 do \ | |
| 161 echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \ | |
| 162 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
| 163 clean); \ | |
| 164 done | |
| 165 | |
| 166 tags:: | |
| 167 @for flag in ${MAKEFLAGS} ''; do \ | |
| 168 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
| 169 for i in $(SUBDIRS) ;\ | |
| 170 do \ | |
| 171 echo "tagging" "in $(CURRENT_DIR)/$$i..."; \ | |
| 172 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
| 173 TAGS='$(TAGS)' tags); \ | |
| 174 done | |
| 175 | |
| 176 includes:: | |
| 177 @for flag in ${MAKEFLAGS} ''; do \ | |
| 178 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \ | |
| 179 for i in $(SUBDIRS) ;\ | |
| 180 do \ | |
| 181 echo including "in $(CURRENT_DIR)/$$i..."; \ | |
| 182 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \ | |
| 183 includes); \ | |
| 184 done | |
| 185 | |
| 186 # ---------------------------------------------------------------------- | |
| 187 # dependencies generated by makedepend | |
| 188 | |
| 189 # dependencies are in .depend | |
| 190 |
