Add script for determining the set of symbols to export from a library.
[gnulib.git] / modules / sched
blobb6f285234bb629b12e6b637f3e57f7315749c2b9
1 Description:
2 A <sched.h> include file.
4 Files:
5 lib/sched.in.h
6 m4/sched_h.m4
8 Depends-on:
9 include_next
11 configure.ac:
12 gl_SCHED_H
14 Makefile.am:
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; \
32         } > $@-t && \
33         mv $@-t $@
34 else
35 sched.h: $(top_builddir)/config.status
36         rm -f $@
37 endif
38 MOSTLYCLEANFILES += sched.h sched.h-t
40 Include:
41 <sched.h>
43 License:
44 LGPLv2+
46 Maintainer:
47 all