Mercurial > freewnn
annotate Contrib/dic/ldic/Makefile.in @ 21:22b754fbd8fe
added 2ch_face.u
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Tue, 15 Apr 2008 19:32:47 +0900 |
parents | c4b8c1d2b943 |
children |
rev | line source |
---|---|
20
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
1 # this makefile has been taken from gerodic. |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
2 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
3 include @top_builddir@/makerule.mk |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
4 top_srcdir = @top_srcdir@ |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
5 srcdir = @srcdir@ |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
6 top_builddir = @top_builddir@ |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
7 WNNJUTILOBJ = $(top_builddir)/Wnn/jutil |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
8 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
9 INSTALL = @INSTALL@ $(INSTALLFLAGS) |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
10 LOCAL_INSTFLAGS = -o ${WNNOWNER} |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
11 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
12 ATOD=${WNNJUTILOBJ}/atod |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
13 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
14 WNNTOUCH=${WNNJUTILOBJ}/wnntouch |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
15 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
16 HINSI=${PUBDICPLUSSRC}/hinsi.data |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
17 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
18 LDICDIR=${JWNNDICDIR}/misc |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
19 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
20 SRC=$(srcdir)/ldic.u |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
21 OBJ=ldic.dic |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
22 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
23 all:: ${OBJ} |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
24 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
25 $(OBJ): $(SRC) |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
26 ${ATOD} -h ${HINSI} ${OBJ} < ${SRC} |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
27 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
28 install:: ${OBJ} |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
29 @if [ -d $(DESTDIR)$(LDICDIR) ]; then set +x; \ |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
30 else (set -x; $(MKDIRHIER) $(DESTDIR)$(LDICDIR)); fi |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
31 chown ${WNNOWNER} $(DESTDIR)$(LDICDIR) |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
32 $(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) ${OBJ} $(DESTDIR)$(LDICDIR) |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
33 ${WNNTOUCH} $(DESTDIR)$(LDICDIR)/${OBJ} |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
34 |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
35 clean:: |
c4b8c1d2b943
added supplement.u and ldic.u
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
36 $(RM) ${OBJ} |