]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/build/options/WITH_DIRDEPS_BUILD
MFV r293125: less v481.
[FreeBSD/FreeBSD.git] / tools / build / options / WITH_DIRDEPS_BUILD
1 .\" $FreeBSD$
2 Enable building in meta mode.
3 This is an experimental build feature.
4 For details see
5 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
6 .Pp
7 The build is driven by dirdeps.mk using
8 .Va DIRDEPS
9 stored in
10 Makefile.depend files found in each directory.
11 .Pp
12 The build can be started from anywhere, and behaves the same.
13 The initial instance of
14 .Xr make 1 
15 recursively reads
16 .Va DIRDEPS
17 from Makefile.depend
18 computing a graph of tree dependencies from the current origin.
19 Setting
20 .Va NO_DIRDEPS
21 will skip checking dirdep dependencies and will only build in the current
22 directory.
23 .Pp
24 As each target is made
25 .Xr make 1
26 produces a meta file which is used to capture (and compare)
27 the command line,
28 as well as any command output.
29 If
30 .Xr filemon 4
31 is available the meta file will also capture a record of files
32 used to produce the target by tracking syscalls.
33 .Pp
34 The build will hide commands ran unless
35 .Va NO_SILENT
36 is defined.
37 .Pp