Disable zipcode dictionary
[platform/core/uifw/anthy.git] / mkworddic / Makefile.am
1 ## $Id: Makefile.am,v 1.10 2002/11/05 15:38:58 yusuke Exp $
2
3 # Files
4 noinst_SCRIPTS =
5 EXTRA_DICS = base.t extra.t compound.t name.t adjust.t utf8.t tankanji.t
6 ZIPCODE_DICT = zipcode.t
7 CANNADIC_DIST = gcanna.ctd gcannaf.ctd
8 INCLUDES = -I$(top_srcdir)/
9 # HOKUTODIC_DIST = hokuto.t
10 # You can get it from
11 # http://winnie.kuis.kyoto-u.ac.jp/members/ri/hokuto/dic/index.html
12 HOKUTODIC_DIST =
13 CLEANFILES = anthy.wdic
14 EXTRA_DIST = \
15  $(EXTRA_DICS) $(ZIPCODE_DICT) $(HOKUTODIC_DIST) \
16  udict dict.args.in
17
18 # Files, to build dictionay, not to pack sources.
19 DIC_FILES = @top_srcdir@/alt-cannadic/gcanna.ctd \
20             @top_srcdir@/alt-cannadic/gcannaf.ctd \
21             @top_srcdir@/alt-cannadic/gtankan.ctd \
22             @top_srcdir@/mkworddic/adjust.t \
23             @top_srcdir@/mkworddic/compound.t \
24             @top_srcdir@/mkworddic/extra.t \
25             @top_srcdir@/alt-cannadic/g_fname.t \
26             @top_srcdir@/mkworddic/udict
27
28 # Generate the dictionary
29 noinst_PROGRAMS = mkworddic
30 mkworddic_SOURCES = mkdic.c writewords.c mkudic.c calcfreq.c mkdic.h
31 mkworddic_LDADD = ../src-worddic/libanthydic.la
32
33 noinst_DATA = anthy.wdic
34
35 anthy.wdic : mkworddic $(DIC_FILES)
36            ./mkworddic -f ./dict.args
37
38
39 if ANTHY_INSTALL_ZIPCODE_DICT
40 # To install
41 pkgdata_DATA = zipcode.t
42 endif