19 BUILT_SOURCES += uchar.h
21 uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H)
22 $(AM_V_GEN)rm -f $@-t $@ && \
23 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
24 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
25 -e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \
26 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
27 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
28 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
29 -e 's|@''NEXT_UCHAR_H''@|$(NEXT_UCHAR_H)|g' \
30 -e 's|@''CXX_HAS_UCHAR_TYPES''@|$(CXX_HAS_UCHAR_TYPES)|g' \
31 -e 's|@''SMALL_WCHAR_T''@|$(SMALL_WCHAR_T)|g' \
32 -e 's|@''GNULIB_OVERRIDES_CHAR16_T''@|$(GNULIB_OVERRIDES_CHAR16_T)|g' \
33 -e 's|@''GNULIB_OVERRIDES_CHAR32_T''@|$(GNULIB_OVERRIDES_CHAR32_T)|g' \
34 -e 's/@''GNULIB_BTOC32''@/$(GNULIB_BTOC32)/g' \
35 -e 's/@''GNULIB_C32ISALNUM''@/$(GNULIB_C32ISALNUM)/g' \
36 -e 's/@''GNULIB_C32ISALPHA''@/$(GNULIB_C32ISALPHA)/g' \
37 -e 's/@''GNULIB_C32ISBLANK''@/$(GNULIB_C32ISBLANK)/g' \
38 -e 's/@''GNULIB_C32ISCNTRL''@/$(GNULIB_C32ISCNTRL)/g' \
39 -e 's/@''GNULIB_C32ISDIGIT''@/$(GNULIB_C32ISDIGIT)/g' \
40 -e 's/@''GNULIB_C32ISGRAPH''@/$(GNULIB_C32ISGRAPH)/g' \
41 -e 's/@''GNULIB_C32ISLOWER''@/$(GNULIB_C32ISLOWER)/g' \
42 -e 's/@''GNULIB_C32ISPRINT''@/$(GNULIB_C32ISPRINT)/g' \
43 -e 's/@''GNULIB_C32ISPUNCT''@/$(GNULIB_C32ISPUNCT)/g' \
44 -e 's/@''GNULIB_C32ISSPACE''@/$(GNULIB_C32ISSPACE)/g' \
45 -e 's/@''GNULIB_C32ISUPPER''@/$(GNULIB_C32ISUPPER)/g' \
46 -e 's/@''GNULIB_C32ISXDIGIT''@/$(GNULIB_C32ISXDIGIT)/g' \
47 -e 's/@''GNULIB_C32RTOMB''@/$(GNULIB_C32RTOMB)/g' \
48 -e 's/@''GNULIB_C32SNRTOMBS''@/$(GNULIB_C32SNRTOMBS)/g' \
49 -e 's/@''GNULIB_C32SRTOMBS''@/$(GNULIB_C32SRTOMBS)/g' \
50 -e 's/@''GNULIB_C32STOMBS''@/$(GNULIB_C32STOMBS)/g' \
51 -e 's/@''GNULIB_C32TOB''@/$(GNULIB_C32TOB)/g' \
52 -e 's/@''GNULIB_MBRTOC32''@/$(GNULIB_MBRTOC32)/g' \
53 -e 's/@''GNULIB_MBSNRTOC32S''@/$(GNULIB_MBSNRTOC32S)/g' \
54 -e 's/@''GNULIB_MBSRTOC32S''@/$(GNULIB_MBSRTOC32S)/g' \
55 -e 's/@''GNULIB_MBSTOC32S''@/$(GNULIB_MBSTOC32S)/g' \
56 -e 's|@''HAVE_C32RTOMB''@|$(HAVE_C32RTOMB)|g' \
57 -e 's|@''HAVE_MBRTOC32''@|$(HAVE_MBRTOC32)|g' \
58 -e 's|@''REPLACE_C32RTOMB''@|$(REPLACE_C32RTOMB)|g' \
59 -e 's|@''REPLACE_MBRTOC32''@|$(REPLACE_MBRTOC32)|g' \
60 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
61 < $(srcdir)/uchar.in.h; \
64 MOSTLYCLEANFILES += uchar.h uchar.h-t