vasnprintf: Don't use %n on Android.
[gnulib.git] / modules / selinux-h
blobe074e673f341bd3852c283d12dce4f911fc459d6
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-selinux.in.h
8 lib/se-context.c
9 lib/se-selinux.c
10 m4/selinux-context-h.m4
11 m4/selinux-selinux-h.m4
13 Depends-on:
14 errno
15 extern-inline
16 snippet/unused-parameter
18 configure.ac:
19 gl_HEADERS_SELINUX_SELINUX_H
20 gl_HEADERS_SELINUX_CONTEXT_H
21 if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then
22   AC_LIBOBJ([getfilecon])
25 Makefile.am:
26 lib_SOURCES += se-context.in.h se-selinux.in.h se-context.c se-selinux.c
28 BUILT_SOURCES += selinux/selinux.h
29 selinux/selinux.h: se-selinux.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
30         $(AM_V_at)$(MKDIR_P) selinux
31         $(AM_V_GEN)rm -f $@-t $@ && \
32         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
33           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
34               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
35               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
36               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
37               -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
38               -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
39               < $(srcdir)/se-selinux.in.h; \
40         } > $@-t && \
41         chmod a-x $@-t && \
42         mv $@-t $@
43 MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
45 BUILT_SOURCES += $(SELINUX_CONTEXT_H)
46 if GL_GENERATE_SELINUX_CONTEXT_H
47 selinux/context.h: se-context.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
48         $(AM_V_at)$(MKDIR_P) selinux
49         $(AM_V_GEN)rm -f $@-t $@ && \
50         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
51           sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
52               < $(srcdir)/se-context.in.h; \
53         } > $@-t && \
54         chmod a-x $@-t && \
55         mv $@-t $@
56 else
57 selinux/context.h: $(top_builddir)/config.status
58         rm -f $@
59 endif
60 MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
61 MOSTLYCLEANDIRS += selinux
63 Include:
64 <selinux/selinux.h>
65 <selinux/context.h>
67 Link:
68 $(LIB_SELINUX)
70 License:
71 LGPLv2+
73 Maintainer:
74 Jim Meyering