2 Find a Unicode character bidi class, given its name.
5 lib/unictype/bidi_byname.c
6 lib/unictype/bidi_byname.gperf
13 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/bidiclass-byname])
16 if LIBUNISTRING_COMPILE_UNICTYPE_BIDICLASS_BYNAME
17 lib_SOURCES += unictype/bidi_byname.c
20 $(srcdir)/unictype/bidi_byname.h: $(srcdir)/unictype/bidi_byname.gperf
21 $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/bidi_byname.gperf > $(srcdir)/unictype/bidi_byname.h-t1 \
22 && sed -e 's/^const/static const/' < $(srcdir)/unictype/bidi_byname.h-t1 > $(srcdir)/unictype/bidi_byname.h-t2 \
23 && mv $(srcdir)/unictype/bidi_byname.h-t2 $(srcdir)/unictype/bidi_byname.h
24 BUILT_SOURCES += unictype/bidi_byname.h
25 MOSTLYCLEANFILES += unictype/bidi_byname.h-t1 unictype/bidi_byname.h-t2
26 MAINTAINERCLEANFILES += unictype/bidi_byname.h
27 EXTRA_DIST += unictype/bidi_byname.h