Mercurial > freewnn
annotate Contrib/dic/2ch/Makefile.in @ 27:6bfa7ea3b75b
- resolved conflict between pointer and int
- more warning suppression
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 06 Mar 2010 18:29:27 +0900 |
parents | 22b754fbd8fe |
children |
rev | line source |
---|---|
17
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
1 # this makefile has been taken from gerodic. |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
2 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
3 include @top_builddir@/makerule.mk |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
4 top_srcdir = @top_srcdir@ |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
5 srcdir = @srcdir@ |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
6 top_builddir = @top_builddir@ |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
7 WNNJUTILOBJ = $(top_builddir)/Wnn/jutil |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
8 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
9 INSTALL = @INSTALL@ $(INSTALLFLAGS) |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
10 LOCAL_INSTFLAGS = -o ${WNNOWNER} |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
11 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
12 ATOD=${WNNJUTILOBJ}/atod |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
13 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
14 WNNTOUCH=${WNNJUTILOBJ}/wnntouch |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
15 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
16 HINSI=${PUBDICPLUSSRC}/hinsi.data |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
17 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
18 2CHDIR=${JWNNDICDIR}/misc |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
19 |
21 | 20 SRC=$(srcdir)/2ch.u $(srcdir)/2ch_face.u |
21 OBJ=2ch.dic 2ch_face.dic | |
22 | |
23 .SUFFIXES: .dic .u | |
17
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
24 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
25 all:: ${OBJ} |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
26 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
27 install:: ${OBJ} |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
28 @if [ -d $(DESTDIR)$(2CHDIR) ]; then set +x; \ |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
29 else (set -x; $(MKDIRHIER) $(DESTDIR)$(2CHDIR)); fi |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
30 chown ${WNNOWNER} $(DESTDIR)$(2CHDIR) |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
31 $(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) ${OBJ} $(DESTDIR)$(2CHDIR) |
21 | 32 for i in ${OBJ}; do \ |
33 ${WNNTOUCH} $(DESTDIR)$(2CHDIR)/$$i; \ | |
34 done | |
17
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
35 |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
36 clean:: |
a3fdd8ad75dc
2ch dictionary has been added
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
diff
changeset
|
37 $(RM) ${OBJ} |
21 | 38 |
39 .u.dic: | |
40 ${ATOD} -h ${HINSI} $@ < $< |