1 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
8 .Nd "source build options"
12 file contains variables that control what components will be generated during
13 the build process of the
20 file uses the standard makefile syntax.
23 should not specify any dependencies to
29 variables that control the aspects of how the system builds.
31 The default location of
35 though an alternative location can be specified in the
39 Overriding the location of
41 may be necessary if the system-wide settings are not suitable
42 for a particular build.
47 effectively resets all build controls to their defaults.
51 is to control the compilation of the
53 source code, which is usually located in
55 As a rule, the system administrator creates
57 when the values of certain control variables need to be changed
60 In addition, control variables can be specified
61 for a particular build via the
65 or in its environment; see
70 for the build can be controlled via the
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 ,
80 as they are environment-only variables.
82 The values of variables are ignored regardless of their setting;
83 even if they would be set to
87 The presence of an option causes
91 This list provides a name and short description for variables
92 that can be used for source builds.
93 .Bl -tag -width indent
95 Set to not build process accounting tools such as
103 and related programs.
108 and related programs.
109 .It Va WITHOUT_ASSERT_DEBUG
110 Set to compile programs and libraries without the
116 and related utilities.
119 programs and libraries related to ATM networking.
121 Set to not build audit support into system programs.
122 .It Va WITHOUT_AUTHPF
125 .It Va WITHOUT_AUTOFS
128 related programs, libraries, and kernel modules.
129 .It Va WITHOUT_AUTO_OBJ
130 Disable automatic creation of objdirs.
131 This is enabled by default if the wanted OBJDIR is writable by the current user.
133 This must be set in the environment, make command line, or
134 .Pa /etc/src-env.conf ,
138 Build the BearSSL library.
140 BearSSL is a tiny SSL library suitable for embedded environments.
142 .Lk http://www.BearSSL.org/
144 This library is currently only used to perform
145 signature verification and related operations
146 for Verified Exec and
148 When set, these options are also in effect:
151 .It Va WITH_LOADER_EFI_SECUREBOOT
153 .Va WITHOUT_LOADER_EFI_SECUREBOOT
155 .It Va WITH_LOADER_VERIEXEC
157 .Va WITHOUT_LOADER_VERIEXEC
159 .It Va WITH_LOADER_VERIEXEC_VECTX
161 .Va WITHOUT_LOADER_VERIEXEC_VECTX
169 Set to not build or install
171 associated utilities, and examples.
173 This option only affects amd64/amd64.
174 .It Va WITH_BHYVE_SNAPSHOT
175 Set to include support for save and restore (snapshots) in
180 This option only affects amd64/amd64.
182 Build all binaries with the
184 flag set to indicate that the run-time loader should perform all relocation
185 processing at process startup rather than on demand.
186 .It Va WITHOUT_BLACKLIST
187 Set this if you do not want to build
191 When set, these options are also in effect:
194 .It Va WITHOUT_BLACKLIST_SUPPORT
196 .Va WITH_BLACKLIST_SUPPORT
199 .It Va WITHOUT_BLACKLIST_SUPPORT
200 Set to build some programs without
207 .It Va WITHOUT_BLUETOOTH
208 Set to not build Bluetooth related kernel modules, programs and libraries.
210 Set to not build the boot blocks and loader.
211 .It Va WITHOUT_BOOTPARAMD
212 Set to not build or install
214 .It Va WITHOUT_BOOTPD
215 Set to not build or install
217 .It Va WITHOUT_BSDINSTALL
221 and related programs.
222 .It Va WITHOUT_BSD_CPIO
223 Set to not build the BSD licensed version of cpio based on
226 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
228 Set to not build or install
230 and related libraries and data files.
232 Set to not build contributed bzip2 software as a part of the base system.
234 The option has no effect yet.
236 When set, these options are also in effect:
239 .It Va WITHOUT_BZIP2_SUPPORT
241 .Va WITH_BZIP2_SUPPORT
244 .It Va WITHOUT_BZIP2_SUPPORT
245 Set to build some programs without optional bzip2 support.
246 .It Va WITHOUT_CALENDAR
249 .It Va WITHOUT_CAPSICUM
250 Set to not build Capsicum support into system programs.
251 When set, it enforces these options:
257 .It Va WITHOUT_CAROOT
258 Set to not add the trusted certificates from the Mozilla NSS bundle to
260 .It Va WITHOUT_CASPER
261 Set to not build Casper program and related libraries.
262 .It Va WITH_CCACHE_BUILD
266 No configuration is required except to install the
272 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
273 The default cache directory of
275 will be used, which can be overridden by setting
278 .Sy CCACHE_COMPILERCHECK
281 when using the in-tree bootstrap compiler,
284 when using an external compiler.
287 option is used for Clang but not GCC.
289 Sharing a cache between multiple work directories requires using a layout
293 and an environment such as:
294 .Bd -literal -offset indent
295 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
300 for more configuration options.
304 and related utilities.
306 Set to not build code licensed under Sun's CDDL.
307 When set, it enforces these options:
313 .Va WITHOUT_LOADER_ZFS
318 Set to not build the Clang C/C++ compiler during the regular phase of the build.
319 When set, it enforces these options:
323 .Va WITHOUT_CLANG_EXTRAS
325 .Va WITHOUT_CLANG_FORMAT
327 .Va WITHOUT_CLANG_FULL
331 .It Va WITHOUT_CLANG_BOOTSTRAP
332 Set to not build the Clang C/C++ compiler during the bootstrap phase of
334 To be able to build the system, either gcc or clang bootstrap must be
335 enabled unless an alternate compiler is provided via XCC.
336 .It Va WITH_CLANG_EXTRAS
337 Set to build additional clang and llvm tools, such as bugpoint and
339 .It Va WITH_CLANG_FORMAT
340 Set to build clang-format.
341 .It Va WITHOUT_CLANG_FULL
342 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
343 the Clang C/C++ compiler.
344 .It Va WITHOUT_CLANG_IS_CC
345 Do not install links to the Clang C/C++ compiler as
351 Do not clean before building world and/or kernel.
355 .It Va WITHOUT_CROSS_COMPILER
356 Set to not build any cross compiler in the cross-tools stage of buildworld.
357 When compiling a different version of
359 than what is installed on the system, provide an alternate
360 compiler with XCC to ensure success.
361 When compiling with an identical version of
363 to the host, this option may be safely used.
364 This option may also be safe when the host version of
366 is close to the sources being built, but all bets are off if there have
367 been any changes to the toolchain between the versions.
368 When set, it enforces these options:
372 .Va WITHOUT_CLANG_BOOTSTRAP
374 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
376 .Va WITHOUT_LLD_BOOTSTRAP
379 Set to not build any crypto code.
380 When set, it enforces these options:
388 .Va WITHOUT_KERBEROS_SUPPORT
392 .Va WITHOUT_LDNS_UTILS
398 .Va WITHOUT_PKGBOOTSTRAP
409 When set, these options are also in effect:
412 .It Va WITHOUT_GSSAPI
418 Set to compile with CTF (Compact C Type Format) data.
419 CTF data encapsulates a reduced form of debugging information
420 similar to DWARF and the venerable stabs and is required for DTrace.
422 Set to not build CUSE-related programs and libraries.
423 .It Va WITHOUT_CXGBETOOL
427 This is a default setting on
428 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
429 .It Va WITH_CXGBETOOL
433 This is a default setting on
434 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
438 and related libraries.
439 It will also prevent building of
443 When set, it enforces these options:
449 .Va WITHOUT_CLANG_EXTRAS
451 .Va WITHOUT_CLANG_FORMAT
453 .Va WITHOUT_CLANG_FULL
455 .Va WITHOUT_DTRACE_TESTS
457 .Va WITHOUT_GOOGLETEST
463 .It Va WITHOUT_DEBUG_FILES
464 Set to avoid building or installing standalone debug files for each
465 executable binary and shared library.
466 .It Va WITHOUT_DIALOG
473 When set, it enforces these options:
477 .Va WITHOUT_BSDINSTALL
480 Set to not build the Webster dictionary files.
481 .It Va WITH_DIRDEPS_BUILD
482 This is an experimental build system.
484 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
485 Build commands can be seen from the top-level with:
486 .Dl make show-valid-targets
487 The build is driven by dirdeps.mk using
490 Makefile.depend files found in each directory.
492 The build can be started from anywhere, and behaves the same.
493 The initial instance of
498 .Pa Makefile.depend ,
499 computing a graph of tree dependencies from the current origin.
502 skips checking dirdep dependencies and will only build in the current
503 and child directories.
505 skips building any dirdeps and only build the current directory.
507 This also utilizes the
509 logic for incremental builds.
511 The build hides commands executed unless
515 Note that there is currently no mass install feature for this.
517 When set, it enforces these options:
521 .Va WITH_INSTALL_AS_USER
524 When set, these options are also in effect:
527 .It Va WITH_META_MODE
529 .Va WITHOUT_META_MODE
535 .It Va WITH_STAGING_MAN
537 .Va WITHOUT_STAGING_MAN
539 .It Va WITH_STAGING_PROG
541 .Va WITHOUT_STAGING_PROG
549 This must be set in the environment, make command line, or
550 .Pa /etc/src-env.conf ,
553 .It Va WITH_DIRDEPS_CACHE
554 Cache result of dirdeps.mk which can save significant time
555 for subsequent builds.
557 .Va WITH_DIRDEPS_BUILD .
559 This must be set in the environment, make command line, or
560 .Pa /etc/src-env.conf ,
563 .It Va WITHOUT_DMAGENT
564 Set to not build dma Mail Transport Agent.
565 .It Va WITHOUT_DOCCOMPRESS
566 Set to not install compressed system documentation.
567 Only the uncompressed version will be installed.
568 .It Va WITH_DTRACE_TESTS
569 Set to build and install the DTrace test suite in
570 .Pa /usr/tests/cddl/usr.sbin/dtrace .
571 This test suite is considered experimental on architectures other than
572 amd64/amd64 and running it may cause system instability.
573 .It Va WITHOUT_DYNAMICROOT
574 Set this if you do not want to link
580 Set to not build and install
583 and related programs.
590 This is a default setting on
591 mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
598 This is a default setting on
599 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
600 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
601 Set to not build ELF Tool Chain tools
602 (addr2line, nm, size, strings and strip)
603 as part of the bootstrap process.
605 An alternate bootstrap tool chain must be provided.
607 .It Va WITHOUT_EXAMPLES
608 Set to avoid installing examples to
609 .Pa /usr/share/examples/ .
610 .It Va WITH_EXPERIMENTAL
611 Set to include experimental features in the build.
612 .It Va WITH_EXTRA_TCP_STACKS
613 Set to build extra TCP stack modules.
615 Set to not build Flattened Device Tree support as part of the base system.
616 This includes the device tree compiler (dtc) and libfdt support library.
620 and related programs.
621 When set, it enforces these options:
627 .It Va WITHOUT_FINGER
628 Set to not build or install
632 .It Va WITHOUT_FLOPPY
633 Set to not build or install programs
634 for operating floppy disk driver.
635 .It Va WITHOUT_FMTREE
636 Set to not build and install
637 .Pa /usr/sbin/fmtree .
638 .It Va WITHOUT_FORMAT_EXTENSIONS
640 .Fl fformat-extensions
641 when compiling the kernel.
642 Also disables all format checking.
644 Set to build bootloaders without Forth support.
645 .It Va WITHOUT_FP_LIBC
648 without floating-point support.
649 .It Va WITHOUT_FREEBSD_UPDATE
651 .Xr freebsd-update 8 .
653 Set to not build or install
658 Set to not build games.
663 This is a default setting on
664 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
669 This is a default setting on
670 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
672 Set to not build and install the enhanced
676 programs instead of the traditional FreeBSD versions.
677 .It Va WITHOUT_GNU_DIFF
680 .It Va WITHOUT_GNU_GREP
683 .It Va WITH_GNU_GREP_COMPAT
684 Set this option to include GNU extensions in
686 by linking against libgnuregex.
687 .It Va WITHOUT_GOOGLETEST
688 Set to neither build nor install
693 This is a default setting on
694 mips/mips and mips/mips64.
695 .It Va WITH_GOOGLETEST
696 Set to build and install
701 This is a default setting on
702 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
706 as part of the base system.
707 .It Va WITHOUT_GSSAPI
708 Set to not build libgssapi.
712 and related utilities.
714 Set to build Hesiod support.
716 Set to not build HTML docs.
717 .It Va WITHOUT_HYPERV
718 Set to not build or install HyperV utilities.
720 This is a default setting on
721 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
723 Set to build or install HyperV utilities.
725 This is a default setting on
726 amd64/amd64 and i386/i386.
728 Set to not build iconv as part of libc.
729 .It Va WITHOUT_INCLUDES
730 Set to not install header files.
731 This option used to be spelled
734 The option does not work for build targets.
737 Set to not build programs and libraries related to IPv4 networking.
738 When set, it enforces these options:
742 .Va WITHOUT_INET_SUPPORT
746 programs and libraries related to IPv6 networking.
747 When set, it enforces these options:
751 .Va WITHOUT_INET6_SUPPORT
753 .It Va WITHOUT_INET6_SUPPORT
754 Set to build libraries, programs, and kernel modules without IPv6 support.
758 .It Va WITHOUT_INET_SUPPORT
759 Set to build libraries, programs, and kernel modules without IPv4 support.
760 .It Va WITHOUT_INSTALLLIB
761 Set this to not install optional libraries.
762 For example, when creating a
766 The option does not work for build targets.
768 .It Va WITH_INSTALL_AS_USER
769 Set to make install targets succeed for non-root users by installing
770 files with owner and group attributes set to that of the user running
774 The user still must set the
776 variable to point to a directory where the user has write permissions.
777 .It Va WITHOUT_IPFILTER
778 Set to not build IP Filter package.
780 Set to not build IPFW tools.
781 .It Va WITHOUT_IPSEC_SUPPORT
782 Set to not build the kernel with
785 This option is needed for
792 and related utilities.
794 Set to not build tools for the support of jails; e.g.,
801 .It Va WITHOUT_KERBEROS
802 Set this to not build Kerberos 5 (KTH Heimdal).
803 When set, these options are also in effect:
806 .It Va WITHOUT_GSSAPI
810 .It Va WITHOUT_KERBEROS_SUPPORT
812 .Va WITH_KERBEROS_SUPPORT
815 .It Va WITHOUT_KERBEROS_SUPPORT
816 Set to build some programs without Kerberos support, like
822 .It Va WITH_KERNEL_RETPOLINE
823 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
825 .It Va WITHOUT_KERNEL_SYMBOLS
826 Set to not install kernel symbol files.
828 This option is recommended for those people who have small root partitions.
833 library as a part of the base system.
835 The option has no effect yet.
837 When set, these options are also in effect:
840 .It Va WITHOUT_KVM_SUPPORT
845 .It Va WITHOUT_KVM_SUPPORT
846 Set to build some programs without optional
850 Setting this variable will prevent the LDNS library from being built.
851 When set, it enforces these options:
855 .Va WITHOUT_LDNS_UTILS
859 .It Va WITHOUT_LDNS_UTILS
860 Setting this variable will prevent building the LDNS utilities
864 .It Va WITHOUT_LEGACY_CONSOLE
865 Set to not build programs that support a legacy PC console; e.g.,
870 On 64-bit platforms, set to not build 32-bit library set and a
874 This is a default setting on
875 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
876 .It Va WITHOUT_LIBCPLUSPLUS
877 Set to avoid building libcxxrt and libc++.
878 .It Va WITHOUT_LIBPTHREAD
883 When set, it enforces these options:
890 On armv6 only, set to enable soft float ABI compatibility libraries.
891 This option is for transitioning to the new hard float ABI.
892 .It Va WITHOUT_LIBTHR
898 Set to not build LLVM's lld linker.
900 Set to not build the LLDB debugger.
902 This is a default setting on
903 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
905 Set to build the LLDB debugger.
907 This is a default setting on
908 amd64/amd64, arm64/aarch64 and i386/i386.
909 .It Va WITHOUT_LLD_BOOTSTRAP
910 Set to not build the LLD linker during the bootstrap phase of
912 To be able to build the system, either Binutils or LLD bootstrap must be
913 enabled unless an alternate linker is provided via XLD.
914 .It Va WITHOUT_LLD_IS_LD
915 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
916 .It Va WITHOUT_LLVM_ASSERTIONS
917 Set to disable debugging assertions in LLVM.
918 .It Va WITHOUT_LLVM_COV
922 .It Va WITHOUT_LLVM_TARGET_AARCH64
923 Set to not build LLVM target support for AArch64.
926 option should be used rather than this in most cases.
927 .It Va WITHOUT_LLVM_TARGET_ALL
928 Set to only build the required LLVM target support.
929 This option is preferred to specific target support options.
930 When set, these options are also in effect:
933 .It Va WITHOUT_LLVM_TARGET_AARCH64
935 .Va WITH_LLVM_TARGET_AARCH64
937 .It Va WITHOUT_LLVM_TARGET_ARM
939 .Va WITH_LLVM_TARGET_ARM
941 .It Va WITHOUT_LLVM_TARGET_MIPS
943 .Va WITH_LLVM_TARGET_MIPS
945 .It Va WITHOUT_LLVM_TARGET_POWERPC
947 .Va WITH_LLVM_TARGET_POWERPC
949 .It Va WITHOUT_LLVM_TARGET_RISCV
951 .Va WITH_LLVM_TARGET_RISCV
954 .It Va WITHOUT_LLVM_TARGET_ARM
955 Set to not build LLVM target support for ARM.
958 option should be used rather than this in most cases.
959 .It Va WITH_LLVM_TARGET_BPF
960 Set to build LLVM target support for BPF.
963 option should be used rather than this in most cases.
964 .It Va WITHOUT_LLVM_TARGET_MIPS
965 Set to not build LLVM target support for MIPS.
968 option should be used rather than this in most cases.
969 .It Va WITHOUT_LLVM_TARGET_POWERPC
970 Set to not build LLVM target support for PowerPC.
973 option should be used rather than this in most cases.
974 .It Va WITHOUT_LLVM_TARGET_RISCV
975 Set to not build LLVM target support for RISC-V.
978 option should be used rather than this in most cases.
979 .It Va WITHOUT_LLVM_TARGET_X86
980 Set to not build LLVM target support for X86.
983 option should be used rather than this in most cases.
984 .It Va WITH_LOADER_EFI_SECUREBOOT
987 with support for verification based on certificates obtained from UEFI.
989 .It Va WITH_LOADER_FIREWIRE
990 Enable firewire support in /boot/loader on x86.
991 This option is a nop on all other platforms.
992 .It Va WITHOUT_LOADER_GELI
993 Disable inclusion of GELI crypto support in the boot chain binaries.
995 This is a default setting on
996 powerpc/powerpc and powerpc/powerpc64.
997 .It Va WITH_LOADER_GELI
998 Set to build GELI bootloader support.
1000 This is a default setting on
1001 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1002 .It Va WITHOUT_LOADER_LUA
1003 Set to not build LUA bindings for the boot loader.
1005 This is a default setting on
1006 powerpc/powerpc and powerpc/powerpc64.
1007 .It Va WITH_LOADER_LUA
1008 Set to build LUA bindings for the boot loader.
1010 This is a default setting on
1011 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1012 .It Va WITHOUT_LOADER_OFW
1013 Disable building of openfirmware bootloader components.
1015 This is a default setting on
1016 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1017 .It Va WITH_LOADER_OFW
1018 Set to build openfirmware bootloader components.
1020 This is a default setting on
1021 powerpc/powerpc and powerpc/powerpc64.
1022 .It Va WITHOUT_LOADER_UBOOT
1023 Disable building of ubldr.
1025 This is a default setting on
1026 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1027 .It Va WITH_LOADER_UBOOT
1030 This is a default setting on
1031 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1032 .It Va WITH_LOADER_VERBOSE
1033 Set to build with extra verbose debugging in the loader.
1034 May explode already nearly too large loader over the limit.
1036 .It Va WITH_LOADER_VERIEXEC
1039 with support for verification similar to Verified Exec.
1043 When set, these options are also in effect:
1046 .It Va WITH_LOADER_EFI_SECUREBOOT
1048 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1050 .It Va WITH_LOADER_VERIEXEC_VECTX
1052 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1055 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1058 with support to pass a verified manifest to the kernel.
1059 The kernel has to be built with a module to parse the manifest.
1062 .Va WITH_LOADER_VERIEXEC .
1063 .It Va WITHOUT_LOADER_ZFS
1064 Set to not build ZFS file system boot loader support.
1065 .It Va WITHOUT_LOCALES
1066 Set to not build localization files; see
1068 .It Va WITHOUT_LOCATE
1071 and related programs.
1075 and related programs.
1076 .It Va WITHOUT_LS_COLORS
1079 without support for colors to distinguish file types.
1080 .It Va WITHOUT_LZMA_SUPPORT
1081 Set to build some programs without optional lzma compression support.
1083 Set to not build any mail support (MUA or MTA).
1084 When set, it enforces these options:
1090 .Va WITHOUT_MAILWRAPPER
1092 .Va WITHOUT_SENDMAIL
1094 .It Va WITHOUT_MAILWRAPPER
1095 Set to not build the
1101 and related support files.
1102 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1105 in limited sandbox mode.
1106 This option should be paired with
1107 .Va WITH_INSTALL_AS_USER
1108 if executed as an unprivileged user.
1112 .It Va WITH_MALLOC_PRODUCTION
1113 Set to disable assertions and statistics gathering in
1115 It also defaults the A and J runtime options to off.
1117 Set to not build manual pages.
1118 When set, these options are also in effect:
1121 .It Va WITHOUT_MAN_UTILS
1126 .It Va WITHOUT_MANCOMPRESS
1127 Set to not to install compressed man pages.
1128 Only the uncompressed versions will be installed.
1129 .It Va WITHOUT_MAN_UTILS
1130 Set to not build utilities for manual pages,
1136 and related support files.
1137 .It Va WITH_META_MODE
1140 meta files when building, which can provide a reliable incremental build when
1143 The meta file is created in OBJDIR as
1145 These meta files track the command that was executed, its output, and the
1149 module is required unless
1152 When the module is loaded, any files used by the commands executed are
1153 tracked as dependencies for the target in its meta file.
1154 The target is considered out-of-date and rebuilt if any of these
1155 conditions are true compared to the last build:
1156 .Bl -bullet -compact
1158 The command to execute changes.
1160 The current working directory changes.
1162 The target's meta file is missing.
1164 The target's meta file is missing filemon data when filemon is loaded
1165 and a previous run did not have it loaded.
1169 Files read, executed or linked to are newer than the target.
1173 Files read, written, executed or linked are missing.
1175 The meta files can also be useful for debugging.
1177 The build hides commands that are executed unless
1182 to show some of its environment for further debugging.
1184 The build operates as it normally would otherwise.
1185 This option originally invoked a different build system but that was renamed
1187 .Va WITH_DIRDEPS_BUILD .
1189 This must be set in the environment, make command line, or
1190 .Pa /etc/src-env.conf ,
1193 .It Va WITHOUT_MLX5TOOL
1197 This is a default setting on
1198 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1199 .It Va WITH_MLX5TOOL
1203 This is a default setting on
1204 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1206 Set to not build programs and libraries
1207 related to NDIS emulation support.
1208 .It Va WITHOUT_NETCAT
1212 .It Va WITHOUT_NETGRAPH
1213 Set to not build applications to support
1215 When set, it enforces these options:
1221 .Va WITHOUT_BLUETOOTH
1224 When set, these options are also in effect:
1227 .It Va WITHOUT_NETGRAPH_SUPPORT
1229 .Va WITH_NETGRAPH_SUPPORT
1232 .It Va WITHOUT_NETGRAPH_SUPPORT
1233 Set to build libraries, programs, and kernel modules without netgraph support.
1237 support and related programs.
1238 If set, you might need to adopt your
1244 Set to not build NLS catalogs.
1245 When set, it enforces these options:
1249 .Va WITHOUT_NLS_CATALOGS
1251 .It Va WITHOUT_NLS_CATALOGS
1252 Set to not build NLS catalog support for
1254 .It Va WITHOUT_NS_CACHING
1255 Set to disable name caching in the
1258 The generic caching daemon,
1260 will not be built either if this option is set.
1264 and related programs.
1266 Set to not build nvme related tools and kernel modules.
1268 This is a default setting on
1269 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1271 Set to build nvme related tools and kernel modules.
1273 This is a default setting on
1274 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1277 .Dq "OpenFabrics Enterprise Distribution"
1278 Infiniband software stack.
1279 .It Va WITH_OFED_EXTRA
1280 Set to build the non-essential components of the
1281 .Dq "OpenFabrics Enterprise Distribution"
1282 Infiniband software stack, mostly examples.
1283 .It Va WITH_OPENLDAP
1284 Enable building openldap support for kerberos.
1285 .It Va WITHOUT_OPENMP
1286 Set to not build LLVM's OpenMP runtime.
1288 This is a default setting on
1289 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1291 Set to build LLVM's OpenMP runtime.
1293 This is a default setting on
1294 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1295 .It Va WITHOUT_OPENSSH
1296 Set to not build OpenSSH.
1297 .It Va WITHOUT_OPENSSL
1298 Set to not build OpenSSL.
1299 When set, it enforces these options:
1305 .Va WITHOUT_KERBEROS
1307 .Va WITHOUT_KERBEROS_SUPPORT
1311 .Va WITHOUT_LDNS_UTILS
1315 .Va WITHOUT_PKGBOOTSTRAP
1323 .Va WITHOUT_WIRELESS
1326 When set, these options are also in effect:
1329 .It Va WITHOUT_GSSAPI
1335 Set to not build PAM library and modules.
1337 This option is deprecated and does nothing.
1339 When set, these options are also in effect:
1342 .It Va WITHOUT_PAM_SUPPORT
1344 .Va WITH_PAM_SUPPORT
1347 .It Va WITHOUT_PAM_SUPPORT
1348 Set to build some programs without PAM support, particularly
1353 Set to not build PF firewall package.
1354 When set, it enforces these options:
1361 Build dynamically linked binaries as
1362 Position-Independent Executable (PIE).
1363 .It Va WITHOUT_PKGBOOTSTRAP
1370 and related programs.
1371 .It Va WITHOUT_PORTSNAP
1372 Set to not build or install
1378 and related programs.
1379 .It Va WITHOUT_PROFILE
1380 Set to not build profiled libraries for use with
1383 This is a default setting on
1386 Set to build profiled libraries for use with
1389 This is a default setting on
1390 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1391 .It Va WITHOUT_QUOTAS
1394 and related programs.
1395 .It Va WITHOUT_RADIUS_SUPPORT
1396 Set to not build radius support into various applications, like
1400 .It Va WITH_RATELIMIT
1401 Set to build the system with rate limit support.
1404 .Dv SO_MAX_PACING_RATE
1412 .It Va WITHOUT_RBOOTD
1413 Set to not build or install
1415 .It Va WITH_REPRODUCIBLE_BUILD
1416 Set to exclude build metadata (such as the build time, user, or host)
1417 from the kernel, boot loaders, and uname output, so that builds produce
1418 bit-for-bit identical output.
1419 .It Va WITHOUT_RESCUE
1422 .It Va WITH_RETPOLINE
1423 Set to build the base system with the retpoline speculative execution
1424 vulnerability mitigation for CVE-2017-5715.
1425 .It Va WITHOUT_ROUTED
1429 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1432 with warmstart support.
1433 .It Va WITHOUT_SENDMAIL
1436 and related programs.
1437 .It Va WITHOUT_SERVICESDB
1439 .Pa /var/db/services.db .
1440 .It Va WITHOUT_SETUID_LOGIN
1441 Set this to disable the installation of
1443 as a set-user-ID root program.
1444 .It Va WITHOUT_SHAREDOCS
1445 Set to not build the
1448 .It Va WITHOUT_SHARED_TOOLCHAIN
1449 Set to build the toolchain binaries as statically linked executables.
1453 and necessary utilities like assembler, linker and library archive manager.
1454 .It Va WITH_SORT_THREADS
1455 Set to enable threads in
1457 .It Va WITHOUT_SOURCELESS
1458 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1459 When set, it enforces these options:
1463 .Va WITHOUT_SOURCELESS_HOST
1465 .Va WITHOUT_SOURCELESS_UCODE
1467 .It Va WITHOUT_SOURCELESS_HOST
1468 Set to not build kernel modules that include sourceless native code for host CPU.
1469 .It Va WITHOUT_SOURCELESS_UCODE
1470 Set to not build kernel modules that include sourceless microcode.
1472 Set to not build world with propolice stack smashing protection.
1474 This is a default setting on
1475 mips/mips and mips/mips64.
1477 Set to build world with propolice stack smashing protection.
1479 This is a default setting on
1480 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1482 Enable staging of files to a stage tree.
1483 This can be best thought of as auto-install to
1485 with some extra meta data to ensure dependencies can be tracked.
1487 .Va WITH_DIRDEPS_BUILD .
1488 When set, these options are also in effect:
1491 .It Va WITH_STAGING_MAN
1493 .Va WITHOUT_STAGING_MAN
1495 .It Va WITH_STAGING_PROG
1497 .Va WITHOUT_STAGING_PROG
1501 This must be set in the environment, make command line, or
1502 .Pa /etc/src-env.conf ,
1505 .It Va WITH_STAGING_MAN
1506 Enable staging of man pages to stage tree.
1507 .It Va WITH_STAGING_PROG
1508 Enable staging of PROGs to stage tree.
1509 .It Va WITH_STALE_STAGED
1510 Check staged files are not stale.
1511 .It Va WITHOUT_STATS
1512 Set to neither build nor install
1514 and dependent binaries.
1520 .It Va WITHOUT_SVNLITE
1523 and related programs.
1524 .It Va WITHOUT_SYSCONS
1527 support files such as keyboard maps, fonts, and screen output maps.
1529 Enable use of sysroot during build.
1531 .Va WITH_DIRDEPS_BUILD .
1533 This must be set in the environment, make command line, or
1534 .Pa /etc/src-env.conf ,
1537 .It Va WITHOUT_SYSTEM_COMPILER
1538 Set to not opportunistically skip building a cross-compiler during the
1539 bootstrap phase of the build.
1540 Normally, if the currently installed compiler matches the planned bootstrap
1541 compiler type and revision, then it will not be built.
1542 This does not prevent a compiler from being built for installation though,
1543 only for building one for the build itself.
1546 option controls that.
1547 .It Va WITHOUT_SYSTEM_LINKER
1548 Set to not opportunistically skip building a cross-linker during the
1549 bootstrap phase of the build.
1550 Normally, if the currently installed linker matches the planned bootstrap
1551 linker type and revision, then it will not be built.
1552 This does not prevent a linker from being built for installation though,
1553 only for building one for the build itself.
1556 option controls that.
1558 This option is only relevant when
1559 .Va WITH_LLD_BOOTSTRAP
1562 Set to not build or install
1566 .It Va WITHOUT_TCP_WRAPPERS
1567 Set to not build or install
1569 and related utilities.
1571 Set to not build and install
1575 .It Va WITHOUT_TELNET
1578 and related programs.
1579 .It Va WITHOUT_TESTS
1580 Set to not build nor install the
1587 This also disables the build of all test-related dependencies, including ATF.
1588 When set, it enforces these options:
1592 .Va WITHOUT_DTRACE_TESTS
1595 When set, these options are also in effect:
1598 .It Va WITHOUT_GOOGLETEST
1602 .It Va WITHOUT_TESTS_SUPPORT
1604 .Va WITH_TESTS_SUPPORT
1607 .It Va WITHOUT_TESTS_SUPPORT
1608 Set to disables the build of all test-related dependencies, including ATF.
1609 When set, it enforces these options:
1613 .Va WITHOUT_GOOGLETEST
1615 .It Va WITHOUT_TEXTPROC
1617 programs used for text processing.
1619 Set to not build or install
1623 .It Va WITHOUT_TOOLCHAIN
1624 Set to not install header or
1625 programs used for program development,
1626 compilers, debuggers etc.
1627 When set, it enforces these options:
1633 .Va WITHOUT_CLANG_EXTRAS
1635 .Va WITHOUT_CLANG_FORMAT
1637 .Va WITHOUT_CLANG_FULL
1641 .Va WITHOUT_INCLUDES
1647 .Va WITHOUT_LLVM_COV
1649 .It Va WITHOUT_UNBOUND
1652 and related programs.
1653 .It Va WITHOUT_UNIFIED_OBJDIR
1654 Set to use the historical object directory format for
1657 For native-builds and builds done directly in sub-directories the format of
1658 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1660 while for cross-builds
1661 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1664 This option is transitional and will be removed before the 12.0 release,
1666 .va WITH_UNIFIED_OBJDIR
1667 will be enabled permanently.
1669 This must be set in the environment, make command line, or
1670 .Pa /etc/src-env.conf ,
1674 Set to not build USB-related programs and libraries.
1675 .It Va WITHOUT_USB_GADGET_EXAMPLES
1676 Set to not build USB gadget kernel modules.
1677 .It Va WITHOUT_UTMPX
1678 Set to not build user accounting tools such as
1686 .It Va WITH_VERIEXEC
1689 which loads the contents of verified manifests into the kernel
1696 Set to not build and install vi, view, ex and related programs.
1700 support files (fonts and keymaps).
1701 .It Va WITHOUT_WARNS
1702 Set this to not add warning flags to the compiler invocations.
1703 Useful as a temporary workaround when code enters the tree
1704 which triggers warnings in environments that differ from the
1706 .It Va WITHOUT_WIRELESS
1707 Set to not build programs used for 802.11 wireless networks; especially
1708 .Xr wpa_supplicant 8
1711 When set, these options are also in effect:
1714 .It Va WITHOUT_WIRELESS_SUPPORT
1716 .Va WITH_WIRELESS_SUPPORT
1719 .It Va WITHOUT_WIRELESS_SUPPORT
1720 Set to build libraries, programs, and kernel modules without
1721 802.11 wireless support.
1722 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1724 .Xr wpa_supplicant 8
1725 without support for the IEEE 802.1X protocol and without
1726 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1727 protocols (usable only via 802.1X).
1729 Set to not build ZFS file system kernel module, libraries, and user commands.
1730 .It Va WITHOUT_ZONEINFO
1731 Set to not build the timezone database.
1732 When set, it enforces these options:
1736 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1738 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1739 Set to build leapsecond information in to the timezone database.
1742 .Bl -tag -compact -width Pa
1743 .It Pa /etc/src.conf
1744 .It Pa /etc/src-env.conf
1745 .It Pa /usr/share/mk/bsd.own.mk
1758 This manual page was autogenerated by
1759 .An tools/build/options/makeman .