2 A <sched.h> include file.
18 BUILT_SOURCES += sched.h
20 # We need the following in order to create a replacement for <sched.h> when
21 # the system doesn't have one.
22 sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
23 $(AM_V_GEN)rm -f $@-t $@ && \
24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
25 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
26 -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
27 -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|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_SCHED_H''@|$(NEXT_SCHED_H)|g' \
32 -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \
33 -e 's/@''GNULIB_SCHED_YIELD''@/$(GNULIB_SCHED_YIELD)/g' \
34 -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \
35 -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \
36 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
37 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
38 < $(srcdir)/sched.in.h; \
41 MOSTLYCLEANFILES += sched.h sched.h-t