comparison Contrib/dic/gerodic/Makefile.in @ 0:bbc77ca4def5

initial import
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 04:30:14 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bbc77ca4def5
1 #
2 # $Id: Makefile.in,v 1.6 2006/05/28 16:37:02 aonoto Exp $
3 #
4
5 # FreeWnn is a network-extensible Kana-to-Kanji conversion system.
6 # This file is part of FreeWnn.
7 #
8 # Copyright Wnn Consortium. 1993
9 # Copyright FreeWnn Project 2001, 2006
10 #
11 # Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
12 # Maintainer: FreeWnn Project
13 #
14 # This program is free software; you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation; either version 2, or (at your option)
17 # any later version.
18 #
19 # This program is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU General Public License for more details.
23 #
24 # You should have received a copy of the GNU General Public License
25 # along with GNU Emacs; see the file COPYING. If not, write to the
26 # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 #
28 # Commentary:
29 #
30 # Change log:
31 # '99/04/19 TAOKA Satoshi - 田岡 智志<taoka@infonets.hiroshima-u.ac.jp>
32 # インストールディレクトリを変更可能にする
33 #
34 # More changes are described in ChangeLog file or CVS commit log.
35 #
36
37 include @top_builddir@/makerule.mk
38 top_srcdir = @top_srcdir@
39 srcdir = @srcdir@
40 top_builddir = @top_builddir@
41 WNNJUTILOBJ = $(top_builddir)/Wnn/jutil
42
43 # Makefile for gerodic 1.00
44 #
45 # Jun. 26th '93 Wnn Consortium
46
47
48 INSTALL = @INSTALL@ $(INSTALLFLAGS)
49 LOCAL_INSTFLAGS = -o ${WNNOWNER}
50
51 #ATOD=${JWNNBINDIR}/atod
52 ATOD=${WNNJUTILOBJ}/atod
53
54 #WNNTOUCH=${WNNBINDIR}/wnntouch
55 WNNTOUCH=${WNNJUTILOBJ}/wnntouch
56
57 #HINSI=${JWNNWNNDIR}/hinsi.data
58 HINSI=${PUBDICPLUSSRC}/hinsi.data
59
60 GERODIR=${JWNNDICDIR}/gerodic
61
62 SRC=$(srcdir)/g-jinmei.u
63 OBJ=g-jinmei.dic
64
65 all:: ${OBJ}
66
67 $(OBJ): $(SRC)
68 ${ATOD} -h ${HINSI} ${OBJ} < ${SRC}
69
70 install:: ${OBJ}
71 @if [ -d $(DESTDIR)$(GERODIR) ]; then set +x; \
72 else (set -x; $(MKDIRHIER) $(DESTDIR)$(GERODIR)); fi
73 chown ${WNNOWNER} $(DESTDIR)$(GERODIR)
74 $(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) ${OBJ} $(DESTDIR)$(GERODIR)
75 ${WNNTOUCH} $(DESTDIR)$(GERODIR)/${OBJ}
76
77 clean::
78 $(RM) ${OBJ}