summaryrefslogtreecommitdiff
path: root/bmake.cat1
diff options
context:
space:
mode:
Diffstat (limited to 'bmake.cat1')
-rw-r--r--bmake.cat125
1 files changed, 16 insertions, 9 deletions
diff --git a/bmake.cat1 b/bmake.cat1
index 6aa6f382d54b..8e58f40309ff 100644
--- a/bmake.cat1
+++ b/bmake.cat1
@@ -444,24 +444,24 @@ BMAKE(1) FreeBSD General Commands Manual BMAKE(1)
Variables that are defined specific to a certain target.
Local variables can be set on a dependency line, if
- .MAKE.TARGET_LOCAL_VARIABLES, is not set to `false'. The rest of the
- line (which will already have had Global variables expanded), is the
- variable value. For example:
+ .MAKE.TARGET_LOCAL_VARIABLES is not set to `false'. The rest of the line
+ (which will already have had global variables expanded) is the variable
+ value. For example:
- COMPILER_WRAPPERS+= ccache distcc icecc
+ COMPILER_WRAPPERS= ccache distcc icecc
${OBJS}: .MAKE.META.CMP_FILTER=${COMPILER_WRAPPERS:S,^,N,}
Only the targets `${OBJS}' will be impacted by that filter (in "meta"
- mode) and simply enabling/disabling any of the wrappers will not render
- all of those targets out-of-date.
+ mode) and simply enabling/disabling any of the compiler wrappers will not
+ render all of those targets out-of-date.
- NOTE: target local variable assignments behave differently in that;
+ NOTE: target-local variable assignments behave differently in that;
+= Only appends to a previous local assignment for the same
target and variable.
- := Is redundant with respect to Global variables, which have
+ := Is redundant with respect to global variables, which have
already been expanded.
The seven built-in local variables are as follows:
@@ -1468,6 +1468,13 @@ BMAKE(1) FreeBSD General Commands Manual BMAKE(1)
.PHONY Apply the .PHONY attribute to any specified sources.
+ .POSIX This should be the first non-comment line in a Makefile. It re-
+ sults in the variable %POSIX being defined with the value
+ `1003.2'. The first time .POSIX is encountered, the makefile
+ `posix.mk' will be included if possible, to provide POSIX com-
+ patible default rules. If bmake is run with the -r flag, then
+ only `posix.mk' will contribute to the default rules.
+
.PRECIOUS
Apply the .PRECIOUS attribute to any specified sources. If no
sources are specified, the .PRECIOUS attribute is applied to ev-
@@ -1622,4 +1629,4 @@ BMAKE(1) FreeBSD General Commands Manual BMAKE(1)
There is no way of escaping a space character in a filename.
-FreeBSD 13.0 January 28, 2022 FreeBSD 13.0
+FreeBSD 13.0 March 24, 2022 FreeBSD 13.0