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