# makefile.w32-in -- W32 -*- Makefile -*- to generate character property tables.
-# Copyright (C) 2005, 2006, 2007, 2008
+# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
# National Institute of Advanced Industrial Science and Technology (AIST)
# Registration Number H13PRO009
#
# lisp/subdirs.el is not generated yet when the commands below run.
EMACSLOADPATH = $(lisp);$(lisp)/international;$(lisp)/emacs-lisp
# Quote EMACS so it could be a file name with embedded whitespace
-RUNEMACS = "$(EMACS)" -Q --multibyte -batch
+RUNEMACS = "$(EMACS)" -Q -batch
-all: $(DSTDIR)/charprop.el
+all: $(DSTDIR)/charprop.el ../../src/biditype.h ../../src/bidimirror.h
.el.elc:
$(RUNEMACS) -f batch-byte-compile $<
${DSTDIR}/charprop.el: charprop-$(SHELLTYPE)
+../../src/biditype.h: UnicodeData.txt
+ gawk -F";" -f biditype.awk -v BINMODE=2 $< > biditype.h
+ $(CP) biditype.h $@
+ $(DEL) biditype.h
+
+../../src/bidimirror.h: BidiMirroring.txt
+ gawk -F"[; ]+" -f bidimirror.awk -v BINMODE=2 $< > bidimirror.h
+ $(CP) bidimirror.h $@
+ $(DEL) bidimirror.h
+
clean:
- - $(DEL) unidata-gen.elc unidata.txt
+ - $(DEL) unidata-gen.elc unidata.txt biditype.h bidimirror.h