2 A <locale.h> that conforms to POSIX.
16 BUILT_SOURCES += $(LOCALE_H)
18 # We need the following in order to create <locale.h> when the system
19 # doesn't have one that provides all definitions.
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_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
26 < $(srcdir)/locale.in.h; \
29 MOSTLYCLEANFILES += locale.h locale.h-t