annotate modules/selinux-h @ 14102:f49fe7e6d028

add _HEADERS primaries to Makefile.am snippets for installable headers * modules/alloca-opt, modules/arg-nonnull, modules/argz, modules/arpa_inet, modules/byteswap, modules/c++defs, modules/ctype, modules/dirent, modules/errno, modules/fcntl-h, modules/float, modules/fnmatch, modules/getopt-posix, modules/glob, modules/iconv-h, modules/iconv_open, modules/inttypes, modules/langinfo, modules/link-warning, modules/locale, modules/math, modules/netdb, modules/netinet_in, modules/poll-h, modules/pthread, modules/pty, modules/sched, modules/search, modules/selinux-h, modules/signal, modules/spawn, modules/stdarg, modules/stdbool, modules/stddef, modules/stdint, modules/stdio, modules/stdlib, modules/string, modules/strings, modules/sys_file, modules/sys_ioctl, modules/sys_select, modules/sys_socket, modules/sys_stat, modules/sys_time, modules/sys_times, modules/sys_utsname, modules/sys_wait, modules/sysexits, modules/termios, modules/time, modules/unistd, modules/unitypes, modules/unused-parameter, modules/warn-on-use, modules/wchar, modules/wctype (Makefile.am): Add nodist_include_HEADERS, nobase_nodist_include_HEADERS and EXTRA_HEADERS declarations for potentially installable header files. * gnulib-tool: Initialize nodist_include_HEADERS, nobase_nodist_include_HEADERS and EXTRA_HEADERS to prime for new `.*_HEADERS +=' declarations. (func_emit_lib_Makefile_am): Edit away new nodist_include_HEADERS, nobase_nodist_include_HEADERS and EXTRA_HEADERS declarations by default, reverting the Makefile.am snippets above to their original condition prior to this change *unless* the gnulib library is being installed.
author Gary V. Vaughan <gary@gnu.org>
date Mon, 11 Oct 2010 15:51:59 +0700
parents a19ace3ba849
children c1a1f592f879
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
1 Description:
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
2 SELinux-related headers for systems that lack them.
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
3
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
4 Files:
12143
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
5 lib/getfilecon.c
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
6 lib/se-context.in.h
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
7 lib/se-selinux.in.h
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
8 m4/selinux-context-h.m4
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
9 m4/selinux-selinux-h.m4
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
10
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
11 Depends-on:
10695
24d0f9902f09 se-linux-h: remove ENOTSUPP-defining code; instead, use errno
Jim Meyering <meyering@redhat.com>
parents: 10694
diff changeset
12 errno
12503
92194f05b35f selinux-h: Make generated .h files standalone.
Bruno Haible <bruno@clisp.org>
parents: 12143
diff changeset
13 unused-parameter
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
14
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
15 configure.ac:
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
16 gl_HEADERS_SELINUX_SELINUX_H
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
17 gl_HEADERS_SELINUX_CONTEXT_H
10695
24d0f9902f09 se-linux-h: remove ENOTSUPP-defining code; instead, use errno
Jim Meyering <meyering@redhat.com>
parents: 10694
diff changeset
18 AC_REQUIRE([AC_C_INLINE])
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
19
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
20 Makefile.am:
14102
f49fe7e6d028 add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents: 13761
diff changeset
21 nobase_nodist_include_HEADERS += selinux/selinux.h
f49fe7e6d028 add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents: 13761
diff changeset
22
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
23 lib_SOURCES += se-context.in.h se-selinux.in.h
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
24
12143
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
25 BUILT_SOURCES += selinux/selinux.h
12516
94cbe360f46e modules/selinux-h: Depend on $(UNUSED_PARAMETER_H).
Simon Josefsson <simon@josefsson.org>
parents: 12503
diff changeset
26 selinux/selinux.h: se-selinux.in.h $(UNUSED_PARAMETER_H)
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10703
diff changeset
27 $(AM_V_at)$(MKDIR_P) selinux
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10703
diff changeset
28 $(AM_V_GEN)rm -f $@-t $@ && \
12143
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
29 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
30 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
31 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
13761
a19ace3ba849 Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents: 12516
diff changeset
32 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
12143
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
33 -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
12503
92194f05b35f selinux-h: Make generated .h files standalone.
Bruno Haible <bruno@clisp.org>
parents: 12143
diff changeset
34 -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
12143
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
35 < $(srcdir)/se-selinux.in.h; \
d1f84df3a7a4 selinux-h: always use getfilecon wrappers
Jim Meyering <meyering@redhat.com>
parents: 12008
diff changeset
36 } > $@-t && \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10703
diff changeset
37 chmod a-x $@-t && \
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
38 mv $@-t $@
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
39 MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
40
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
41 BUILT_SOURCES += $(SELINUX_CONTEXT_H)
12516
94cbe360f46e modules/selinux-h: Depend on $(UNUSED_PARAMETER_H).
Simon Josefsson <simon@josefsson.org>
parents: 12503
diff changeset
42 selinux/context.h: se-context.in.h $(UNUSED_PARAMETER_H)
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10703
diff changeset
43 $(AM_V_at)$(MKDIR_P) selinux
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10703
diff changeset
44 $(AM_V_GEN)rm -f $@-t $@ && \
12503
92194f05b35f selinux-h: Make generated .h files standalone.
Bruno Haible <bruno@clisp.org>
parents: 12143
diff changeset
45 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
92194f05b35f selinux-h: Make generated .h files standalone.
Bruno Haible <bruno@clisp.org>
parents: 12143
diff changeset
46 sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
92194f05b35f selinux-h: Make generated .h files standalone.
Bruno Haible <bruno@clisp.org>
parents: 12143
diff changeset
47 < $(srcdir)/se-context.in.h; \
92194f05b35f selinux-h: Make generated .h files standalone.
Bruno Haible <bruno@clisp.org>
parents: 12143
diff changeset
48 } > $@-t && \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 10703
diff changeset
49 chmod a-x $@-t && \
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
50 mv $@-t $@
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
51 MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
52 MOSTLYCLEANDIRS += selinux
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
53
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
54 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
55 <selinux/selinux.h>
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
56 <selinux/context.h>
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
57
10703
e4584e8c5e4b selinux-h: search for LIB_SELINUX and mark it as a link requirement
David Lutterkort <lutter@redhat.com>
parents: 10695
diff changeset
58 Link:
e4584e8c5e4b selinux-h: search for LIB_SELINUX and mark it as a link requirement
David Lutterkort <lutter@redhat.com>
parents: 10695
diff changeset
59 $(LIB_SELINUX)
e4584e8c5e4b selinux-h: search for LIB_SELINUX and mark it as a link requirement
David Lutterkort <lutter@redhat.com>
parents: 10695
diff changeset
60
10694
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
61 License:
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
62 LGPLv2+
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
63
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
64 Maintainer:
b2b4c17db720 selinux-h: new module (from coreutils/gl/)
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
65 Jim Meyering