libposix: Add _HEADERS primaries to posix modules.
[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 nodist_pkginclude_HEADERS += $(SCHED_H)
16 EXTRA_HEADERS += sched.h
17
18 BUILT_SOURCES += $(SCHED_H)
19
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
23         $(AM_V_GEN)rm -f $@-t $@ && \
24         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
25           sed -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_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; \
32         } > $@-t && \
33         mv $@-t $@
34 MOSTLYCLEANFILES += sched.h sched.h-t
35
36 Include:
37 <sched.h>
38
39 License:
40 LGPLv2+
41
42 Maintainer:
43 Bruno Haible
44