2 A <sys/times.h> for systems lacking it.
16 BUILT_SOURCES += $(SYS_TIMES_H)
18 # We need the following in order to create <sys/times.h> when the system
19 # doesn't have one that works with the given compiler.
20 sys/times.h: sys_times.in.h
21 $(AM_V_at)$(MKDIR_P) sys
22 $(AM_V_GEN)rm -f $@-t $@ && \
23 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
24 sed -e 's|@''GNULIB_TIMES''@|$(GNULIB_TIMES)|g' \
25 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
26 < $(srcdir)/sys_times.in.h; \
29 MOSTLYCLEANFILES += sys/times.h sys/times.h-t
30 MOSTLYCLEANDIRS += sys
33 #include <sys/times.h>