]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/src.conf.5
Regen src.conf.5 after r306649
[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 5, 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 283777 2015-05-30 17:41:37Z bapt
1079 Use the
1080 .Xr mandoc 1
1081 version of
1082 .Xr makewhatis 8
1083 database and utilities.
1084 .It Va WITHOUT_MAN_UTILS
1085 .\" from FreeBSD: head/tools/build/options/WITHOUT_MAN_UTILS 208322 2010-05-20 00:07:21Z jkim
1086 Set to not build utilities for manual pages,
1087 .Xr apropos 1 ,
1088 .Xr catman 1 ,
1089 .Xr makewhatis 1 ,
1090 .Xr man 1 ,
1091 .Xr whatis 1 ,
1092 .Xr manctl 8 ,
1093 and related support files.
1094 .It Va WITH_META_MODE
1095 .\" from FreeBSD: head/tools/build/options/WITH_META_MODE 306145 2016-09-21 21:32:05Z bdrewery
1096 Creates
1097 .Xr make 1
1098 meta files when building, which can provide a reliable incremental build when
1099 using
1100 .Xr filemon 4 .
1101 The meta file is created in the OBJDIR as
1102 .Pa target.meta .
1103 These meta files track the command ran, its output, and the current directory.
1104 The
1105 .Xr filemon 4
1106 module is required unless
1107 .Va NO_FILEMON
1108 is defined.
1109 When the module is loaded, any files used by the commands executed will be
1110 tracked as
1111 dependencies for the target in its meta file.
1112 The target will be considered out-of-date and rebuilt if any of the following
1113 are true compared to the last build:
1114 .Bl -bullet -compact
1115 .It
1116 The command to execute changes.
1117 .It
1118 The current working directory changes.
1119 .It
1120 The target's meta file is missing.
1121 .It
1122 The target's meta file is missing filemon data when filemon is loaded
1123 and a previous run did not have it loaded.
1124 .It
1125 [requires
1126 .Xr filemon 4 ]
1127 Files read, executed or linked to are newer than the target.
1128 .It
1129 [requires
1130 .Xr filemon 4 ]
1131 Files read, written, executed or linked are missing.
1132 .El
1133 The meta files can also be useful for debugging.
1134 .Pp
1135 The build will hide commands ran unless
1136 .Va NO_SILENT
1137 is defined.
1138 Errors will cause
1139 .Xr make 1
1140 to show some of its environment for further debugging.
1141 .Pp
1142 The build operates as it normally would otherwise.
1143 This option originally invoked a different build system but that was renamed
1144 to
1145 .Va WITH_DIRDEPS_BUILD .
1146 .Pp
1147 This must be set in the environment, make command line, or
1148 .Pa /etc/src-env.conf ,
1149 not
1150 .Pa /etc/src.conf .
1151 .It Va WITH_NAND
1152 .\" from FreeBSD: head/tools/build/options/WITH_NAND 235537 2012-05-17 10:11:18Z gber
1153 Set to build the NAND Flash components.
1154 .It Va WITHOUT_NDIS
1155 .\" from FreeBSD: head/tools/build/options/WITHOUT_NDIS 183242 2008-09-21 22:02:26Z sam
1156 Set to not build programs and libraries
1157 related to NDIS emulation support.
1158 .It Va WITHOUT_NETCAT
1159 .\" from FreeBSD: head/tools/build/options/WITHOUT_NETCAT 156932 2006-03-21 07:50:50Z ru
1160 Set to not build
1161 .Xr nc 1
1162 utility.
1163 .It Va WITHOUT_NETGRAPH
1164 .\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
1165 Set to not build applications to support
1166 .Xr netgraph 4 .
1167 When set, it also enforces the following options:
1168 .Pp
1169 .Bl -item -compact
1170 .It
1171 .Va WITHOUT_ATM
1172 .It
1173 .Va WITHOUT_BLUETOOTH
1174 .It
1175 .Va WITHOUT_NETGRAPH_SUPPORT
1176 .El
1177 .It Va WITHOUT_NETGRAPH_SUPPORT
1178 .\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH_SUPPORT 183305 2008-09-23 16:11:15Z sam
1179 Set to build libraries, programs, and kernel modules without netgraph support.
1180 .It Va WITHOUT_NIS
1181 .\" from FreeBSD: head/tools/build/options/WITHOUT_NIS 156932 2006-03-21 07:50:50Z ru
1182 Set to not build
1183 .Xr NIS 8
1184 support and related programs.
1185 If set, you might need to adopt your
1186 .Xr nsswitch.conf 5
1187 and remove
1188 .Sq nis
1189 entries.
1190 .It Va WITHOUT_NLS
1191 .\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
1192 Set to not build NLS catalogs.
1193 .It Va WITHOUT_NLS_CATALOGS
1194 .\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
1195 Set to not build NLS catalog support for
1196 .Xr csh 1 .
1197 .It Va WITHOUT_NS_CACHING
1198 .\" from FreeBSD: head/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
1199 Set to disable name caching in the
1200 .Pa nsswitch
1201 subsystem.
1202 The generic caching daemon,
1203 .Xr nscd 8 ,
1204 will not be built either if this option is set.
1205 .It Va WITHOUT_NTP
1206 .\" from FreeBSD: head/tools/build/options/WITHOUT_NTP 183242 2008-09-21 22:02:26Z sam
1207 Set to not build
1208 .Xr ntpd 8
1209 and related programs.
1210 .It Va WITH_OFED
1211 .\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
1212 Set to build the
1213 .Dq "OpenFabrics Enterprise Distribution"
1214 Infiniband software stack.
1215 .It Va WITH_OPENLDAP
1216 .\" from FreeBSD: head/tools/build/options/WITH_OPENLDAP 264902 2014-04-24 23:17:31Z imp
1217 Enable building openldap support for kerberos.
1218 .It Va WITHOUT_OPENSSH
1219 .\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSH 156932 2006-03-21 07:50:50Z ru
1220 Set to not build OpenSSH.
1221 .It Va WITHOUT_OPENSSL
1222 .\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSL 156932 2006-03-21 07:50:50Z ru
1223 Set to not build OpenSSL.
1224 When set, it also enforces the following options:
1225 .Pp
1226 .Bl -item -compact
1227 .It
1228 .Va WITHOUT_KERBEROS
1229 .It
1230 .Va WITHOUT_KERBEROS_SUPPORT
1231 .It
1232 .Va WITHOUT_OPENSSH
1233 .El
1234 .Pp
1235 When set, the following options are also in effect:
1236 .Pp
1237 .Bl -inset -compact
1238 .It Va WITHOUT_GSSAPI
1239 (unless
1240 .Va WITH_GSSAPI
1241 is set explicitly)
1242 .El
1243 .It Va WITHOUT_PAM
1244 .\" from FreeBSD: head/tools/build/options/WITHOUT_PAM 174550 2007-12-12 16:43:17Z ru
1245 Set to not build PAM library and modules.
1246 .Bf -symbolic
1247 This option is deprecated and does nothing.
1248 .Ef
1249 When set, it also enforces the following options:
1250 .Pp
1251 .Bl -item -compact
1252 .It
1253 .Va WITHOUT_PAM_SUPPORT
1254 .El
1255 .It Va WITHOUT_PAM_SUPPORT
1256 .\" from FreeBSD: head/tools/build/options/WITHOUT_PAM_SUPPORT 156932 2006-03-21 07:50:50Z ru
1257 Set to build some programs without PAM support, particularly
1258 .Xr ftpd 8
1259 and
1260 .Xr ppp 8 .
1261 .It Va WITHOUT_PC_SYSINSTALL
1262 .\" from FreeBSD: head/tools/build/options/WITHOUT_PC_SYSINSTALL 245606 2013-01-18 15:57:09Z eadler
1263 Set to not build
1264 .Xr pc-sysinstall 8
1265 and related programs.
1266 .It Va WITHOUT_PF
1267 .\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
1268 Set to not build PF firewall package.
1269 When set, it also enforces the following options:
1270 .Pp
1271 .Bl -item -compact
1272 .It
1273 .Va WITHOUT_AUTHPF
1274 .El
1275 .It Va WITHOUT_PKGBOOTSTRAP
1276 .\" from FreeBSD: head/tools/build/options/WITHOUT_PKGBOOTSTRAP 258924 2013-12-04 15:58:42Z bdrewery
1277 Set to not build
1278 .Xr pkg 7
1279 bootstrap tool.
1280 .It Va WITHOUT_PMC
1281 .\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
1282 Set to not build
1283 .Xr pmccontrol 8
1284 and related programs.
1285 .It Va WITHOUT_PORTSNAP
1286 .\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
1287 Set to not build or install
1288 .Xr portsnap 8
1289 and related files.
1290 .It Va WITHOUT_PPP
1291 .\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
1292 Set to not build
1293 .Xr ppp 8
1294 and related programs.
1295 .It Va WITHOUT_PROFILE
1296 .\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
1297 Set to avoid compiling profiled libraries.
1298 .It Va WITHOUT_QUOTAS
1299 .\" from FreeBSD: head/tools/build/options/WITHOUT_QUOTAS 296264 2016-03-01 11:36:10Z trasz
1300 Set to not build
1301 .Xr quota 1
1302 and related programs.
1303 .It Va WITHOUT_RADIUS_SUPPORT
1304 .\" from FreeBSD: head/tools/build/options/WITHOUT_RADIUS_SUPPORT 278182 2015-02-04 06:53:45Z ngie
1305 Set to not build radius support into various applications, like
1306 .Xr pam_radius 8
1307 and
1308 .Xr ppp 8 .
1309 .It Va WITHOUT_RBOOTD
1310 .\" from FreeBSD: head/tools/build/options/WITHOUT_RBOOTD 278192 2015-02-04 10:19:32Z ngie
1311 Set to not build or install
1312 .Xr rbootd 8 .
1313 .It Va WITHOUT_RCMDS
1314 .\" from FreeBSD: head/tools/build/options/WITHOUT_RCMDS 156932 2006-03-21 07:50:50Z ru
1315 Disable building of the
1316 .Bx
1317 r-commands.
1318 This includes
1319 .Xr rlogin 1 ,
1320 .Xr rsh 1 ,
1321 etc.
1322 .It Va WITH_RCS
1323 .\" from FreeBSD: head/tools/build/options/WITH_RCS 305931 2016-09-18 15:01:11Z bapt
1324 Set to build
1325 .Xr rcs 1
1326 and related utilities.
1327 .It Va WITHOUT_RESCUE
1328 .\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
1329 Set to not build
1330 .Xr rescue 8 .
1331 .It Va WITHOUT_ROUTED
1332 .\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
1333 Set to not build
1334 .Xr routed 8
1335 utility.
1336 .It Va WITHOUT_SENDMAIL
1337 .\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
1338 Set to not build
1339 .Xr sendmail 8
1340 and related programs.
1341 .It Va WITHOUT_SETUID_LOGIN
1342 .\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
1343 Set this to disable the installation of
1344 .Xr login 1
1345 as a set-user-ID root program.
1346 .It Va WITHOUT_SHAREDOCS
1347 .\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
1348 Set to not build the
1349 .Bx 4.4
1350 legacy docs.
1351 .It Va WITH_SHARED_TOOLCHAIN
1352 .\" from FreeBSD: head/tools/build/options/WITH_SHARED_TOOLCHAIN 235342 2012-05-12 16:12:36Z gjb
1353 Set to build the toolchain binaries shared.
1354 The set includes
1355 .Xr cc 1 ,
1356 .Xr make 1
1357 and necessary utilities like assembler, linker and library archive manager.
1358 .It Va WITH_SORT_THREADS
1359 .\" from FreeBSD: head/tools/build/options/WITH_SORT_THREADS 264158 2014-04-05 18:00:45Z imp
1360 Set to enable threads in
1361 .Xr sort 1 .
1362 .It Va WITHOUT_SOURCELESS
1363 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
1364 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1365 When set, it also enforces the following options:
1366 .Pp
1367 .Bl -item -compact
1368 .It
1369 .Va WITHOUT_SOURCELESS_HOST
1370 .It
1371 .Va WITHOUT_SOURCELESS_UCODE
1372 .El
1373 .It Va WITHOUT_SOURCELESS_HOST
1374 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
1375 Set to not build kernel modules that include sourceless native code for host CPU.
1376 .It Va WITHOUT_SOURCELESS_UCODE
1377 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
1378 Set to not build kernel modules that include sourceless microcode.
1379 .It Va WITHOUT_SSP
1380 .\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
1381 Set to not build world with propolice stack smashing protection.
1382 .Pp
1383 It is a default setting on
1384 mips/mipsel, mips/mips, mips/mips64el, mips/mips64 and mips/mipsn32.
1385 .It Va WITH_STAGING
1386 .\" from FreeBSD: head/tools/build/options/WITH_STAGING 290816 2015-11-14 03:24:48Z sjg
1387 Enable staging of files to a stage tree.
1388 This can be best thought of as auto-install to
1389 .Va DESTDIR
1390 with some extra meta data to ensure dependencies can be tracked.
1391 Depends on
1392 .Va WITH_DIRDEPS_BUILD .
1393 When set, the following options are also in effect:
1394 .Pp
1395 .Bl -inset -compact
1396 .It Va WITH_STAGING_MAN
1397 (unless
1398 .Va WITHOUT_STAGING_MAN
1399 is set explicitly)
1400 .It Va WITH_STAGING_PROG
1401 (unless
1402 .Va WITHOUT_STAGING_PROG
1403 is set explicitly)
1404 .El
1405 .Pp
1406 This must be set in the environment, make command line, or
1407 .Pa /etc/src-env.conf ,
1408 not
1409 .Pa /etc/src.conf .
1410 .It Va WITH_STAGING_MAN
1411 .\" from FreeBSD: head/tools/build/options/WITH_STAGING_MAN 284708 2015-06-22 20:21:57Z sjg
1412 Enable staging of MAN pages to stage tree.
1413 .It Va WITH_STAGING_PROG
1414 .\" from FreeBSD: head/tools/build/options/WITH_STAGING_PROG 284708 2015-06-22 20:21:57Z sjg
1415 Enable staging of PROGs to stage tree.
1416 .It Va WITH_STALE_STAGED
1417 .\" from FreeBSD: head/tools/build/options/WITH_STALE_STAGED 284708 2015-06-22 20:21:57Z sjg
1418 Check staged files are not stale.
1419 .It Va WITH_SVN
1420 .\" from FreeBSD: head/tools/build/options/WITH_SVN 252561 2013-07-03 12:36:47Z zeising
1421 Set to install
1422 .Xr svnlite 1
1423 as
1424 .Xr svn 1 .
1425 .It Va WITHOUT_SVNLITE
1426 .\" from FreeBSD: head/tools/build/options/WITHOUT_SVNLITE 252561 2013-07-03 12:36:47Z zeising
1427 Set to not build
1428 .Xr svnlite 1
1429 and related programs.
1430 .It Va WITHOUT_SYMVER
1431 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
1432 Set to disable symbol versioning when building shared libraries.
1433 .It Va WITHOUT_SYSCONS
1434 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
1435 Set to not build
1436 .Xr syscons 4
1437 support files such as keyboard maps, fonts, and screen output maps.
1438 .It Va WITH_SYSROOT
1439 .\" from FreeBSD: head/tools/build/options/WITH_SYSROOT 290816 2015-11-14 03:24:48Z sjg
1440 Enable use of sysroot during build.
1441 Depends on
1442 .Va WITH_DIRDEPS_BUILD .
1443 .Pp
1444 This must be set in the environment, make command line, or
1445 .Pa /etc/src-env.conf ,
1446 not
1447 .Pa /etc/src.conf .
1448 .It Va WITHOUT_SYSTEM_COMPILER
1449 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYSTEM_COMPILER 300354 2016-05-21 01:32:23Z bdrewery
1450 Set to not opportunistically skip building a cross-compiler during the
1451 bootstrap phase of the build.
1452 Normally, if the currently installed compiler matches the planned bootstrap
1453 compiler type and revision, then it will not be built.
1454 This does not prevent a compiler from being built for installation though,
1455 only for building one for the build itself.
1456 The
1457 .Va WITHOUT_CLANG
1458 and
1459 .Va WITHOUT_GCC
1460 options control those.
1461 .It Va WITHOUT_TALK
1462 .\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
1463 Set to not build or install
1464 .Xr talk 1
1465 and
1466 .Xr talkd 8 .
1467 .It Va WITHOUT_TCP_WRAPPERS
1468 .\" from FreeBSD: head/tools/build/options/WITHOUT_TCP_WRAPPERS 278192 2015-02-04 10:19:32Z ngie
1469 Set to not build or install
1470 .Xr tcpd 8 ,
1471 and related utilities.
1472 .It Va WITHOUT_TCSH
1473 .\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
1474 Set to not build and install
1475 .Pa /bin/csh
1476 (which is
1477 .Xr tcsh 1 ) .
1478 .It Va WITHOUT_TELNET
1479 .\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 296264 2016-03-01 11:36:10Z trasz
1480 Set to not build
1481 .Xr telnet 1
1482 and related programs.
1483 .It Va WITHOUT_TESTS
1484 .\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS 268778 2014-07-16 21:40:11Z jmmv
1485 Set to not build nor install the
1486 .Fx
1487 Test Suite in
1488 .Pa /usr/tests/ .
1489 See
1490 .Xr tests 7
1491 for more details.
1492 This also disables the build of all test-related dependencies, including ATF.
1493 When set, it also enforces the following options:
1494 .Pp
1495 .Bl -item -compact
1496 .It
1497 .Va WITHOUT_DTRACE_TESTS
1498 .It
1499 .Va WITHOUT_TESTS_SUPPORT
1500 .El
1501 .It Va WITHOUT_TESTS_SUPPORT
1502 .\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS_SUPPORT 274665 2014-11-18 17:06:50Z imp
1503 Set to disables the build of all test-related dependencies, including ATF.
1504 .It Va WITHOUT_TEXTPROC
1505 .\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
1506 Set to not build
1507 programs used for text processing.
1508 When set, it also enforces the following options:
1509 .Pp
1510 .Bl -item -compact
1511 .It
1512 .Va WITHOUT_GROFF
1513 .El
1514 .It Va WITHOUT_TFTP
1515 .\" from FreeBSD: head/tools/build/options/WITHOUT_TFTP 278192 2015-02-04 10:19:32Z ngie
1516 Set to not build or install
1517 .Xr tftp 1
1518 and
1519 .Xr tftpd 8 .
1520 .It Va WITHOUT_TIMED
1521 .\" from FreeBSD: head/tools/build/options/WITHOUT_TIMED 278192 2015-02-04 10:19:32Z ngie
1522 Set to not build or install
1523 .Xr timed 8 .
1524 .It Va WITHOUT_TOOLCHAIN
1525 .\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 297939 2016-04-13 20:55:05Z bdrewery
1526 Set to not install header or
1527 programs used for program development,
1528 compilers, debuggers etc.
1529 When set, it also enforces the following options:
1530 .Pp
1531 .Bl -item -compact
1532 .It
1533 .Va WITHOUT_BINUTILS
1534 .It
1535 .Va WITHOUT_CLANG
1536 .It
1537 .Va WITHOUT_CLANG_EXTRAS
1538 .It
1539 .Va WITHOUT_CLANG_FULL
1540 .It
1541 .Va WITHOUT_GCC
1542 .It
1543 .Va WITHOUT_GDB
1544 .It
1545 .Va WITHOUT_INCLUDES
1546 .It
1547 .Va WITHOUT_LLDB
1548 .El
1549 .It Va WITHOUT_UNBOUND
1550 .\" from FreeBSD: head/tools/build/options/WITHOUT_UNBOUND 255597 2013-09-15 14:51:23Z des
1551 Set to not build
1552 .Xr unbound 8
1553 and related programs.
1554 .It Va WITHOUT_USB
1555 .\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
1556 Set to not build USB-related programs and libraries.
1557 .It Va WITHOUT_USB_GADGET_EXAMPLES
1558 .\" from FreeBSD: head/tools/build/options/WITHOUT_USB_GADGET_EXAMPLES 274665 2014-11-18 17:06:50Z imp
1559 Set to build USB gadget kernel modules.
1560 .It Va WITHOUT_UTMPX
1561 .\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 231530 2012-02-11 20:28:42Z ed
1562 Set to not build user accounting tools such as
1563 .Xr last 1 ,
1564 .Xr users 1 ,
1565 .Xr who 1 ,
1566 .Xr ac 8 ,
1567 .Xr lastlogin 8
1568 and
1569 .Xr utx 8 .
1570 .It Va WITHOUT_VI
1571 .\" from FreeBSD: head/tools/build/options/WITHOUT_VI 264903 2014-04-24 23:17:40Z imp
1572 Set to not build and install vi, view, ex and related programs.
1573 .It Va WITHOUT_VT
1574 .\" from FreeBSD: head/tools/build/options/WITHOUT_VT 268022 2014-06-30 00:20:12Z emaste
1575 Set to not build
1576 .Xr vt 4
1577 support files (fonts and keymaps).
1578 .It Va WITHOUT_WARNS
1579 .\" from FreeBSD: head/tools/build/options/WITHOUT_WARNS 276559 2015-01-02 18:57:58Z bapt
1580 Set this to not add warning flags to the compiler invocations.
1581 Useful as a temporary workaround when code enters the tree
1582 which triggers warnings in environments that differ from the
1583 original developer.
1584 .It Va WITHOUT_WIRELESS
1585 .\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
1586 Set to not build programs used for 802.11 wireless networks; especially
1587 .Xr wpa_supplicant 8
1588 and
1589 .Xr hostapd 8 .
1590 When set, it also enforces the following options:
1591 .Pp
1592 .Bl -item -compact
1593 .It
1594 .Va WITHOUT_WIRELESS_SUPPORT
1595 .El
1596 .It Va WITHOUT_WIRELESS_SUPPORT
1597 .\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
1598 Set to build libraries, programs, and kernel modules without
1599 802.11 wireless support.
1600 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1601 .\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
1602 Build
1603 .Xr wpa_supplicant 8
1604 without support for the IEEE 802.1X protocol and without
1605 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1606 protocols (usable only via 802.1X).
1607 .It Va WITHOUT_ZFS
1608 .\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
1609 Set to not build ZFS file system.
1610 .It Va WITHOUT_ZONEINFO
1611 .\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 235342 2012-05-12 16:12:36Z gjb
1612 Set to not build the timezone database.
1613 .El
1614 .Sh FILES
1615 .Bl -tag -compact -width Pa
1616 .It Pa /etc/src.conf
1617 .It Pa /etc/src-env.conf
1618 .It Pa /usr/share/mk/bsd.own.mk
1619 .El
1620 .Sh SEE ALSO
1621 .Xr make 1 ,
1622 .Xr make.conf 5 ,
1623 .Xr build 7 ,
1624 .Xr ports 7
1625 .Sh HISTORY
1626 The
1627 .Nm
1628 file appeared in
1629 .Fx 7.0 .
1630 .Sh AUTHORS
1631 This manual page was autogenerated.