--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+RM = /bin/rm -f
+TAR = tar
+WGET = wget
+MKDIR = mkdir -p
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+datadir = @datadir@
+
+FONTS_DIR = $(datadir)/fonts
+BDF_FONTS_DIR = $(datadir)/fonts/BDF
+PCF_FONTS_DIR = $(datadir)/fonts/PCF
+CBETA_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/CBETA
+CBETA_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/CBETA
+
+CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts
+
+BDF_FILES = cbeta-48.bdf
+
+OPTS = @ac_configure_args@
+
+all: get
+
+get: $(BDF_FILES)
+
+
+cbeta-48.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/CBETA/cbeta-48.bdf
+
+
+install:
+ $(MKDIR) $(CBETA_BDF_FONTS_DIR)
+ ( $(TAR) -cf - *.bdf ) | \
+ ( cd $(CBETA_BDF_FONTS_DIR) && $(TAR) -xf - )
+ $(MKDIR) $(CBETA_PCF_FONTS_DIR)
+ for file in $(BDF_FILES) ; do \
+ FONT=`basename $${file} .bdf`.pcf.gz ; \
+ bdftopcf $${file} | gzip -best > $(CBETA_PCF_FONTS_DIR)/$${FONT} ; \
+ done
+ cd $(CBETA_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+ -$(RM) *.bdf Makefile
--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+RM = /bin/rm -f
+TAR = tar
+WGET = wget
+MKDIR = mkdir -p
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+datadir = @datadir@
+
+FONTS_DIR = $(datadir)/fonts
+BDF_FONTS_DIR = $(datadir)/fonts/BDF
+PCF_FONTS_DIR = $(datadir)/fonts/PCF
+ETL_VN2_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/ETL-VN2
+ETL_VN2_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/ETL-VN2
+
+CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts
+
+BDF_FILES = ltcvn24.bdf
+
+OPTS = @ac_configure_args@
+
+all: get
+
+get: $(BDF_FILES)
+
+
+ltcvn24.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/ETL-VN2/ltcvn24.bdf
+
+
+install:
+ $(MKDIR) $(ETL_VN2_BDF_FONTS_DIR)
+ ( $(TAR) -cf - *.bdf ) | \
+ ( cd $(ETL_VN2_BDF_FONTS_DIR) && $(TAR) -xf - )
+ $(MKDIR) $(ETL_VN2_PCF_FONTS_DIR)
+ for file in $(BDF_FILES) ; do \
+ FONT=`basename $${file} .bdf`.pcf.gz ; \
+ bdftopcf $${file} | gzip -best > $(ETL_VN2_PCF_FONTS_DIR)/$${FONT} ; \
+ done
+ cd $(ETL_VN2_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+ -$(RM) *.bdf Makefile
--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+TAR = tar
+WGET = wget
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+BINDIR = @bindir@
+LIBDIR = @libdir@
+OPTS = @ac_configure_args@
+
+
+all: build-etl-vn2 build-thai-xtis build-zinbun build-cbeta
+
+install: install-etl-vn2 install-thai-xtis install-zinbun install-cbeta
+
+
+build-etl-vn2:
+ cd ETL-VN2 && make
+
+install-etl-vn2:
+ cd ETL-VN2 && make install
+
+
+build-thai-xtis:
+ cd Thai-XTIS && make
+
+install-thai-xtis:
+ cd Thai-XTIS && make install
+
+
+build-zinbun:
+ cd Zinbun && make
+
+install-zinbun:
+ cd Zinbun && make install
+
+
+build-cbeta:
+ cd CBETA && make
+
+install-cbeta:
+ cd CBETA && make install
+
+
+distclean:
+ cd ETL-VN2 && make distclean
+ cd Thai-XTIS && make distclean
+ cd Zinbun && make distclean
+ cd CBETA && make distclean
+ -$(RM) Makefile
--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+RM = /bin/rm -f
+TAR = tar
+WGET = wget
+MKDIR = mkdir -p
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+datadir = @datadir@
+
+FONTS_DIR = $(datadir)/fonts
+BDF_FONTS_DIR = $(datadir)/fonts/BDF
+PCF_FONTS_DIR = $(datadir)/fonts/PCF
+THAI_XTIS_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/Thai-XTIS
+THAI_XTIS_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/Thai-XTIS
+
+CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts
+
+BDF_FILES = th12n.bdf th_x18.bdf
+
+OPTS = @ac_configure_args@
+
+all: get
+
+get: $(BDF_FILES)
+
+
+th12n.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Thai-XTIS/th12n.bdf
+
+th_x18.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Thai-XTIS/th_x18.bdf
+
+
+install:
+ $(MKDIR) $(THAI_XTIS_BDF_FONTS_DIR)
+ ( $(TAR) -cf - *.bdf ) | \
+ ( cd $(THAI_XTIS_BDF_FONTS_DIR) && $(TAR) -xf - )
+ $(MKDIR) $(THAI_XTIS_PCF_FONTS_DIR)
+ for file in $(BDF_FILES) ; do \
+ FONT=`basename $${file} .bdf`.pcf.gz ; \
+ bdftopcf $${file} | gzip -best > $(THAI_XTIS_PCF_FONTS_DIR)/$${FONT} ; \
+ done
+ cd $(THAI_XTIS_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+ -$(RM) *.bdf Makefile
--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+RM = /bin/rm -f
+TAR = tar
+WGET = wget
+MKDIR = mkdir -p
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+datadir = @datadir@
+
+FONTS_DIR = $(datadir)/fonts
+BDF_FONTS_DIR = $(datadir)/fonts/BDF
+PCF_FONTS_DIR = $(datadir)/fonts/PCF
+ZINBUN_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/Zinbun
+ZINBUN_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/Zinbun
+
+CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts
+
+BDF_FILES = ekan-dk2.bdf ekan-dk3.bdf \
+ jef-c3-48.bdf kaizuka48.bdf kaizuka128.bdf
+
+OPTS = @ac_configure_args@
+
+all: get
+
+get: $(BDF_FILES)
+
+
+ekan-dk2.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/ekan-dk2.bdf
+
+ekan-dk3.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/ekan-dk3.bdf
+
+jef-c3-48.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/jef-c3-48.bdf
+
+kaizuka48.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/kaizuka48.bdf
+
+kaizuka128.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/kaizuka128.bdf
+
+
+install:
+ $(MKDIR) $(ZINBUN_BDF_FONTS_DIR)
+ ( $(TAR) -cf - *.bdf ) | \
+ ( cd $(ZINBUN_BDF_FONTS_DIR) && $(TAR) -xf - )
+ $(MKDIR) $(ZINBUN_PCF_FONTS_DIR)
+ for file in $(BDF_FILES) ; do \
+ FONT=`basename $${file} .bdf`.pcf.gz ; \
+ bdftopcf $${file} | gzip -best > $(ZINBUN_PCF_FONTS_DIR)/$${FONT} ; \
+ done
+ cd $(ZINBUN_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+ -$(RM) *.bdf Makefile
--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+TAR = tar
+WGET = wget
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+BINDIR = @bindir@
+LIBDIR = @libdir@
+OPTS = @ac_configure_args@
+
+
+all: build-zinbun
+
+install: install-zinbun
+
+
+build-zinbun:
+ cd Zinbun && make
+
+install-zinbun:
+ cd Zinbun && make install
+
+
+distclean:
+ cd Zinbun && make distclean
+ -$(RM) Makefile
--- /dev/null
+VERSION = @PACKAGE_VERSION@
+
+RM = /bin/rm -f
+TAR = tar
+WGET = wget
+MKDIR = mkdir -p
+SUDO =
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+datadir = @datadir@
+
+FONTS_DIR = $(datadir)/fonts
+TTF_FONTS_DIR = $(datadir)/fonts/TrueType
+ZINBUN_FONTS_DIR = $(TTF_FONTS_DIR)/Zinbun
+
+CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts
+
+OPTS = @ac_configure_args@
+
+all: get
+
+get: rui6-eudc.ttf fonts.dir fonts.alias
+
+
+rui6-eudc.ttf:
+ $(WGET) $(CHISE_FONTS_URL)/TrueType/Zinbun/rui6-eudc.ttf
+
+fonts.dir:
+ $(WGET) $(CHISE_FONTS_URL)/TrueType/Zinbun/fonts.dir
+
+fonts.alias:
+ $(WGET) $(CHISE_FONTS_URL)/TrueType/Zinbun/fonts.alias
+
+
+install:
+ $(MKDIR) $(ZINBUN_FONTS_DIR)
+ ( $(TAR) -cf - *.ttf fonts.dir fonts.alias ) | \
+ ( cd $(ZINBUN_FONTS_DIR) && $(TAR) -xf - )
+
+
+distclean:
+ -$(RM) *.ttf fonts.dir fonts.alias Makefile