safe-alloc: simplify, given new reallocarray behavior
[gnulib.git] / modules / unictype / combining-class-byname
blobd4af881892be8e5b5ef17bfce9fc4d46e96266b8
1 Description:
2 Find a Unicode character canonical combining class, given its name.
4 Files:
5 lib/unictype/combiningclass_byname.c
6 lib/unictype/combiningclass_byname.gperf
8 Depends-on:
9 unictype/base
10 gperf
12 configure.ac:
13 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/combining-class-byname])
15 Makefile.am:
16 if LIBUNISTRING_COMPILE_UNICTYPE_COMBINING_CLASS_BYNAME
17 lib_SOURCES += unictype/combiningclass_byname.c
18 endif
20 $(srcdir)/unictype/combiningclass_byname.h: $(srcdir)/unictype/combiningclass_byname.gperf
21         $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf > $(srcdir)/unictype/combiningclass_byname.h-t1 \
22         && sed -e 's/^const/static const/' \
23                -e 's|\([ "]\)[^ "]*/unictype/combiningclass_byname\.gperf\([ "]\)|\1unictype/combiningclass_byname.gperf\2|' \
24                < $(srcdir)/unictype/combiningclass_byname.h-t1 > $(srcdir)/unictype/combiningclass_byname.h-t2 \
25         && rm -f $(srcdir)/unictype/combiningclass_byname.h-t1 \
26         && mv $(srcdir)/unictype/combiningclass_byname.h-t2 $(srcdir)/unictype/combiningclass_byname.h
27 BUILT_SOURCES        += unictype/combiningclass_byname.h
28 MOSTLYCLEANFILES     += unictype/combiningclass_byname.h-t1 unictype/combiningclass_byname.h-t2
29 MAINTAINERCLEANFILES += unictype/combiningclass_byname.h
30 EXTRA_DIST           += unictype/combiningclass_byname.h
32 Include:
33 "unictype.h"
35 License:
36 LGPLv3+ or GPLv2+
38 Maintainer:
39 all