2 A <sys/types.h> that conforms better to POSIX.
19 BUILT_SOURCES += sys/types.h
21 # We need the following in order to create <sys/types.h> when the system
22 # doesn't have one that works with the given compiler.
23 sys/types.h: sys_types.in.h $(top_builddir)/config.status
24 $(AM_V_at)$(MKDIR_P) sys
25 $(AM_V_GEN)rm -f $@-t $@ && \
26 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
27 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
28 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
32 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
33 -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
34 < $(srcdir)/sys_types.in.h; \
37 MOSTLYCLEANFILES += sys/types.h sys/types.h-t