2 SELinux-related headers for systems that lack them.
12 m4/selinux-context-h.m4
14 m4/selinux-selinux-h.m4
19 snippet/unused-parameter
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])
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; \
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; \
62 selinux/context.h: $(top_builddir)/config.status
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; \
79 selinux/label.h: $(top_builddir)/config.status
82 MOSTLYCLEANFILES += selinux/label.h selinux/label.h-t
84 MOSTLYCLEANDIRS += selinux