| 1 |
# |
| 2 |
# $Id: Makefile.in,v 1.11 2001/09/24 08:36:12 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 |
| 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 |
|
| 37 |
CWNNDIR = @cWnn@ |
| 38 |
|
| 39 |
KWNNDIR = @kWnn@ |
| 40 |
|
| 41 |
LIB_SUBDIRS = |
| 42 |
SEVER_SUBDIRS = |
| 43 |
|
| 44 |
# PubdicPlus��Contrib/dic/gerodic��SERVER_SUBDIRS������������������������ |
| 45 |
# SUBDIRS������������������������Wnn/pubdicplus��make������������������ |
| 46 |
# ���� |
| 47 |
# JSERVER_SUBDIRS1 = PubdicPlus |
| 48 |
JSERVER_SUBDIRS2 = Contrib/dic/gerodic |
| 49 |
|
| 50 |
SUBDIRS= $(WNNDIR) @JSERVER_SUBDIRS2@ $(CWNNDIR) $(KWNNDIR) @SUBDIRS@ |
| 51 |
|
| 52 |
LIBTOOL_DEPS = @LIBTOOL_DEPS@ |
| 53 |
libtool: $(LIBTOOL_DEPS) |
| 54 |
$(SHELL) ./config.status --recheck |
| 55 |
|
| 56 |
World:: |
| 57 |
@echo "" |
| 58 |
@echo "Building Input Method." |
| 59 |
@echo "" |
| 60 |
@date |
| 61 |
@echo "" |
| 62 |
-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak |
| 63 |
$(MAKE) $(MFLAGS) -f Makefile.bak Makefile |
| 64 |
$(MAKE) $(MFLAGS) Makefiles |
| 65 |
$(MAKE) $(MFLAGS) clean |
| 66 |
$(MAKE) $(MFLAGS) includes |
| 67 |
$(MAKE) $(MFLAGS) depend |
| 68 |
$(MAKE) $(MFLAGS) $(WORLDOPTS) |
| 69 |
@echo "" |
| 70 |
@date |
| 71 |
@echo "" |
| 72 |
@echo "Full build of Input Method." |
| 73 |
@echo "" |
| 74 |
|
| 75 |
Everything:: |
| 76 |
@echo "" |
| 77 |
@echo "Rebuilding Input Method." |
| 78 |
@echo "" |
| 79 |
@date |
| 80 |
@echo "" |
| 81 |
-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak |
| 82 |
$(MAKE) $(MFLAGS) -f Makefile.bak Makefile |
| 83 |
$(MAKE) $(MFLAGS) Makefiles |
| 84 |
$(MAKE) $(MFLAGS) includes |
| 85 |
$(MAKE) $(MFLAGS) depend |
| 86 |
$(MAKE) $(MFLAGS) $(WORLDOPTS) |
| 87 |
@echo "" |
| 88 |
@date |
| 89 |
@echo "" |
| 90 |
@echo "Rebuild of Input Method." |
| 91 |
@echo "" |
| 92 |
|
| 93 |
distclean:: |
| 94 |
$(MAKE) clean |
| 95 |
rm -f makerule.mk config.h config.status config.cache config.log |
| 96 |
rm -f libtool |
| 97 |
find . -name Makefile -exec rm -f {} \; |
| 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 |
|