summaryrefslogtreecommitdiffstats
path: root/doc/internal/man7/build.info.pod
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-05-18 18:21:51 +0200
committerRichard Levitte <levitte@openssl.org>2021-05-19 19:03:16 +0200
commitdd05c7938d70b620204f2808812f3bf7c535db48 (patch)
tree2a7f1df5b485225113b4976293609e28ac58eff9 /doc/internal/man7/build.info.pod
parentb41ebb991e8bbce736cf73b9c3d6b7c3e208b2b0 (diff)
build.info: Make it possible to set attributes on SOURCE / SHARED_SOURCE stmts
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15332)
Diffstat (limited to 'doc/internal/man7/build.info.pod')
-rw-r--r--doc/internal/man7/build.info.pod14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/internal/man7/build.info.pod b/doc/internal/man7/build.info.pod
index c959f1060d..8c651b37e6 100644
--- a/doc/internal/man7/build.info.pod
+++ b/doc/internal/man7/build.info.pod
@@ -492,6 +492,17 @@ Static libraries may be sources. In that case, its object files are
used directly when building I<item> instead of relying on library
dependency and symbol resolution (through B<DEPEND> statements).
+B<SOURCE> statements may have attributes, which apply to each
+individual dependency in such a statement. For example:
+
+ SOURCE[prog]=prog_a.c
+ SOURCE[prog]{check}=prog_b.c prog_c.c
+
+With those statements, the association between C<prog> and C<prog_a.c>
+comes with no extra attributes, while the association between C<prog>
+and C<prog_b.c> as well as C<prog_c.c> comes with the extra attribute
+C<check>.
+
=item B<SHARED_SOURCE[>I<item>B<]> B<=> I<file> ...
Collects filenames that will be used as source files for I<item>.
@@ -501,6 +512,9 @@ given with B<LIBS> or B<MODULES>. For libraries, the given filenames
are only used for their shared form, so if the item is a library name
ending with C<.a>, the filenames will be ignored.
+B<SHARED_SOURCE> statements may have attributes, just as B<SOURCE>
+statements.
+
=item B<DEFINE[>I<items>B<]> B<=> I<name>[B<=>I<value>] ...
Collects I<name> / I<value> pairs (or just I<name> with no defined