]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/src.conf.5
Update llvm, clang, lld and lldb to release_39 branch r288513.
[FreeBSD/FreeBSD.git] / share / man / man5 / src.conf.5
1 .\" DO NOT EDIT-- this file is automatically generated.
2 .\" from FreeBSD: head/tools/build/options/makeman 306729 2016-10-05 20:12:00Z emaste
3 .\" $FreeBSD$
4 .Dd October 15, 2016
5 .Dt SRC.CONF 5
6 .Os
7 .Sh NAME
8 .Nm src.conf
9 .Nd "source build options"
10 .Sh DESCRIPTION
11 The
12 .Nm
13 file contains settings that will apply to every build involving the
14 .Fx
15 source tree; see
16 .Xr build 7 .
17 .Pp
18 The
19 .Nm
20 file uses the standard makefile syntax.
21 However,
22 .Nm
23 should not specify any dependencies to
24 .Xr make 1 .
25 Instead,
26 .Nm
27 is to set
28 .Xr make 1
29 variables that control the aspects of how the system builds.
30 .Pp
31 The default location of
32 .Nm
33 is
34 .Pa /etc/src.conf ,
35 though an alternative location can be specified in the
36 .Xr make 1
37 variable
38 .Va SRCCONF .
39 Overriding the location of
40 .Nm
41 may be necessary if the system-wide settings are not suitable
42 for a particular build.
43 For instance, setting
44 .Va SRCCONF
45 to
46 .Pa /dev/null
47 effectively resets all build controls to their defaults.
48 .Pp
49 The only purpose of
50 .Nm
51 is to control the compilation of the
52 .Fx
53 source code, which is usually located in
54 .Pa /usr/src .
55 As a rule, the system administrator creates
56 .Nm
57 when the values of certain control variables need to be changed
58 from their defaults.
59 .Pp
60 In addition, control variables can be specified
61 for a particular build via the
62 .Fl D
63 option of
64 .Xr make 1
65 or in its environment; see
66 .Xr environ 7 .
67 .Pp
68 The environment of
69 .Xr make 1
70 for the build can be controlled via the
71 .Va SRC_ENV_CONF
72 variable, which defaults to
73 .Pa /etc/src-env.conf .
74 Some examples that may only be set in this file are
75 .Va WITH_DIRDEPS_BUILD ,
76 and
77 .Va WITH_META_MODE
78 as they are environment-only variables.
79 Note that
80 .Va MAKEOBJDIRPREFIX
81 may be set here only when using
82 .Va WITH_DIRDEPS_BUILD .
83 .Pp
84 The values of variables are ignored regardless of their setting;
85 even if they would be set to
86 .Dq Li FALSE
87 or
88 .Dq Li NO .
89 Just the existence of an option will cause
90 it to be honoured by
91 .Xr make 1 .
92 .Pp
93 The following list provides a name and short description for variables
94 that can be used for source builds.
95 .Bl -tag -width indent
96 .It Va WITHOUT_ACCT
97 .\" from FreeBSD: head/tools/build/options/WITHOUT_ACCT 223201 2011-06-17 20:47:44Z ed
98 Set to not build process accounting tools such as
99 .Xr accton 8
100 and
101 .Xr sa 8 .
102 .It Va WITHOUT_ACPI
103 .\" from FreeBSD: head/tools/build/options/WITHOUT_ACPI 156932 2006-03-21 07:50:50Z ru
104 Set to not build
105 .Xr acpiconf 8 ,
106 .Xr acpidump 8
107 and related programs.
108 .It Va WITHOUT_AMD
109 .\" from FreeBSD: head/tools/build/options/WITHOUT_AMD 183242 2008-09-21 22:02:26Z sam
110 Set to not build
111 .Xr amd 8 ,
112 and related programs.
113 .It Va WITHOUT_APM
114 .\" from FreeBSD: head/tools/build/options/WITHOUT_APM 183242 2008-09-21 22:02:26Z sam
115 Set to not build
116 .Xr apm 8 ,
117 .Xr apmd 8
118 and related programs.
119 .It Va WITHOUT_ASSERT_DEBUG
120 .\" from FreeBSD: head/tools/build/options/WITHOUT_ASSERT_DEBUG 162215 2006-09-11 13:55:27Z ru
121 Set to compile programs and libraries without the
122 .Xr assert 3
123 checks.
124 .It Va WITHOUT_AT
125 .\" from FreeBSD: head/tools/build/options/WITHOUT_AT 183242 2008-09-21 22:02:26Z sam
126 Set to not build
127 .Xr at 1
128 and related utilities.
129 .It Va WITHOUT_ATM
130 .\" from FreeBSD: head/tools/build/options/WITHOUT_ATM 156932 2006-03-21 07:50:50Z ru
131 Set to not build
132 programs and libraries related to ATM networking.
133 .It Va WITHOUT_AUDIT
134 .\" from FreeBSD: head/tools/build/options/WITHOUT_AUDIT 156932 2006-03-21 07:50:50Z ru
135 Set to not build audit support into system programs.
136 .It Va WITHOUT_AUTHPF
137 .\" from FreeBSD: head/tools/build/options/WITHOUT_AUTHPF 156932 2006-03-21 07:50:50Z ru
138 Set to not build
139 .Xr authpf 8 .
140 .It Va WITHOUT_AUTOFS
141 .\" from FreeBSD: head/tools/build/options/WITHOUT_AUTOFS 296264 2016-03-01 11:36:10Z trasz
142 Set to not build
143 .Xr autofs 5
144 related programs, libraries, and kernel modules.
145 .It Va WITH_AUTO_OBJ
146 .\" from FreeBSD: head/tools/build/options/WITH_AUTO_OBJ 284708 2015-06-22 20:21:57Z sjg
147 Enable automatic creation of objdirs.
148 .Pp
149 This must be set in the environment, make command line, or
150 .Pa /etc/src-env.conf ,
151 not
152 .Pa /etc/src.conf .
153 .It Va WITHOUT_BHYVE
154 .\" from FreeBSD: head/tools/build/options/WITHOUT_BHYVE 277727 2015-01-26 06:44:48Z ngie
155 Set to not build or install
156 .Xr bhyve 8 ,
157 associated utilities, and examples.
158 .Pp
159 This option only affects amd64/amd64.
160 .It Va WITHOUT_BINUTILS
161 .\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS 286332 2015-08-05 18:30:00Z emaste
162 Set to not build or install binutils (as, ld, objcopy, and objdump ) as part
163 of the normal system build.
164 The resulting system cannot build programs from source.
165 .Pp
166 It is a default setting on
167 arm64/aarch64.
168 .It Va WITH_BINUTILS
169 .\" from FreeBSD: head/tools/build/options/WITH_BINUTILS 295491 2016-02-11 00:14:00Z emaste
170 Set to build and install binutils (as, ld, objcopy, and objdump) as part
171 of the normal system build.
172 .Pp
173 It is a default setting on
174 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
175 .It Va WITHOUT_BINUTILS_BOOTSTRAP
176 .\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS_BOOTSTRAP 295490 2016-02-10 23:57:09Z emaste
177 Set to not build binutils (as, ld, objcopy and objdump)
178 as part of the bootstrap process.
179 .Bf -symbolic
180 The option does not work for build targets unless some alternative
181 toolchain is provided.
182 .Ef
183 .Pp
184 It is a default setting on
185 arm64/aarch64.
186 .It Va WITH_BINUTILS_BOOTSTRAP
187 .\" from FreeBSD: head/tools/build/options/WITH_BINUTILS_BOOTSTRAP 295491 2016-02-11 00:14:00Z emaste
188 Set build binutils (as, ld, objcopy and objdump)
189 as part of the bootstrap process.
190 .Pp
191 It is a default setting on
192 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
193 .It Va WITHOUT_BLACKLIST
194 .\" from FreeBSD: head/tools/build/options/WITHOUT_BLACKLIST 301554 2016-06-07 16:35:55Z lidl
195 Set this if you do not want to build blacklistd / blacklistctl.
196 When set, it also enforces the following options:
197 .Pp
198 .Bl -item -compact
199 .It
200 .Va WITHOUT_BLACKLIST_SUPPORT
201 .El
202 .It Va WITHOUT_BLACKLIST_SUPPORT
203 .\" from FreeBSD: head/tools/build/options/WITHOUT_BLACKLIST_SUPPORT 301554 2016-06-07 16:35:55Z lidl
204 Set to build some programs without blacklistd support, like
205 .Xr fingerd 8 ,
206 .Xr ftpd 8 ,
207 .Xr rlogind 8 ,
208 .Xr rshd 8 ,
209 and
210 .Xr sshd 8 .
211 .It Va WITHOUT_BLUETOOTH
212 .\" from FreeBSD: head/tools/build/options/WITHOUT_BLUETOOTH 156932 2006-03-21 07:50:50Z ru
213 Set to not build Bluetooth related kernel modules, programs and libraries.
214 .It Va WITHOUT_BOOT
215 .\" from FreeBSD: head/tools/build/options/WITHOUT_BOOT 156932 2006-03-21 07:50:50Z ru
216 Set to not build the boot blocks and loader.
217 .It Va WITHOUT_BOOTPARAMD
218 .\" from FreeBSD: head/tools/build/options/WITHOUT_BOOTPARAMD 278192 2015-02-04 10:19:32Z ngie
219 Set to not build or install
220 .Xr bootparamd 8 .
221 .It Va WITHOUT_BOOTPD
222 .\" from FreeBSD: head/tools/build/options/WITHOUT_BOOTPD 278192 2015-02-04 10:19:32Z ngie
223 Set to not build or install
224 .Xr bootpd 8 .
225 .It Va WITHOUT_BSDINSTALL
226 .\" from FreeBSD: head/tools/build/options/WITHOUT_BSDINSTALL 277677 2015-01-25 04:43:13Z ngie
227 Set to not build
228 .Xr bsdinstall 8 ,
229 .Xr sade 8 ,
230 and related programs.
231 .It Va WITHOUT_BSD_CPIO
232 .\" from FreeBSD: head/tools/build/options/WITHOUT_BSD_CPIO 179813 2008-06-16 05:48:15Z dougb
233 Set to not build the BSD licensed version of cpio based on
234 .Xr libarchive 3 .
235 .It Va WITH_BSD_GREP
236 .\" from FreeBSD: head/tools/build/options/WITH_BSD_GREP 222273 2011-05-25 01:04:12Z obrien
237 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
238 .It Va WITHOUT_BSNMP
239 .\" from FreeBSD: head/tools/build/options/WITHOUT_BSNMP 183306 2008-09-23 16:15:42Z sam
240 Set to not build or install
241 .Xr bsnmpd 1
242 and related libraries and data files.
243 .It Va WITHOUT_BZIP2
244 .\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2 174550 2007-12-12 16:43:17Z ru
245 Set to not build contributed bzip2 software as a part of the base system.
246 .Bf -symbolic
247 The option has no effect yet.
248 .Ef
249 When set, it also enforces the following options:
250 .Pp
251 .Bl -item -compact
252 .It
253 .Va WITHOUT_BZIP2_SUPPORT
254 .El
255 .It Va WITHOUT_BZIP2_SUPPORT
256 .\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2_SUPPORT 166255 2007-01-26 10:19:08Z delphij
257 Set to build some programs without optional bzip2 support.
258 .It Va WITHOUT_CALENDAR
259 .\" from FreeBSD: head/tools/build/options/WITHOUT_CALENDAR 156932 2006-03-21 07:50:50Z ru
260 Set to not build
261 .Xr calendar 1 .
262 .It Va WITHOUT_CAPSICUM
263 .\" from FreeBSD: head/tools/build/options/WITHOUT_CAPSICUM 229319 2012-01-02 21:57:58Z rwatson
264 Set to not build Capsicum support into system programs.
265 .It Va WITHOUT_CASPER
266 .\" from FreeBSD: head/tools/build/options/WITHOUT_CASPER 258838 2013-12-02 08:21:28Z pjd
267 Set to not build Casper program and related libraries.
268 .It Va WITH_CCACHE_BUILD
269 .\" from FreeBSD: head/tools/build/options/WITH_CCACHE_BUILD 297436 2016-03-30 23:53:12Z bdrewery
270 Set to use
271 .Xr ccache 1
272 for the build.
273 No configuration is required except to install the
274 .Sy devel/ccache
275 package.
276 Using with
277 .Xr distcc 1
278 should set
279 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
280 The default cache directory of
281 .Pa $HOME/.ccache
282 will be used, which can be overridden by setting
283 .Sy CCACHE_DIR .
284 The
285 .Sy CCACHE_COMPILERCHECK
286 option defaults to
287 .Sy content
288 when using the in-tree bootstrap compiler,
289 and
290 .Sy mtime
291 when using an external compiler.
292 The
293 .Sy CCACHE_CPP2
294 option is used for Clang but not GCC.
295 .Pp
296 Sharing a cache between multiple work directories requires using a layout
297 similar to
298 .Pa /some/prefix/src
299 .Pa /some/prefix/obj
300 and an environment such as:
301 .Bd -literal -offset indent
302 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
303 .Ed
304 .Pp
305 See
306 .Xr ccache 1
307 for more configuration options.
308 .It Va WITHOUT_CCD
309 .\" from FreeBSD: head/tools/build/options/WITHOUT_CCD 277678 2015-01-25 04:52:48Z ngie
310 Set to not build
311 .Xr geom_ccd 4
312 and related utilities.
313 .It Va WITHOUT_CDDL
314 .\" from FreeBSD: head/tools/build/options/WITHOUT_CDDL 163861 2006-11-01 09:02:11Z jb
315 Set to not build code licensed under Sun's CDDL.
316 When set, it also enforces the following options:
317 .Pp
318 .Bl -item -compact
319 .It
320 .Va WITHOUT_CTF
321 .It
322 .Va WITHOUT_ZFS
323 .El
324 .It Va WITHOUT_CLANG
325 .\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG 264660 2014-04-18 17:03:58Z imp
326 Set to not build the Clang C/C++ compiler during the regular phase of the build.
327 .Pp
328 It is a default setting on
329 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and sparc64/sparc64.
330 When set, it also enforces the following options:
331 .Pp
332 .Bl -item -compact
333 .It
334 .Va WITHOUT_CLANG_EXTRAS
335 .It
336 .Va WITHOUT_CLANG_FULL
337 .El
338 .It Va WITH_CLANG
339 .\" from FreeBSD: head/tools/build/options/WITH_CLANG 264660 2014-04-18 17:03:58Z imp
340 Set to build the Clang C/C++ compiler during the normal phase of the build.
341 .Pp
342 It is a default setting on
343 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
344 .It Va WITHOUT_CLANG_BOOTSTRAP
345 .\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
346 Set to not build the Clang C/C++ compiler during the bootstrap phase of the build.
347 You must enable either gcc or clang bootstrap to be able to build the system,
348 unless an alternative compiler is provided via
349 XCC.
350 .Pp
351 It is a default setting on
352 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
353 .It Va WITH_CLANG_BOOTSTRAP
354 .\" from FreeBSD: head/tools/build/options/WITH_CLANG_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
355 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
356 .Pp
357 It is a default setting on
358 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
359 .It Va WITH_CLANG_EXTRAS
360 .\" from FreeBSD: head/tools/build/options/WITH_CLANG_EXTRAS 231057 2012-02-05 23:56:22Z dim
361 Set to build additional clang and llvm tools, such as bugpoint.
362 .It Va WITHOUT_CLANG_FULL
363 .\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_FULL 246259 2013-02-02 22:28:29Z dim
364 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
365 the Clang C/C++ compiler.
366 .Pp
367 It is a default setting on
368 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and sparc64/sparc64.
369 .It Va WITH_CLANG_FULL
370 .\" from FreeBSD: head/tools/build/options/WITH_CLANG_FULL 246259 2013-02-02 22:28:29Z dim
371 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
372 Clang C/C++ compiler.
373 .Pp
374 It is a default setting on
375 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
376 .It Va WITHOUT_CLANG_IS_CC
377 .\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_IS_CC 242629 2012-11-05 21:53:23Z brooks
378 Set to install the GCC compiler as
379 .Pa /usr/bin/cc ,
380 .Pa /usr/bin/c++
381 and
382 .Pa /usr/bin/cpp .
383 .Pp
384 It is a default setting on
385 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
386 .It Va WITH_CLANG_IS_CC
387 .\" from FreeBSD: head/tools/build/options/WITH_CLANG_IS_CC 235342 2012-05-12 16:12:36Z gjb
388 Set to install the Clang C/C++ compiler as
389 .Pa /usr/bin/cc ,
390 .Pa /usr/bin/c++
391 and
392 .Pa /usr/bin/cpp .
393 .Pp
394 It is a default setting on
395 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
396 .It Va WITHOUT_CPP
397 .\" from FreeBSD: head/tools/build/options/WITHOUT_CPP 156932 2006-03-21 07:50:50Z ru
398 Set to not build
399 .Xr cpp 1 .
400 .It Va WITHOUT_CROSS_COMPILER
401 .\" from FreeBSD: head/tools/build/options/WITHOUT_CROSS_COMPILER 275138 2014-11-26 20:43:09Z gjb
402 Set to not build any cross compiler in the cross-tools stage of buildworld.
403 If you are compiling a different version of
404 .Fx
405 than what is installed on the system, you will need to provide an alternate
406 compiler with XCC to ensure success.
407 If you are compiling with an identical version of
408 .Fx
409 to the host, this option may be safely used.
410 This option may also be safe when the host version of
411 .Fx
412 is close to the sources being built, but all bets are off if there have
413 been any changes to the toolchain between the versions.
414 When set, it also enforces the following options:
415 .Pp
416 .Bl -item -compact
417 .It
418 .Va WITHOUT_BINUTILS_BOOTSTRAP
419 .It
420 .Va WITHOUT_CLANG_BOOTSTRAP
421 .It
422 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
423 .It
424 .Va WITHOUT_GCC_BOOTSTRAP
425 .El
426 .It Va WITHOUT_CRYPT
427 .\" from FreeBSD: head/tools/build/options/WITHOUT_CRYPT 156932 2006-03-21 07:50:50Z ru
428 Set to not build any crypto code.
429 When set, it also enforces the following options:
430 .Pp
431 .Bl -item -compact
432 .It
433 .Va WITHOUT_KERBEROS
434 .It
435 .Va WITHOUT_KERBEROS_SUPPORT
436 .It
437 .Va WITHOUT_OPENSSH
438 .It
439 .Va WITHOUT_OPENSSL
440 .El
441 .Pp
442 When set, the following options are also in effect:
443 .Pp
444 .Bl -inset -compact
445 .It Va WITHOUT_GSSAPI
446 (unless
447 .Va WITH_GSSAPI
448 is set explicitly)
449 .El
450 .It Va WITH_CTF
451 .\" from FreeBSD: head/tools/build/options/WITH_CTF 228159 2011-11-30 18:22:44Z fjoe
452 Set to compile with CTF (Compact C Type Format) data.
453 CTF data encapsulates a reduced form of debugging information
454 similar to DWARF and the venerable stabs and is required for DTrace.
455 .It Va WITHOUT_CTM
456 .\" from FreeBSD: head/tools/build/options/WITHOUT_CTM 183242 2008-09-21 22:02:26Z sam
457 Set to not build
458 .Xr ctm 1
459 and related utilities.
460 .It Va WITHOUT_CUSE
461 .\" from FreeBSD: head/tools/build/options/WITHOUT_CUSE 270171 2014-08-19 15:40:26Z hselasky
462 Set to not build CUSE-related programs and libraries.
463 .It Va WITHOUT_CXX
464 .\" from FreeBSD: head/tools/build/options/WITHOUT_CXX 281053 2015-04-03 23:55:04Z bdrewery
465 Set to not build
466 .Xr c++ 1
467 and related libraries.
468 It will also prevent building of
469 .Xr gperf 1
470 and
471 .Xr devd 8 .
472 When set, it also enforces the following options:
473 .Pp
474 .Bl -item -compact
475 .It
476 .Va WITHOUT_CLANG
477 .It
478 .Va WITHOUT_CLANG_EXTRAS
479 .It
480 .Va WITHOUT_CLANG_FULL
481 .It
482 .Va WITHOUT_DTRACE_TESTS
483 .It
484 .Va WITHOUT_GNUCXX
485 .It
486 .Va WITHOUT_GROFF
487 .It
488 .Va WITHOUT_TESTS
489 .It
490 .Va WITHOUT_TESTS_SUPPORT
491 .El
492 .It Va WITHOUT_DEBUG_FILES
493 .\" from FreeBSD: head/tools/build/options/WITHOUT_DEBUG_FILES 290059 2015-10-27 20:49:56Z emaste
494 Set to avoid building or installing standalone debug files for each
495 executable binary and shared library.
496 .It Va WITHOUT_DIALOG
497 .\" from FreeBSD: head/tools/build/options/WITHOUT_DIALOG 306375 2016-09-27 18:08:38Z emaste
498 Set to not build dialog(1), dialog(1,3), and dpv(1,3).
499 When set, it also enforces the following options:
500 .Pp
501 .Bl -item -compact
502 .It
503 .Va WITHOUT_BSDINSTALL
504 .El
505 .It Va WITHOUT_DICT
506 .\" from FreeBSD: head/tools/build/options/WITHOUT_DICT 156932 2006-03-21 07:50:50Z ru
507 Set to not build the Webster dictionary files.
508 .It Va WITH_DIRDEPS_BUILD
509 .\" from FreeBSD: head/tools/build/options/WITH_DIRDEPS_BUILD 298007 2016-04-14 22:00:49Z bdrewery
510 This is an experimental build system.
511 For details see
512 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
513 Build commands can be seen from the top-level with:
514 .Dl make show-valid-targets
515 The build is driven by dirdeps.mk using
516 .Va DIRDEPS
517 stored in
518 Makefile.depend files found in each directory.
519 .Pp
520 The build can be started from anywhere, and behaves the same.
521 The initial instance of
522 .Xr make 1 
523 recursively reads
524 .Va DIRDEPS
525 from Makefile.depend
526 computing a graph of tree dependencies from the current origin.
527 Setting
528 .Va NO_DIRDEPS
529 will skip checking dirdep dependencies and will only build in the current
530 and child directories.
531 .Va NO_DIRDEPS_BELOW
532 will skip building any dirdeps and only build the current directory.
533 .Pp
534 This also utilizes the
535 .Va WITH_META_MODE
536 logic for incremental builds.
537 .Pp
538 The build will hide commands ran unless
539 .Va NO_SILENT
540 is defined.
541 .Pp
542 Note that there is currently no mass install feature for this.
543 .Pp
544 When set, it also enforces the following options:
545 .Pp
546 .Bl -item -compact
547 .It
548 .Va WITH_INSTALL_AS_USER
549 .El
550 .Pp
551 When set, the following options are also in effect:
552 .Pp
553 .Bl -inset -compact
554 .It Va WITH_AUTO_OBJ
555 (unless
556 .Va WITHOUT_AUTO_OBJ
557 is set explicitly)
558 .It Va WITH_META_MODE
559 (unless
560 .Va WITHOUT_META_MODE
561 is set explicitly)
562 .It Va WITH_STAGING
563 (unless
564 .Va WITHOUT_STAGING
565 is set explicitly)
566 .It Va WITH_STAGING_MAN
567 (unless
568 .Va WITHOUT_STAGING_MAN
569 is set explicitly)
570 .It Va WITH_STAGING_PROG
571 (unless
572 .Va WITHOUT_STAGING_PROG
573 is set explicitly)
574 .It Va WITH_SYSROOT
575 (unless
576 .Va WITHOUT_SYSROOT
577 is set explicitly)
578 .El
579 .Pp
580 This must be set in the environment, make command line, or
581 .Pa /etc/src-env.conf ,
582 not
583 .Pa /etc/src.conf .
584 .It Va WITH_DIRDEPS_CACHE
585 .\" from FreeBSD: head/tools/build/options/WITH_DIRDEPS_CACHE 290816 2015-11-14 03:24:48Z sjg
586 Cache result of dirdeps.mk which can save significant time
587 for subsequent builds.
588 Depends on
589 .Va WITH_DIRDEPS_BUILD .
590 .Pp
591 This must be set in the environment, make command line, or
592 .Pa /etc/src-env.conf ,
593 not
594 .Pa /etc/src.conf .
595 .It Va WITHOUT_DMAGENT
596 .\" from FreeBSD: head/tools/build/options/WITHOUT_DMAGENT 262335 2014-02-22 13:05:23Z bapt
597 Set to not build dma Mail Transport Agent
598 .It Va WITHOUT_DOCCOMPRESS
599 .\" from FreeBSD: head/tools/build/options/WITHOUT_DOCCOMPRESS 266752 2014-05-27 15:52:27Z gjb
600 Set to not to install compressed system documentation.
601 Only the uncompressed version will be installed.
602 .It Va WITH_DTRACE_TESTS
603 .\" from FreeBSD: head/tools/build/options/WITH_DTRACE_TESTS 286174 2015-08-02 00:37:33Z markj
604 Set to build and install the DTrace test suite in
605 .Pa /usr/tests/cddl/usr.sbin/dtrace .
606 This test suite is considered experimental on architectures other than
607 amd64/amd64 and running it may cause system instability.
608 .It Va WITHOUT_DYNAMICROOT
609 .\" from FreeBSD: head/tools/build/options/WITHOUT_DYNAMICROOT 156932 2006-03-21 07:50:50Z ru
610 Set this if you do not want to link
611 .Pa /bin
612 and
613 .Pa /sbin
614 dynamically.
615 .It Va WITHOUT_ED_CRYPTO
616 .\" from FreeBSD: head/tools/build/options/WITHOUT_ED_CRYPTO 235660 2012-05-19 20:05:27Z marcel
617 Set to build
618 .Xr ed 1
619 without support for encryption/decryption.
620 .It Va WITHOUT_EE
621 .\" from FreeBSD: head/tools/build/options/WITHOUT_EE 277663 2015-01-25 00:03:44Z ngie
622 Set to not build and install
623 .Xr edit 1 ,
624 .Xr ee 1 ,
625 and related programs.
626 .It Va WITH_EISA
627 .\" from FreeBSD: head/tools/build/options/WITH_EISA 264654 2014-04-18 16:53:06Z imp
628 Set to build EISA kernel modules.
629 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
630 .\" from FreeBSD: head/tools/build/options/WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 295491 2016-02-11 00:14:00Z emaste
631 Set to not build ELF Tool Chain tools
632 (addr2line, nm, size, strings and strip)
633 as part of the bootstrap process.
634 .Bf -symbolic
635 An alternate bootstrap tool chain must be provided.
636 .Ef
637 .It Va WITHOUT_EXAMPLES
638 .\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 09:06:24Z ru
639 Set to avoid installing examples to
640 .Pa /usr/share/examples/ .
641 .It Va WITH_EXTRA_TCP_STACKS
642 .\" from FreeBSD: head/tools/build/options/WITH_EXTRA_TCP_STACKS 302247 2016-06-28 13:37:01Z jtl
643 Set to build extra TCP stack modules.
644 .It Va WITHOUT_FDT
645 .\" from FreeBSD: head/tools/build/options/WITHOUT_FDT 221539 2011-05-06 19:10:27Z ru
646 Set to not build Flattened Device Tree support as part of the base system.
647 This includes the device tree compiler (dtc) and libfdt support library.
648 .It Va WITHOUT_FILE
649 .\" from FreeBSD: head/tools/build/options/WITHOUT_FILE 278193 2015-02-04 10:24:40Z ngie
650 Set to not build
651 .Xr file 1
652 and related programs.
653 .It Va WITHOUT_FINGER
654 .\" from FreeBSD: head/tools/build/options/WITHOUT_FINGER 278192 2015-02-04 10:19:32Z ngie
655 Set to not build or install
656 .Xr finger 1
657 and
658 .Xr fingerd 8 .
659 .It Va WITHOUT_FLOPPY
660 .\" from FreeBSD: head/tools/build/options/WITHOUT_FLOPPY 221540 2011-05-06 19:13:03Z ru
661 Set to not build or install programs
662 for operating floppy disk driver.
663 .It Va WITHOUT_FMTREE
664 .\" from FreeBSD: head/tools/build/options/WITHOUT_FMTREE 261299 2014-01-30 21:37:43Z brooks
665 Set to not build and install
666 .Pa /usr/sbin/fmtree .
667 .It Va WITHOUT_FORMAT_EXTENSIONS
668 .\" from FreeBSD: head/tools/build/options/WITHOUT_FORMAT_EXTENSIONS 250658 2013-05-15 13:04:10Z brooks
669 Set to not enable
670 .Fl fformat-extensions
671 when compiling the kernel.
672 Also disables all format checking.
673 .It Va WITHOUT_FORTH
674 .\" from FreeBSD: head/tools/build/options/WITHOUT_FORTH 156932 2006-03-21 07:50:50Z ru
675 Set to build bootloaders without Forth support.
676 .It Va WITHOUT_FP_LIBC
677 .\" from FreeBSD: head/tools/build/options/WITHOUT_FP_LIBC 156932 2006-03-21 07:50:50Z ru
678 Set to build
679 .Nm libc
680 without floating-point support.
681 .It Va WITHOUT_FREEBSD_UPDATE
682 .\" from FreeBSD: head/tools/build/options/WITHOUT_FREEBSD_UPDATE 183242 2008-09-21 22:02:26Z sam
683 Set to not build
684 .Xr freebsd-update 8 .
685 .It Va WITHOUT_FTP
686 .\" from FreeBSD: head/tools/build/options/WITHOUT_FTP 278192 2015-02-04 10:19:32Z ngie
687 Set to not build or install
688 .Xr ftp 1
689 and
690 .Xr ftpd 8 .
691 .It Va WITHOUT_GAMES
692 .\" from FreeBSD: head/tools/build/options/WITHOUT_GAMES 156932 2006-03-21 07:50:50Z ru
693 Set to not build games.
694 .It Va WITHOUT_GCC
695 .\" from FreeBSD: head/tools/build/options/WITHOUT_GCC 264660 2014-04-18 17:03:58Z imp
696 Set to not build and install gcc and g++ as part of the normal build process.
697 .Pp
698 It is a default setting on
699 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
700 .It Va WITH_GCC
701 .\" from FreeBSD: head/tools/build/options/WITH_GCC 255326 2013-09-06 20:49:48Z zeising
702 Set to build and install gcc and g++.
703 .Pp
704 It is a default setting on
705 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
706 .It Va WITHOUT_GCC_BOOTSTRAP
707 .\" from FreeBSD: head/tools/build/options/WITHOUT_GCC_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
708 Set to not build gcc and g++ as part of the bootstrap process.
709 You must enable either gcc or clang bootstrap to be able to build the system,
710 unless an alternative compiler is provided via
711 XCC.
712 .Pp
713 It is a default setting on
714 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
715 .It Va WITH_GCC_BOOTSTRAP
716 .\" from FreeBSD: head/tools/build/options/WITH_GCC_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
717 Set to build gcc and g++ as part of the bootstrap process.
718 .Pp
719 It is a default setting on
720 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
721 .It Va WITHOUT_GCOV
722 .\" from FreeBSD: head/tools/build/options/WITHOUT_GCOV 156932 2006-03-21 07:50:50Z ru
723 Set to not build the
724 .Xr gcov 1
725 tool.
726 .It Va WITHOUT_GDB
727 .\" from FreeBSD: head/tools/build/options/WITHOUT_GDB 156932 2006-03-21 07:50:50Z ru
728 Set to not build
729 .Xr gdb 1 .
730 .Pp
731 It is a default setting on
732 arm64/aarch64.
733 .It Va WITH_GDB
734 .\" from FreeBSD: head/tools/build/options/WITH_GDB 295493 2016-02-11 00:30:51Z emaste
735 Set to build
736 .Xr gdb 1 .
737 .Pp
738 It is a default setting on
739 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
740 .It Va WITHOUT_GNU
741 .\" from FreeBSD: head/tools/build/options/WITHOUT_GNU 174550 2007-12-12 16:43:17Z ru
742 Set to not build contributed GNU software as a part of the base system.
743 This option can be useful if the system built must not contain any code
744 covered by the GNU Public License due to legal reasons.
745 .Bf -symbolic
746 The option has no effect yet.
747 .Ef
748 When set, it also enforces the following options:
749 .Pp
750 .Bl -item -compact
751 .It
752 .Va WITHOUT_GNU_SUPPORT
753 .El
754 .It Va WITHOUT_GNUCXX
755 .\" from FreeBSD: head/tools/build/options/WITHOUT_GNUCXX 255321 2013-09-06 20:08:03Z theraven
756 Do not build the GNU C++ stack (g++, libstdc++).
757 This is the default on platforms where clang is the system compiler.
758 .Pp
759 It is a default setting on
760 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
761 .It Va WITH_GNUCXX
762 .\" from FreeBSD: head/tools/build/options/WITH_GNUCXX 255321 2013-09-06 20:08:03Z theraven
763 Build the GNU C++ stack (g++, libstdc++).
764 This is the default on platforms where gcc is the system compiler.
765 .Pp
766 It is a default setting on
767 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
768 .It Va WITHOUT_GNU_GREP_COMPAT
769 .\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT 273421 2014-10-21 20:44:33Z emaste
770 Set this option to omit the gnu extensions to grep from being included in
771 BSD grep.
772 .It Va WITHOUT_GNU_SUPPORT
773 .\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_SUPPORT 156932 2006-03-21 07:50:50Z ru
774 Set to build some programs without optional GNU support.
775 .It Va WITHOUT_GPIO
776 .\" from FreeBSD: head/tools/build/options/WITHOUT_GPIO 228081 2011-11-28 17:54:34Z dim
777 Set to not build
778 .Xr gpioctl 8
779 as part of the base system.
780 .It Va WITHOUT_GPL_DTC
781 .\" from FreeBSD: head/tools/build/options/WITHOUT_GPL_DTC 264515 2014-04-15 20:41:55Z imp
782 Set to build the BSD licensed version of the device tree compiler, instead of the
783 GPL'd one from elinux.org.
784 .It Va WITHOUT_GROFF
785 .\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs
786 Set to not build
787 .Xr groff 1
788 and
789 .Xr vgrind 1 .
790 You should consider installing the textproc/groff port to not break
791 .Xr man 1 .
792 .It Va WITHOUT_GSSAPI
793 .\" from FreeBSD: head/tools/build/options/WITHOUT_GSSAPI 174548 2007-12-12 16:39:32Z ru
794 Set to not build libgssapi.
795 .It Va WITHOUT_HAST
796 .\" from FreeBSD: head/tools/build/options/WITHOUT_HAST 277725 2015-01-26 06:27:07Z ngie
797 Set to not build
798 .Xr hastd 8
799 and related utilities.
800 .It Va WITH_HESIOD
801 .\" from FreeBSD: head/tools/build/options/WITH_HESIOD 156932 2006-03-21 07:50:50Z ru
802 Set to build Hesiod support.
803 .It Va WITHOUT_HTML
804 .\" from FreeBSD: head/tools/build/options/WITHOUT_HTML 156932 2006-03-21 07:50:50Z ru
805 Set to not build HTML docs.
806 .It Va WITHOUT_HYPERV
807 .\" from FreeBSD: head/tools/build/options/WITHOUT_HYPERV 271493 2014-09-13 02:15:31Z delphij
808 Set to not build or install HyperV utilities.
809 .It Va WITHOUT_ICONV
810 .\" from FreeBSD: head/tools/build/options/WITHOUT_ICONV 254919 2013-08-26 17:15:56Z antoine
811 Set to not build iconv as part of libc.
812 .It Va WITHOUT_INCLUDES
813 .\" from FreeBSD: head/tools/build/options/WITHOUT_INCLUDES 275138 2014-11-26 20:43:09Z gjb
814 Set to not install header files.
815 This option used to be spelled
816 .Va NO_INCS .
817 .Bf -symbolic
818 The option does not work for build targets.
819 .Ef
820 .It Va WITHOUT_INET
821 .\" from FreeBSD: head/tools/build/options/WITHOUT_INET 221266 2011-04-30 17:58:28Z bz
822 Set to not build programs and libraries related to IPv4 networking.
823 When set, it also enforces the following options:
824 .Pp
825 .Bl -item -compact
826 .It
827 .Va WITHOUT_INET_SUPPORT
828 .El
829 .It Va WITHOUT_INET6
830 .\" from FreeBSD: head/tools/build/options/WITHOUT_INET6 156932 2006-03-21 07:50:50Z ru
831 Set to not build
832 programs and libraries related to IPv6 networking.
833 When set, it also enforces the following options:
834 .Pp
835 .Bl -item -compact
836 .It
837 .Va WITHOUT_INET6_SUPPORT
838 .El
839 .It Va WITHOUT_INET6_SUPPORT
840 .\" from FreeBSD: head/tools/build/options/WITHOUT_INET6_SUPPORT 156932 2006-03-21 07:50:50Z ru
841 Set to build libraries, programs, and kernel modules without IPv6 support.
842 .It Va WITHOUT_INETD
843 .\" from FreeBSD: head/tools/build/options/WITHOUT_INETD 278192 2015-02-04 10:19:32Z ngie
844 Set to not build
845 .Xr inetd 8 .
846 .It Va WITHOUT_INET_SUPPORT
847 .\" from FreeBSD: head/tools/build/options/WITHOUT_INET_SUPPORT 221266 2011-04-30 17:58:28Z bz
848 Set to build libraries, programs, and kernel modules without IPv4 support.
849 .It Va WITHOUT_INSTALLLIB
850 .\" from FreeBSD: head/tools/build/options/WITHOUT_INSTALLLIB 297941 2016-04-13 21:01:58Z bdrewery
851 Set this if you do not want to install optional libraries.
852 For example when creating a
853 .Xr nanobsd 8
854 image.
855 .Bf -symbolic
856 The option does not work for build targets.
857 .Ef
858 .It Va WITH_INSTALL_AS_USER
859 .\" from FreeBSD: head/tools/build/options/WITH_INSTALL_AS_USER 238021 2012-07-02 20:24:01Z marcel
860 Set to make install targets succeed for non-root users by installing
861 files with owner and group attributes set to that of the user running
862 the
863 .Xr make 1
864 command.
865 The user still has to set the
866 .Va DESTDIR
867 variable to point to a directory where the user has write permissions.
868 .It Va WITHOUT_IPFILTER
869 .\" from FreeBSD: head/tools/build/options/WITHOUT_IPFILTER 156932 2006-03-21 07:50:50Z ru
870 Set to not build IP Filter package.
871 .It Va WITHOUT_IPFW
872 .\" from FreeBSD: head/tools/build/options/WITHOUT_IPFW 183242 2008-09-21 22:02:26Z sam
873 Set to not build IPFW tools.
874 .It Va WITHOUT_ISCSI
875 .\" from FreeBSD: head/tools/build/options/WITHOUT_ISCSI 277675 2015-01-25 04:20:11Z ngie
876 Set to not build
877 .Xr iscid 8
878 and related utilities.
879 .It Va WITHOUT_JAIL
880 .\" from FreeBSD: head/tools/build/options/WITHOUT_JAIL 249966 2013-04-27 04:09:09Z eadler
881 Set to not build tools for the support of jails; e.g.,
882 .Xr jail 8 .
883 .It Va WITHOUT_KDUMP
884 .\" from FreeBSD: head/tools/build/options/WITHOUT_KDUMP 240690 2012-09-19 11:38:37Z zeising
885 Set to not build
886 .Xr kdump 1
887 and
888 .Xr truss 1 .
889 .It Va WITHOUT_KERBEROS
890 .\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS 174549 2007-12-12 16:42:03Z ru
891 Set this if you do not want to build Kerberos 5 (KTH Heimdal).
892 When set, it also enforces the following options:
893 .Pp
894 .Bl -item -compact
895 .It
896 .Va WITHOUT_KERBEROS_SUPPORT
897 .El
898 .Pp
899 When set, the following options are also in effect:
900 .Pp
901 .Bl -inset -compact
902 .It Va WITHOUT_GSSAPI
903 (unless
904 .Va WITH_GSSAPI
905 is set explicitly)
906 .El
907 .It Va WITHOUT_KERBEROS_SUPPORT
908 .\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS_SUPPORT 251794 2013-06-15 20:29:07Z eadler
909 Set to build some programs without Kerberos support, like
910 .Xr ssh 1 ,
911 .Xr telnet 1 ,
912 .Xr sshd 8 ,
913 and
914 .Xr telnetd 8 .
915 .It Va WITHOUT_KERNEL_SYMBOLS
916 .\" from FreeBSD: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS 222189 2011-05-22 18:23:17Z imp
917 Set to not install kernel symbol files.
918 .Bf -symbolic
919 This option is recommended for those people who have small root partitions.
920 .Ef
921 .It Va WITHOUT_KVM
922 .\" from FreeBSD: head/tools/build/options/WITHOUT_KVM 174550 2007-12-12 16:43:17Z ru
923 Set to not build the
924 .Nm libkvm
925 library as a part of the base system.
926 .Bf -symbolic
927 The option has no effect yet.
928 .Ef
929 When set, it also enforces the following options:
930 .Pp
931 .Bl -item -compact
932 .It
933 .Va WITHOUT_KVM_SUPPORT
934 .El
935 .It Va WITHOUT_KVM_SUPPORT
936 .\" from FreeBSD: head/tools/build/options/WITHOUT_KVM_SUPPORT 170644 2007-06-13 02:08:04Z sepotvin
937 Set to build some programs without optional
938 .Nm libkvm
939 support.
940 .It Va WITHOUT_LDNS
941 .\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS 255591 2013-09-15 13:11:13Z des
942 Setting this variable will prevent the LDNS library from being built.
943 When set, it also enforces the following options:
944 .Pp
945 .Bl -item -compact
946 .It
947 .Va WITHOUT_LDNS_UTILS
948 .It
949 .Va WITHOUT_UNBOUND
950 .El
951 .It Va WITHOUT_LDNS_UTILS
952 .\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS_UTILS 255850 2013-09-24 14:33:31Z des
953 Setting this variable will prevent building the LDNS utilities
954 .Xr drill 1
955 and
956 .Xr host 1 .
957 .It Va WITHOUT_LEGACY_CONSOLE
958 .\" from FreeBSD: head/tools/build/options/WITHOUT_LEGACY_CONSOLE 296264 2016-03-01 11:36:10Z trasz
959 Set to not build programs that support a legacy PC console; e.g.,
960 .Xr kbdcontrol 1
961 and
962 .Xr vidcontrol 1 .
963 .It Va WITHOUT_LIB32
964 .\" from FreeBSD: head/tools/build/options/WITHOUT_LIB32 274664 2014-11-18 17:06:48Z imp
965 On 64-bit platforms, set to not build 32-bit library set and a
966 .Nm ld-elf32.so.1
967 runtime linker.
968 .It Va WITHOUT_LIBCPLUSPLUS
969 .\" from FreeBSD: head/tools/build/options/WITHOUT_LIBCPLUSPLUS 246262 2013-02-02 22:42:46Z dim
970 Set to avoid building libcxxrt and libc++.
971 .It Va WITHOUT_LIBPTHREAD
972 .\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 188848 2009-02-20 11:09:55Z mtm
973 Set to not build the
974 .Nm libpthread
975 providing library,
976 .Nm libthr .
977 When set, it also enforces the following options:
978 .Pp
979 .Bl -item -compact
980 .It
981 .Va WITHOUT_LIBTHR
982 .El
983 .It Va WITH_LIBSOFT
984 .\" from FreeBSD: head/tools/build/options/WITH_LIBSOFT 300325 2016-05-20 19:23:07Z bdrewery
985 On armv6 only, set to enable soft float ABI compatibility libraries.
986 This option is for transitioning to the new hard float ABI.
987 .It Va WITHOUT_LIBTHR
988 .\" from FreeBSD: head/tools/build/options/WITHOUT_LIBTHR 156932 2006-03-21 07:50:50Z ru
989 Set to not build the
990 .Nm libthr
991 (1:1 threading)
992 library.
993 .It Va WITHOUT_LLDB
994 .\" from FreeBSD: head/tools/build/options/WITHOUT_LLDB 289275 2015-10-14 00:23:31Z emaste
995 Set to not build the LLDB debugger.
996 .Pp
997 It is a default setting on
998 arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
999 .It Va WITH_LLDB
1000 .\" from FreeBSD: head/tools/build/options/WITH_LLDB 255722 2013-09-20 01:52:02Z emaste
1001 Set to build the LLDB debugger.
1002 .Pp
1003 It is a default setting on
1004 amd64/amd64 and arm64/aarch64.
1005 .It Va WITHOUT_LLVM_LIBUNWIND
1006 .\" from FreeBSD: head/tools/build/options/WITHOUT_LLVM_LIBUNWIND 293450 2016-01-09 00:42:07Z emaste
1007 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1008 .Pp
1009 It is a default setting on
1010 arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
1011 .It Va WITH_LLVM_LIBUNWIND
1012 .\" from FreeBSD: head/tools/build/options/WITH_LLVM_LIBUNWIND 293450 2016-01-09 00:42:07Z emaste
1013 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1014 .Pp
1015 It is a default setting on
1016 amd64/amd64, arm64/aarch64, i386/i386 and pc98/i386.
1017 .It Va WITHOUT_LOCALES
1018 .\" from FreeBSD: head/tools/build/options/WITHOUT_LOCALES 156932 2006-03-21 07:50:50Z ru
1019 Set to not build localization files; see
1020 .Xr locale 1 .
1021 .It Va WITHOUT_LOCATE
1022 .\" from FreeBSD: head/tools/build/options/WITHOUT_LOCATE 183242 2008-09-21 22:02:26Z sam
1023 Set to not build
1024 .Xr locate 1
1025 and related programs.
1026 .It Va WITHOUT_LPR
1027 .\" from FreeBSD: head/tools/build/options/WITHOUT_LPR 156932 2006-03-21 07:50:50Z ru
1028 Set to not build
1029 .Xr lpr 1
1030 and related programs.
1031 .It Va WITHOUT_LS_COLORS
1032 .\" from FreeBSD: head/tools/build/options/WITHOUT_LS_COLORS 235660 2012-05-19 20:05:27Z marcel
1033 Set to build
1034 .Xr ls 1
1035 without support for colors to distinguish file types.
1036 .It Va WITHOUT_LZMA_SUPPORT
1037 .\" from FreeBSD: head/tools/build/options/WITHOUT_LZMA_SUPPORT 245171 2013-01-08 18:37:12Z obrien
1038 Set to build some programs without optional lzma compression support.
1039 .It Va WITHOUT_MAIL
1040 .\" from FreeBSD: head/tools/build/options/WITHOUT_MAIL 183242 2008-09-21 22:02:26Z sam
1041 Set to not build any mail support (MUA or MTA).
1042 When set, it also enforces the following options:
1043 .Pp
1044 .Bl -item -compact
1045 .It
1046 .Va WITHOUT_DMAGENT
1047 .It
1048 .Va WITHOUT_MAILWRAPPER
1049 .It
1050 .Va WITHOUT_SENDMAIL
1051 .El
1052 .It Va WITHOUT_MAILWRAPPER
1053 .\" from FreeBSD: head/tools/build/options/WITHOUT_MAILWRAPPER 156932 2006-03-21 07:50:50Z ru
1054 Set to not build the
1055 .Xr mailwrapper 8
1056 MTA selector.
1057 .It Va WITHOUT_MAKE
1058 .\" from FreeBSD: head/tools/build/options/WITHOUT_MAKE 183242 2008-09-21 22:02:26Z sam
1059 Set to not install
1060 .Xr make 1
1061 and related support files.
1062 .It Va WITHOUT_MAN
1063 .\" from FreeBSD: head/tools/build/options/WITHOUT_MAN 156932 2006-03-21 07:50:50Z ru
1064 Set to not build manual pages.
1065 When set, the following options are also in effect:
1066 .Pp
1067 .Bl -inset -compact
1068 .It Va WITHOUT_MAN_UTILS
1069 (unless
1070 .Va WITH_MAN_UTILS
1071 is set explicitly)
1072 .El
1073 .It Va WITHOUT_MANCOMPRESS
1074 .\" from FreeBSD: head/tools/build/options/WITHOUT_MANCOMPRESS 266752 2014-05-27 15:52:27Z gjb
1075 Set to not to install compressed man pages.
1076 Only the uncompressed versions will be installed.
1077 .It Va WITHOUT_MANDOCDB
1078 .\" from FreeBSD: head/tools/build/options/WITHOUT_MANDOCDB 306966 2016-10-10 15:40:08Z emaste
1079 Use the version of
1080 .Xr makewhatis 1
1081 introduced in
1082 .Fx 2.1 ,
1083 instead of the
1084 .Xr makewhatis 8
1085 database and utilities from
1086 .Xr mandoc 1 .
1087 .It Va WITHOUT_MAN_UTILS
1088 .\" from FreeBSD: head/tools/build/options/WITHOUT_MAN_UTILS 208322 2010-05-20 00:07:21Z jkim
1089 Set to not build utilities for manual pages,
1090 .Xr apropos 1 ,
1091 .Xr catman 1 ,
1092 .Xr makewhatis 1 ,
1093 .Xr man 1 ,
1094 .Xr whatis 1 ,
1095 .Xr manctl 8 ,
1096 and related support files.
1097 .It Va WITH_META_MODE
1098 .\" from FreeBSD: head/tools/build/options/WITH_META_MODE 306145 2016-09-21 21:32:05Z bdrewery
1099 Creates
1100 .Xr make 1
1101 meta files when building, which can provide a reliable incremental build when
1102 using
1103 .Xr filemon 4 .
1104 The meta file is created in the OBJDIR as
1105 .Pa target.meta .
1106 These meta files track the command ran, its output, and the current directory.
1107 The
1108 .Xr filemon 4
1109 module is required unless
1110 .Va NO_FILEMON
1111 is defined.
1112 When the module is loaded, any files used by the commands executed will be
1113 tracked as
1114 dependencies for the target in its meta file.
1115 The target will be considered out-of-date and rebuilt if any of the following
1116 are true compared to the last build:
1117 .Bl -bullet -compact
1118 .It
1119 The command to execute changes.
1120 .It
1121 The current working directory changes.
1122 .It
1123 The target's meta file is missing.
1124 .It
1125 The target's meta file is missing filemon data when filemon is loaded
1126 and a previous run did not have it loaded.
1127 .It
1128 [requires
1129 .Xr filemon 4 ]
1130 Files read, executed or linked to are newer than the target.
1131 .It
1132 [requires
1133 .Xr filemon 4 ]
1134 Files read, written, executed or linked are missing.
1135 .El
1136 The meta files can also be useful for debugging.
1137 .Pp
1138 The build will hide commands ran unless
1139 .Va NO_SILENT
1140 is defined.
1141 Errors will cause
1142 .Xr make 1
1143 to show some of its environment for further debugging.
1144 .Pp
1145 The build operates as it normally would otherwise.
1146 This option originally invoked a different build system but that was renamed
1147 to
1148 .Va WITH_DIRDEPS_BUILD .
1149 .Pp
1150 This must be set in the environment, make command line, or
1151 .Pa /etc/src-env.conf ,
1152 not
1153 .Pa /etc/src.conf .
1154 .It Va WITH_NAND
1155 .\" from FreeBSD: head/tools/build/options/WITH_NAND 235537 2012-05-17 10:11:18Z gber
1156 Set to build the NAND Flash components.
1157 .It Va WITHOUT_NDIS
1158 .\" from FreeBSD: head/tools/build/options/WITHOUT_NDIS 183242 2008-09-21 22:02:26Z sam
1159 Set to not build programs and libraries
1160 related to NDIS emulation support.
1161 .It Va WITHOUT_NETCAT
1162 .\" from FreeBSD: head/tools/build/options/WITHOUT_NETCAT 156932 2006-03-21 07:50:50Z ru
1163 Set to not build
1164 .Xr nc 1
1165 utility.
1166 .It Va WITHOUT_NETGRAPH
1167 .\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
1168 Set to not build applications to support
1169 .Xr netgraph 4 .
1170 When set, it also enforces the following options:
1171 .Pp
1172 .Bl -item -compact
1173 .It
1174 .Va WITHOUT_ATM
1175 .It
1176 .Va WITHOUT_BLUETOOTH
1177 .It
1178 .Va WITHOUT_NETGRAPH_SUPPORT
1179 .El
1180 .It Va WITHOUT_NETGRAPH_SUPPORT
1181 .\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH_SUPPORT 183305 2008-09-23 16:11:15Z sam
1182 Set to build libraries, programs, and kernel modules without netgraph support.
1183 .It Va WITHOUT_NIS
1184 .\" from FreeBSD: head/tools/build/options/WITHOUT_NIS 156932 2006-03-21 07:50:50Z ru
1185 Set to not build
1186 .Xr NIS 8
1187 support and related programs.
1188 If set, you might need to adopt your
1189 .Xr nsswitch.conf 5
1190 and remove
1191 .Sq nis
1192 entries.
1193 .It Va WITHOUT_NLS
1194 .\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
1195 Set to not build NLS catalogs.
1196 .It Va WITHOUT_NLS_CATALOGS
1197 .\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
1198 Set to not build NLS catalog support for
1199 .Xr csh 1 .
1200 .It Va WITHOUT_NS_CACHING
1201 .\" from FreeBSD: head/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
1202 Set to disable name caching in the
1203 .Pa nsswitch
1204 subsystem.
1205 The generic caching daemon,
1206 .Xr nscd 8 ,
1207 will not be built either if this option is set.
1208 .It Va WITHOUT_NTP
1209 .\" from FreeBSD: head/tools/build/options/WITHOUT_NTP 183242 2008-09-21 22:02:26Z sam
1210 Set to not build
1211 .Xr ntpd 8
1212 and related programs.
1213 .It Va WITH_OFED
1214 .\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
1215 Set to build the
1216 .Dq "OpenFabrics Enterprise Distribution"
1217 Infiniband software stack.
1218 .It Va WITH_OPENLDAP
1219 .\" from FreeBSD: head/tools/build/options/WITH_OPENLDAP 264902 2014-04-24 23:17:31Z imp
1220 Enable building openldap support for kerberos.
1221 .It Va WITHOUT_OPENSSH
1222 .\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSH 156932 2006-03-21 07:50:50Z ru
1223 Set to not build OpenSSH.
1224 .It Va WITHOUT_OPENSSL
1225 .\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSL 156932 2006-03-21 07:50:50Z ru
1226 Set to not build OpenSSL.
1227 When set, it also enforces the following options:
1228 .Pp
1229 .Bl -item -compact
1230 .It
1231 .Va WITHOUT_KERBEROS
1232 .It
1233 .Va WITHOUT_KERBEROS_SUPPORT
1234 .It
1235 .Va WITHOUT_OPENSSH
1236 .El
1237 .Pp
1238 When set, the following options are also in effect:
1239 .Pp
1240 .Bl -inset -compact
1241 .It Va WITHOUT_GSSAPI
1242 (unless
1243 .Va WITH_GSSAPI
1244 is set explicitly)
1245 .El
1246 .It Va WITHOUT_PAM
1247 .\" from FreeBSD: head/tools/build/options/WITHOUT_PAM 174550 2007-12-12 16:43:17Z ru
1248 Set to not build PAM library and modules.
1249 .Bf -symbolic
1250 This option is deprecated and does nothing.
1251 .Ef
1252 When set, it also enforces the following options:
1253 .Pp
1254 .Bl -item -compact
1255 .It
1256 .Va WITHOUT_PAM_SUPPORT
1257 .El
1258 .It Va WITHOUT_PAM_SUPPORT
1259 .\" from FreeBSD: head/tools/build/options/WITHOUT_PAM_SUPPORT 156932 2006-03-21 07:50:50Z ru
1260 Set to build some programs without PAM support, particularly
1261 .Xr ftpd 8
1262 and
1263 .Xr ppp 8 .
1264 .It Va WITHOUT_PC_SYSINSTALL
1265 .\" from FreeBSD: head/tools/build/options/WITHOUT_PC_SYSINSTALL 245606 2013-01-18 15:57:09Z eadler
1266 Set to not build
1267 .Xr pc-sysinstall 8
1268 and related programs.
1269 .It Va WITHOUT_PF
1270 .\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
1271 Set to not build PF firewall package.
1272 When set, it also enforces the following options:
1273 .Pp
1274 .Bl -item -compact
1275 .It
1276 .Va WITHOUT_AUTHPF
1277 .El
1278 .It Va WITHOUT_PKGBOOTSTRAP
1279 .\" from FreeBSD: head/tools/build/options/WITHOUT_PKGBOOTSTRAP 258924 2013-12-04 15:58:42Z bdrewery
1280 Set to not build
1281 .Xr pkg 7
1282 bootstrap tool.
1283 .It Va WITHOUT_PMC
1284 .\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
1285 Set to not build
1286 .Xr pmccontrol 8
1287 and related programs.
1288 .It Va WITHOUT_PORTSNAP
1289 .\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
1290 Set to not build or install
1291 .Xr portsnap 8
1292 and related files.
1293 .It Va WITHOUT_PPP
1294 .\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
1295 Set to not build
1296 .Xr ppp 8
1297 and related programs.
1298 .It Va WITHOUT_PROFILE
1299 .\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
1300 Set to avoid compiling profiled libraries.
1301 .It Va WITHOUT_QUOTAS
1302 .\" from FreeBSD: head/tools/build/options/WITHOUT_QUOTAS 296264 2016-03-01 11:36:10Z trasz
1303 Set to not build
1304 .Xr quota 1
1305 and related programs.
1306 .It Va WITHOUT_RADIUS_SUPPORT
1307 .\" from FreeBSD: head/tools/build/options/WITHOUT_RADIUS_SUPPORT 278182 2015-02-04 06:53:45Z ngie
1308 Set to not build radius support into various applications, like
1309 .Xr pam_radius 8
1310 and
1311 .Xr ppp 8 .
1312 .It Va WITHOUT_RBOOTD
1313 .\" from FreeBSD: head/tools/build/options/WITHOUT_RBOOTD 278192 2015-02-04 10:19:32Z ngie
1314 Set to not build or install
1315 .Xr rbootd 8 .
1316 .It Va WITHOUT_RCMDS
1317 .\" from FreeBSD: head/tools/build/options/WITHOUT_RCMDS 156932 2006-03-21 07:50:50Z ru
1318 Disable building of the
1319 .Bx
1320 r-commands.
1321 This includes
1322 .Xr rlogin 1 ,
1323 .Xr rsh 1 ,
1324 etc.
1325 .It Va WITHOUT_RESCUE
1326 .\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
1327 Set to not build
1328 .Xr rescue 8 .
1329 .It Va WITHOUT_ROUTED
1330 .\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
1331 Set to not build
1332 .Xr routed 8
1333 utility.
1334 .It Va WITHOUT_SENDMAIL
1335 .\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
1336 Set to not build
1337 .Xr sendmail 8
1338 and related programs.
1339 .It Va WITHOUT_SETUID_LOGIN
1340 .\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
1341 Set this to disable the installation of
1342 .Xr login 1
1343 as a set-user-ID root program.
1344 .It Va WITHOUT_SHAREDOCS
1345 .\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
1346 Set to not build the
1347 .Bx 4.4
1348 legacy docs.
1349 .It Va WITH_SHARED_TOOLCHAIN
1350 .\" from FreeBSD: head/tools/build/options/WITH_SHARED_TOOLCHAIN 235342 2012-05-12 16:12:36Z gjb
1351 Set to build the toolchain binaries shared.
1352 The set includes
1353 .Xr cc 1 ,
1354 .Xr make 1
1355 and necessary utilities like assembler, linker and library archive manager.
1356 .It Va WITH_SORT_THREADS
1357 .\" from FreeBSD: head/tools/build/options/WITH_SORT_THREADS 264158 2014-04-05 18:00:45Z imp
1358 Set to enable threads in
1359 .Xr sort 1 .
1360 .It Va WITHOUT_SOURCELESS
1361 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
1362 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1363 When set, it also enforces the following options:
1364 .Pp
1365 .Bl -item -compact
1366 .It
1367 .Va WITHOUT_SOURCELESS_HOST
1368 .It
1369 .Va WITHOUT_SOURCELESS_UCODE
1370 .El
1371 .It Va WITHOUT_SOURCELESS_HOST
1372 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
1373 Set to not build kernel modules that include sourceless native code for host CPU.
1374 .It Va WITHOUT_SOURCELESS_UCODE
1375 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
1376 Set to not build kernel modules that include sourceless microcode.
1377 .It Va WITHOUT_SSP
1378 .\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
1379 Set to not build world with propolice stack smashing protection.
1380 .Pp
1381 It is a default setting on
1382 mips/mipsel, mips/mips, mips/mips64el, mips/mips64 and mips/mipsn32.
1383 .It Va WITH_STAGING
1384 .\" from FreeBSD: head/tools/build/options/WITH_STAGING 290816 2015-11-14 03:24:48Z sjg
1385 Enable staging of files to a stage tree.
1386 This can be best thought of as auto-install to
1387 .Va DESTDIR
1388 with some extra meta data to ensure dependencies can be tracked.
1389 Depends on
1390 .Va WITH_DIRDEPS_BUILD .
1391 When set, the following options are also in effect:
1392 .Pp
1393 .Bl -inset -compact
1394 .It Va WITH_STAGING_MAN
1395 (unless
1396 .Va WITHOUT_STAGING_MAN
1397 is set explicitly)
1398 .It Va WITH_STAGING_PROG
1399 (unless
1400 .Va WITHOUT_STAGING_PROG
1401 is set explicitly)
1402 .El
1403 .Pp
1404 This must be set in the environment, make command line, or
1405 .Pa /etc/src-env.conf ,
1406 not
1407 .Pa /etc/src.conf .
1408 .It Va WITH_STAGING_MAN
1409 .\" from FreeBSD: head/tools/build/options/WITH_STAGING_MAN 284708 2015-06-22 20:21:57Z sjg
1410 Enable staging of MAN pages to stage tree.
1411 .It Va WITH_STAGING_PROG
1412 .\" from FreeBSD: head/tools/build/options/WITH_STAGING_PROG 284708 2015-06-22 20:21:57Z sjg
1413 Enable staging of PROGs to stage tree.
1414 .It Va WITH_STALE_STAGED
1415 .\" from FreeBSD: head/tools/build/options/WITH_STALE_STAGED 284708 2015-06-22 20:21:57Z sjg
1416 Check staged files are not stale.
1417 .It Va WITH_SVN
1418 .\" from FreeBSD: head/tools/build/options/WITH_SVN 252561 2013-07-03 12:36:47Z zeising
1419 Set to install
1420 .Xr svnlite 1
1421 as
1422 .Xr svn 1 .
1423 .It Va WITHOUT_SVNLITE
1424 .\" from FreeBSD: head/tools/build/options/WITHOUT_SVNLITE 252561 2013-07-03 12:36:47Z zeising
1425 Set to not build
1426 .Xr svnlite 1
1427 and related programs.
1428 .It Va WITHOUT_SYMVER
1429 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
1430 Set to disable symbol versioning when building shared libraries.
1431 .It Va WITHOUT_SYSCONS
1432 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
1433 Set to not build
1434 .Xr syscons 4
1435 support files such as keyboard maps, fonts, and screen output maps.
1436 .It Va WITH_SYSROOT
1437 .\" from FreeBSD: head/tools/build/options/WITH_SYSROOT 290816 2015-11-14 03:24:48Z sjg
1438 Enable use of sysroot during build.
1439 Depends on
1440 .Va WITH_DIRDEPS_BUILD .
1441 .Pp
1442 This must be set in the environment, make command line, or
1443 .Pa /etc/src-env.conf ,
1444 not
1445 .Pa /etc/src.conf .
1446 .It Va WITHOUT_SYSTEM_COMPILER
1447 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYSTEM_COMPILER 300354 2016-05-21 01:32:23Z bdrewery
1448 Set to not opportunistically skip building a cross-compiler during the
1449 bootstrap phase of the build.
1450 Normally, if the currently installed compiler matches the planned bootstrap
1451 compiler type and revision, then it will not be built.
1452 This does not prevent a compiler from being built for installation though,
1453 only for building one for the build itself.
1454 The
1455 .Va WITHOUT_CLANG
1456 and
1457 .Va WITHOUT_GCC
1458 options control those.
1459 .It Va WITHOUT_TALK
1460 .\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
1461 Set to not build or install
1462 .Xr talk 1
1463 and
1464 .Xr talkd 8 .
1465 .It Va WITHOUT_TCP_WRAPPERS
1466 .\" from FreeBSD: head/tools/build/options/WITHOUT_TCP_WRAPPERS 278192 2015-02-04 10:19:32Z ngie
1467 Set to not build or install
1468 .Xr tcpd 8 ,
1469 and related utilities.
1470 .It Va WITHOUT_TCSH
1471 .\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
1472 Set to not build and install
1473 .Pa /bin/csh
1474 (which is
1475 .Xr tcsh 1 ) .
1476 .It Va WITHOUT_TELNET
1477 .\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 296264 2016-03-01 11:36:10Z trasz
1478 Set to not build
1479 .Xr telnet 1
1480 and related programs.
1481 .It Va WITHOUT_TESTS
1482 .\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS 268778 2014-07-16 21:40:11Z jmmv
1483 Set to not build nor install the
1484 .Fx
1485 Test Suite in
1486 .Pa /usr/tests/ .
1487 See
1488 .Xr tests 7
1489 for more details.
1490 This also disables the build of all test-related dependencies, including ATF.
1491 When set, it also enforces the following options:
1492 .Pp
1493 .Bl -item -compact
1494 .It
1495 .Va WITHOUT_DTRACE_TESTS
1496 .It
1497 .Va WITHOUT_TESTS_SUPPORT
1498 .El
1499 .It Va WITHOUT_TESTS_SUPPORT
1500 .\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS_SUPPORT 274665 2014-11-18 17:06:50Z imp
1501 Set to disables the build of all test-related dependencies, including ATF.
1502 .It Va WITHOUT_TEXTPROC
1503 .\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
1504 Set to not build
1505 programs used for text processing.
1506 When set, it also enforces the following options:
1507 .Pp
1508 .Bl -item -compact
1509 .It
1510 .Va WITHOUT_GROFF
1511 .El
1512 .It Va WITHOUT_TFTP
1513 .\" from FreeBSD: head/tools/build/options/WITHOUT_TFTP 278192 2015-02-04 10:19:32Z ngie
1514 Set to not build or install
1515 .Xr tftp 1
1516 and
1517 .Xr tftpd 8 .
1518 .It Va WITHOUT_TIMED
1519 .\" from FreeBSD: head/tools/build/options/WITHOUT_TIMED 278192 2015-02-04 10:19:32Z ngie
1520 Set to not build or install
1521 .Xr timed 8 .
1522 .It Va WITHOUT_TOOLCHAIN
1523 .\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 297939 2016-04-13 20:55:05Z bdrewery
1524 Set to not install header or
1525 programs used for program development,
1526 compilers, debuggers etc.
1527 When set, it also enforces the following options:
1528 .Pp
1529 .Bl -item -compact
1530 .It
1531 .Va WITHOUT_BINUTILS
1532 .It
1533 .Va WITHOUT_CLANG
1534 .It
1535 .Va WITHOUT_CLANG_EXTRAS
1536 .It
1537 .Va WITHOUT_CLANG_FULL
1538 .It
1539 .Va WITHOUT_GCC
1540 .It
1541 .Va WITHOUT_GDB
1542 .It
1543 .Va WITHOUT_INCLUDES
1544 .It
1545 .Va WITHOUT_LLDB
1546 .El
1547 .It Va WITHOUT_UNBOUND
1548 .\" from FreeBSD: head/tools/build/options/WITHOUT_UNBOUND 255597 2013-09-15 14:51:23Z des
1549 Set to not build
1550 .Xr unbound 8
1551 and related programs.
1552 .It Va WITHOUT_USB
1553 .\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
1554 Set to not build USB-related programs and libraries.
1555 .It Va WITHOUT_USB_GADGET_EXAMPLES
1556 .\" from FreeBSD: head/tools/build/options/WITHOUT_USB_GADGET_EXAMPLES 274665 2014-11-18 17:06:50Z imp
1557 Set to build USB gadget kernel modules.
1558 .It Va WITHOUT_UTMPX
1559 .\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 231530 2012-02-11 20:28:42Z ed
1560 Set to not build user accounting tools such as
1561 .Xr last 1 ,
1562 .Xr users 1 ,
1563 .Xr who 1 ,
1564 .Xr ac 8 ,
1565 .Xr lastlogin 8
1566 and
1567 .Xr utx 8 .
1568 .It Va WITHOUT_VI
1569 .\" from FreeBSD: head/tools/build/options/WITHOUT_VI 264903 2014-04-24 23:17:40Z imp
1570 Set to not build and install vi, view, ex and related programs.
1571 .It Va WITHOUT_VT
1572 .\" from FreeBSD: head/tools/build/options/WITHOUT_VT 268022 2014-06-30 00:20:12Z emaste
1573 Set to not build
1574 .Xr vt 4
1575 support files (fonts and keymaps).
1576 .It Va WITHOUT_WARNS
1577 .\" from FreeBSD: head/tools/build/options/WITHOUT_WARNS 276559 2015-01-02 18:57:58Z bapt
1578 Set this to not add warning flags to the compiler invocations.
1579 Useful as a temporary workaround when code enters the tree
1580 which triggers warnings in environments that differ from the
1581 original developer.
1582 .It Va WITHOUT_WIRELESS
1583 .\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
1584 Set to not build programs used for 802.11 wireless networks; especially
1585 .Xr wpa_supplicant 8
1586 and
1587 .Xr hostapd 8 .
1588 When set, it also enforces the following options:
1589 .Pp
1590 .Bl -item -compact
1591 .It
1592 .Va WITHOUT_WIRELESS_SUPPORT
1593 .El
1594 .It Va WITHOUT_WIRELESS_SUPPORT
1595 .\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
1596 Set to build libraries, programs, and kernel modules without
1597 802.11 wireless support.
1598 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1599 .\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
1600 Build
1601 .Xr wpa_supplicant 8
1602 without support for the IEEE 802.1X protocol and without
1603 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1604 protocols (usable only via 802.1X).
1605 .It Va WITHOUT_ZFS
1606 .\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
1607 Set to not build ZFS file system.
1608 .It Va WITHOUT_ZONEINFO
1609 .\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 235342 2012-05-12 16:12:36Z gjb
1610 Set to not build the timezone database.
1611 .El
1612 .Sh FILES
1613 .Bl -tag -compact -width Pa
1614 .It Pa /etc/src.conf
1615 .It Pa /etc/src-env.conf
1616 .It Pa /usr/share/mk/bsd.own.mk
1617 .El
1618 .Sh SEE ALSO
1619 .Xr make 1 ,
1620 .Xr make.conf 5 ,
1621 .Xr build 7 ,
1622 .Xr ports 7
1623 .Sh HISTORY
1624 The
1625 .Nm
1626 file appeared in
1627 .Fx 7.0 .
1628 .Sh AUTHORS
1629 This manual page was autogenerated.