2 A <ctype.h> that conforms to C99.
16 BUILT_SOURCES += ctype.h
18 # We need the following in order to create <ctype.h> when the system
19 # doesn't have one that works with the given compiler.
20 ctype.h: ctype.in.h $(WARN_ON_USE_H)
21 $(AM_V_GEN)rm -f $@-t $@ && \
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25 -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
26 -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
27 -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
28 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
29 < $(srcdir)/ctype.in.h; \
32 MOSTLYCLEANFILES += ctype.h ctype.h-t