2 A <sched.h> include file.
15 BUILT_SOURCES += $(SCHED_H)
17 # We need the following in order to create a replacement for <sched.h> when
18 # the system doesn't have one.
19 if GL_GENERATE_SCHED_H
20 sched.h: sched.in.h $(top_builddir)/config.status
21 $(AM_V_GEN)rm -f $@-t $@ && \
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
24 -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
25 -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
26 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
27 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
28 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
29 -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \
30 -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \
31 < $(srcdir)/sched.in.h; \
35 sched.h: $(top_builddir)/config.status
38 MOSTLYCLEANFILES += sched.h sched.h-t