Mercurial > freewnn
view cWnn/tdic/Makefile.in @ 17:a3fdd8ad75dc
2ch dictionary has been added
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Mon, 14 Apr 2008 17:01:14 +0900 |
parents | bbc77ca4def5 |
children |
line wrap: on
line source
# FreeWnn is a network-extensible Kana-to-Kanji conversion system. # This file is part of FreeWnn. # # Copyright Kyoto University Research Institute for Mathematical Sciences # 1987, 1988, 1989, 1990, 1991, 1992 # Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 # Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 # Copyright FreeWnn Project 2001, 2004 # # Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp> # Maintainer: FreeWnn Project <freewnn@tomo.gr.jp> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Emacs; see the file COPYING. If not, write to the # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. include @top_builddir@/makerule.mk top_srcdir = @top_srcdir@ srcdir = @srcdir@ top_builddir = @top_builddir@ CWNNJUTILOBJ = $(top_builddir)/cWnn/jutil INSTALL = @INSTALL@ INSTALLFLAGS = -o $(WNNOWNER) ATOD = $(CWNNJUTILOBJ)/catod ATOF = $(CWNNJUTILOBJ)/catof WNNTOUCH = $(CWNNJUTILOBJ)/cwnntouch HINSI = @THINSI_DATA@ # HINSI = ./cixing.data FZK_FLAG = FULL = full.con FULLR = full.conR HINSI_SRC = cixing.data FZK_SRCS = con.attr con.jirattr con.jircon con.master con.shuutan con.masterR con.shuutanR DIC_SRCS = cns_ch.u cns_wd.u DICS = cns_ch.dic cns_wd.dic ALLTGT = $(FULL) $(FULLR) $(DICS) all:: $(ALLTGT) .SUFFIXES: .dic .u .u.dic: $(ATOD) -h $(HINSI) $@ < $< $(DICS): $(HINSI) $(FULL):: $(FZK_SRCS) con.master-.c $(CPP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@ $(FULLR):: $(FZK_SRCS) con.masterR-.c $(CPP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@ # To avoid circular dependency, we don't use 'con.master?.c' con.master-.c: con.master $(RM) $@ $(LN) $? $@ con.masterR-.c: con.masterR $(RM) $@ $(LN) $? $@ clean:: $(RM) con.master-.c con.masterR-.c instserver:: install install:: @case '${MFLAGS}' in *[i]*) set +e;; esac; @for i in $(TWNNDICDIR); do if [ -d $(DESTDIR)$$i ]; then \ set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \ chown $(WNNOWNER) $(DESTDIR)$$i); fi \ done install:: $(ALLTGT) @if [ -d $(DESTDIR)$(TWNNSYSDICDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(TWNNSYSDICDIR)); fi @case '${MFLAGS}' in *[i]*) set +e;; esac; @for i in $(ALLTGT); do if [ -f $(DESTDIR)$(TWNNSYSDICDIR)/$$i ]; then \ set +x; \ else (set -x; \ $(INSTALL) -c $(INSTALLFLAGS) $(INSTLIBFLAGS) $$i $(DESTDIR)$(TWNNSYSDICDIR); \ $(WNNTOUCH) $(DESTDIR)$(TWNNSYSDICDIR)/$$i); fi \ done depend:: @echo "skipping make in my dir" clean:: $(RM) $(FULL) $(FULLR) $(DICS)