2015-11-14 03:24:48 +00:00
|
|
|
.\" $FreeBSD$
|
2016-04-14 22:00:49 +00:00
|
|
|
This is an experimental build system.
|
2015-11-14 03:24:48 +00:00
|
|
|
For details see
|
|
|
|
http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
|
2016-04-14 22:00:49 +00:00
|
|
|
Build commands can be seen from the top-level with:
|
|
|
|
.Dl make show-valid-targets
|
2015-11-14 03:24:48 +00:00
|
|
|
The build is driven by dirdeps.mk using
|
|
|
|
.Va DIRDEPS
|
|
|
|
stored in
|
|
|
|
Makefile.depend files found in each directory.
|
|
|
|
.Pp
|
|
|
|
The build can be started from anywhere, and behaves the same.
|
|
|
|
The initial instance of
|
|
|
|
.Xr make 1
|
|
|
|
recursively reads
|
|
|
|
.Va DIRDEPS
|
|
|
|
from Makefile.depend
|
|
|
|
computing a graph of tree dependencies from the current origin.
|
|
|
|
Setting
|
|
|
|
.Va NO_DIRDEPS
|
|
|
|
will skip checking dirdep dependencies and will only build in the current
|
2016-04-12 03:37:42 +00:00
|
|
|
and child directories.
|
|
|
|
.Va NO_DIRDEPS_BELOW
|
|
|
|
will skip building any dirdeps and only build the current directory.
|
2015-11-14 03:24:48 +00:00
|
|
|
.Pp
|
2016-04-14 22:00:49 +00:00
|
|
|
This also utilizes the
|
|
|
|
.Va WITH_META_MODE
|
|
|
|
logic for incremental builds.
|
2015-11-14 03:24:48 +00:00
|
|
|
.Pp
|
|
|
|
The build will hide commands ran unless
|
|
|
|
.Va NO_SILENT
|
|
|
|
is defined.
|
|
|
|
.Pp
|
2016-04-14 22:00:49 +00:00
|
|
|
Note that there is currently no mass install feature for this.
|
|
|
|
.Pp
|