unicodeio: Fix wrong result on FreeBSD.
[gnulib.git] / modules / selinux-h
blob26face8a782040085e856a679f601c779de9aca6
1 Description:
2 SELinux-related headers for systems that lack them.
4 Files:
5 lib/getfilecon.c
6 lib/se-context.in.h
7 lib/se-label.in.h
8 lib/se-selinux.in.h
9 lib/se-context.c
10 lib/se-label.c
11 lib/se-selinux.c
12 m4/selinux-context-h.m4
13 m4/selinux-label-h.m4
14 m4/selinux-selinux-h.m4
16 Depends-on:
17 errno
18 extern-inline
19 snippet/unused-parameter
21 configure.ac:
22 gl_HEADERS_SELINUX_SELINUX_H
23 gl_HEADERS_SELINUX_CONTEXT_H
24 gl_HEADERS_SELINUX_LABEL_H
25 if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then
26   AC_LIBOBJ([getfilecon])
29 Makefile.am:
30 lib_SOURCES += se-context.in.h se-label.in.h se-selinux.in.h \
31   se-context.c se-label.c se-selinux.c
33 BUILT_SOURCES += selinux/selinux.h
34 selinux/selinux.h: se-selinux.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
35         $(AM_V_at)$(MKDIR_P) selinux
36         $(AM_V_GEN)rm -f $@-t $@ && \
37         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
38           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
39               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
40               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
41               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
42               -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
43               -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
44               < $(srcdir)/se-selinux.in.h; \
45         } > $@-t && \
46         chmod a-x $@-t && \
47         mv $@-t $@
48 MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
50 BUILT_SOURCES += $(SELINUX_CONTEXT_H)
51 if GL_GENERATE_SELINUX_CONTEXT_H
52 selinux/context.h: se-context.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
53         $(AM_V_at)$(MKDIR_P) selinux
54         $(AM_V_GEN)rm -f $@-t $@ && \
55         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
56           sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
57               < $(srcdir)/se-context.in.h; \
58         } > $@-t && \
59         chmod a-x $@-t && \
60         mv $@-t $@
61 else
62 selinux/context.h: $(top_builddir)/config.status
63         rm -f $@
64 endif
65 MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
67 BUILT_SOURCES += $(SELINUX_LABEL_H)
68 if GL_GENERATE_SELINUX_LABEL_H
69 selinux/label.h: se-label.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
70         $(AM_V_at)$(MKDIR_P) selinux
71         $(AM_V_GEN)rm -f $@-t $@ && \
72         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
73           sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
74               < $(srcdir)/se-label.in.h; \
75         } > $@-t && \
76         chmod a-x $@-t && \
77         mv $@-t $@
78 else
79 selinux/label.h: $(top_builddir)/config.status
80         rm -f $@
81 endif
82 MOSTLYCLEANFILES += selinux/label.h selinux/label.h-t
84 MOSTLYCLEANDIRS += selinux
86 Include:
87 <selinux/selinux.h>
88 <selinux/context.h>
89 <selinux/label.h>
91 Link:
92 $(LIB_SELINUX)
94 License:
95 LGPLv2+
97 Maintainer:
98 Jim Meyering