d126fc761644ffb174b8487152ff31a3163a15de
[gnulib.git] / modules / sched
1 Description:
2 A <sched.h> include file.
3
4 Files:
5 lib/sched.in.h
6 m4/sched_h.m4
7
8 Depends-on:
9 include_next
10
11 configure.ac:
12 gl_SCHED_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(SCHED_H)
16
17 # We need the following in order to create a replacement for <sched.h> when
18 # the system doesn't have one.
19 sched.h: sched.in.h
20         $(AM_V_GEN)rm -f $@-t $@ && \
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           sed -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
23               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
26               -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \
27               -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \
28               < $(srcdir)/sched.in.h; \
29         } > $@-t && \
30         mv $@-t $@
31 MOSTLYCLEANFILES += sched.h sched.h-t
32
33 Include:
34 <sched.h>
35
36 License:
37 LGPLv2+
38
39 Maintainer:
40 Bruno Haible
41