added missing dependencies to fix failing unistr/ tests
[gnulib.git] / modules / selinux-h
1 Description:
2 SELinux-related headers for systems that lack them.
3
4 Files:
5 lib/getfilecon.c
6 lib/se-context.in.h
7 lib/se-selinux.in.h
8 m4/selinux-context-h.m4
9 m4/selinux-selinux-h.m4
10
11 Depends-on:
12 errno
13 unused-parameter
14
15 configure.ac:
16 gl_HEADERS_SELINUX_SELINUX_H
17 gl_HEADERS_SELINUX_CONTEXT_H
18 AC_REQUIRE([AC_C_INLINE])
19
20 Makefile.am:
21 lib_SOURCES += se-context.in.h se-selinux.in.h
22
23 BUILT_SOURCES += selinux/selinux.h
24 selinux/selinux.h: se-selinux.in.h $(UNUSED_PARAMETER_H)
25         $(AM_V_at)$(MKDIR_P) selinux
26         $(AM_V_GEN)rm -f $@-t $@ && \
27         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
28           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
31               -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
32               < $(srcdir)/se-selinux.in.h; \
33         } > $@-t && \
34         chmod a-x $@-t && \
35         mv $@-t $@
36 MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
37
38 BUILT_SOURCES += $(SELINUX_CONTEXT_H)
39 selinux/context.h: se-context.in.h $(UNUSED_PARAMETER_H)
40         $(AM_V_at)$(MKDIR_P) selinux
41         $(AM_V_GEN)rm -f $@-t $@ && \
42         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
43           sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
44               < $(srcdir)/se-context.in.h; \
45         } > $@-t && \
46         chmod a-x $@-t && \
47         mv $@-t $@
48 MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
49 MOSTLYCLEANDIRS += selinux
50
51 Include:
52 <selinux/selinux.h>
53 <selinux/context.h>
54
55 Link:
56 $(LIB_SELINUX)
57
58 License:
59 LGPLv2+
60
61 Maintainer:
62 Jim Meyering