--- /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
+HANAZONO_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/Hanazono
+HANAZONO_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/Hanazono
+
+CHISE_FONTS_URL = http://www.chise.org/dist/fonts
+
+BDF_FILES = HanaMin-CDP-var-003.bdf HanaMin-CDP-var-005.bdf \
+ HanaMin-UCS-BMP-itaiji-084.bdf HanaMin-Zihai-17.bdf
+
+OPTS = @ac_configure_args@
+
+all: get
+
+get: $(BDF_FILES)
+
+
+HanaMin-CDP-var-003.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-CDP-var-003.bdf
+
+HanaMin-CDP-var-005.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-CDP-var-005.bdf
+
+HanaMin-UCS-BMP-itaiji-084.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-UCS-BMP-itaiji-084.bdf
+
+HanaMin-Zihai-17.bdf:
+ $(WGET) $(CHISE_FONTS_URL)/BDF/Hanazono/HanaMin-Zihai-17.bdf
+
+
+install:
+ $(MKDIR) $(HANAZONO_BDF_FONTS_DIR)
+ ( $(TAR) -cf - *.bdf ) | \
+ ( cd $(HANAZONO_BDF_FONTS_DIR) && $(TAR) -xf - )
+ $(MKDIR) $(HANAZONO_PCF_FONTS_DIR)
+ for file in $(BDF_FILES) ; do \
+ FONT=`basename $${file} .bdf`.pcf.gz ; \
+ bdftopcf $${file} | gzip -9 > $(HANAZONO_PCF_FONTS_DIR)/$${FONT} ; \
+ done
+ cd $(HANAZONO_PCF_FONTS_DIR) && mkfontdir
+
+
+distclean:
+ -$(RM) Makefile
+
+distclean-all:
+ -$(RM) *.bdf Makefile