2 SELinux-related headers for systems that lack them.
10 m4/selinux-context-h.m4
11 m4/selinux-selinux-h.m4
16 snippet/unused-parameter
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])
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; \
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; \
57 selinux/context.h: $(top_builddir)/config.status
60 MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
61 MOSTLYCLEANDIRS += selinux