2 SELinux-related headers for systems that lack them.
8 m4/selinux-context-h.m4
9 m4/selinux-selinux-h.m4
13 snippet/unused-parameter
16 gl_HEADERS_SELINUX_SELINUX_H
17 gl_HEADERS_SELINUX_CONTEXT_H
18 AC_REQUIRE([AC_C_INLINE])
19 if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then
20 AC_LIBOBJ([getfilecon])
24 lib_SOURCES += se-context.in.h se-selinux.in.h
26 BUILT_SOURCES += selinux/selinux.h
27 selinux/selinux.h: se-selinux.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
28 $(AM_V_at)$(MKDIR_P) selinux
29 $(AM_V_GEN)rm -f $@-t $@ && \
30 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
31 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
32 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
33 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
34 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
35 -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
36 -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
37 < $(srcdir)/se-selinux.in.h; \
41 MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
43 BUILT_SOURCES += $(SELINUX_CONTEXT_H)
44 if GL_GENERATE_SELINUX_CONTEXT_H
45 selinux/context.h: se-context.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
46 $(AM_V_at)$(MKDIR_P) selinux
47 $(AM_V_GEN)rm -f $@-t $@ && \
48 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
49 sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
50 < $(srcdir)/se-context.in.h; \
55 selinux/context.h: $(top_builddir)/config.status
58 MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
59 MOSTLYCLEANDIRS += selinux