1722a4cb4SEd Maste.\" DO NOT EDIT-- this file is generated by tools/build/options/makeman. 2fa07cb9cSRuslan Ermilov.\" $FreeBSD$ 3*e5259506SEnji Cooper.Dd August 14, 2017 4fa07cb9cSRuslan Ermilov.Dt SRC.CONF 5 5fa07cb9cSRuslan Ermilov.Os 6fa07cb9cSRuslan Ermilov.Sh NAME 7fa07cb9cSRuslan Ermilov.Nm src.conf 816f2e711SYaroslav Tykhiy.Nd "source build options" 9fa07cb9cSRuslan Ermilov.Sh DESCRIPTION 10fa07cb9cSRuslan ErmilovThe 11fa07cb9cSRuslan Ermilov.Nm 12fa07cb9cSRuslan Ermilovfile contains settings that will apply to every build involving the 13fa07cb9cSRuslan Ermilov.Fx 14fa07cb9cSRuslan Ermilovsource tree; see 15fa07cb9cSRuslan Ermilov.Xr build 7 . 16fa07cb9cSRuslan Ermilov.Pp 17fa07cb9cSRuslan ErmilovThe 18fa07cb9cSRuslan Ermilov.Nm 19fa07cb9cSRuslan Ermilovfile uses the standard makefile syntax. 20fa07cb9cSRuslan ErmilovHowever, 21fa07cb9cSRuslan Ermilov.Nm 22fa07cb9cSRuslan Ermilovshould not specify any dependencies to 23fa07cb9cSRuslan Ermilov.Xr make 1 . 24fa07cb9cSRuslan ErmilovInstead, 25fa07cb9cSRuslan Ermilov.Nm 26fa07cb9cSRuslan Ermilovis to set 27fa07cb9cSRuslan Ermilov.Xr make 1 28fa07cb9cSRuslan Ermilovvariables that control the aspects of how the system builds. 29fa07cb9cSRuslan Ermilov.Pp 30fa07cb9cSRuslan ErmilovThe default location of 31fa07cb9cSRuslan Ermilov.Nm 32fa07cb9cSRuslan Ermilovis 33fa07cb9cSRuslan Ermilov.Pa /etc/src.conf , 34fa07cb9cSRuslan Ermilovthough an alternative location can be specified in the 35fa07cb9cSRuslan Ermilov.Xr make 1 36fa07cb9cSRuslan Ermilovvariable 37fa07cb9cSRuslan Ermilov.Va SRCCONF . 38fa07cb9cSRuslan ErmilovOverriding the location of 39fa07cb9cSRuslan Ermilov.Nm 40fa07cb9cSRuslan Ermilovmay be necessary if the system-wide settings are not suitable 41fa07cb9cSRuslan Ermilovfor a particular build. 42fa07cb9cSRuslan ErmilovFor instance, setting 43fa07cb9cSRuslan Ermilov.Va SRCCONF 44fa07cb9cSRuslan Ermilovto 45fa07cb9cSRuslan Ermilov.Pa /dev/null 46fa07cb9cSRuslan Ermiloveffectively resets all build controls to their defaults. 47fa07cb9cSRuslan Ermilov.Pp 48fa07cb9cSRuslan ErmilovThe only purpose of 49fa07cb9cSRuslan Ermilov.Nm 50fa07cb9cSRuslan Ermilovis to control the compilation of the 51fa07cb9cSRuslan Ermilov.Fx 5216f2e711SYaroslav Tykhiysource code, which is usually located in 53fa07cb9cSRuslan Ermilov.Pa /usr/src . 54fa07cb9cSRuslan ErmilovAs a rule, the system administrator creates 55fa07cb9cSRuslan Ermilov.Nm 56fa07cb9cSRuslan Ermilovwhen the values of certain control variables need to be changed 57fa07cb9cSRuslan Ermilovfrom their defaults. 58fa07cb9cSRuslan Ermilov.Pp 59fa07cb9cSRuslan ErmilovIn addition, control variables can be specified 60fa07cb9cSRuslan Ermilovfor a particular build via the 61fa07cb9cSRuslan Ermilov.Fl D 62fa07cb9cSRuslan Ermilovoption of 63fa07cb9cSRuslan Ermilov.Xr make 1 6472735687SMike Makonnenor in its environment; see 65fa07cb9cSRuslan Ermilov.Xr environ 7 . 66fa07cb9cSRuslan Ermilov.Pp 670a70ef02SBryan DreweryThe environment of 680a70ef02SBryan Drewery.Xr make 1 690a70ef02SBryan Dreweryfor the build can be controlled via the 700a70ef02SBryan Drewery.Va SRC_ENV_CONF 710a70ef02SBryan Dreweryvariable, which defaults to 720a70ef02SBryan Drewery.Pa /etc/src-env.conf . 730a70ef02SBryan DrewerySome examples that may only be set in this file are 7432b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD , 750a70ef02SBryan Dreweryand 760a70ef02SBryan Drewery.Va WITH_META_MODE 770a70ef02SBryan Dreweryas they are environment-only variables. 787df4050dSBryan DreweryNote that 797df4050dSBryan Drewery.Va MAKEOBJDIRPREFIX 807df4050dSBryan Drewerymay be set here only when using 817df4050dSBryan Drewery.Va WITH_DIRDEPS_BUILD . 820a70ef02SBryan Drewery.Pp 8316f2e711SYaroslav TykhiyThe values of variables are ignored regardless of their setting; 8416f2e711SYaroslav Tykhiyeven if they would be set to 85fa07cb9cSRuslan Ermilov.Dq Li FALSE 86fa07cb9cSRuslan Ermilovor 8716f2e711SYaroslav Tykhiy.Dq Li NO . 88344e2bb9SEd MasteThe presence of an option causes 89344e2bb9SEd Masteit to be honored by 9016f2e711SYaroslav Tykhiy.Xr make 1 . 91fa07cb9cSRuslan Ermilov.Pp 92344e2bb9SEd MasteThis list provides a name and short description for variables 93fa07cb9cSRuslan Ermilovthat can be used for source builds. 94fa07cb9cSRuslan Ermilov.Bl -tag -width indent 95aaa6d7ebSSam Leffler.It Va WITHOUT_ACCT 96aaa6d7ebSSam LefflerSet to not build process accounting tools such as 970ea27d02SEd Schouten.Xr accton 8 98aaa6d7ebSSam Lefflerand 990ea27d02SEd Schouten.Xr sa 8 . 100fa07cb9cSRuslan Ermilov.It Va WITHOUT_ACPI 101fa07cb9cSRuslan ErmilovSet to not build 102fa07cb9cSRuslan Ermilov.Xr acpiconf 8 , 103fa07cb9cSRuslan Ermilov.Xr acpidump 8 104fa07cb9cSRuslan Ermilovand related programs. 105aaa6d7ebSSam Leffler.It Va WITHOUT_AMD 106aaa6d7ebSSam LefflerSet to not build 107aaa6d7ebSSam Leffler.Xr amd 8 , 108aaa6d7ebSSam Lefflerand related programs. 109aaa6d7ebSSam Leffler.It Va WITHOUT_APM 110aaa6d7ebSSam LefflerSet to not build 111aaa6d7ebSSam Leffler.Xr apm 8 , 112aaa6d7ebSSam Leffler.Xr apmd 8 113aaa6d7ebSSam Lefflerand related programs. 114e567b213SRuslan Ermilov.It Va WITHOUT_ASSERT_DEBUG 115e567b213SRuslan ErmilovSet to compile programs and libraries without the 116e567b213SRuslan Ermilov.Xr assert 3 117e567b213SRuslan Ermilovchecks. 118aaa6d7ebSSam Leffler.It Va WITHOUT_AT 119aaa6d7ebSSam LefflerSet to not build 120aaa6d7ebSSam Leffler.Xr at 1 121aaa6d7ebSSam Lefflerand related utilities. 122fa07cb9cSRuslan Ermilov.It Va WITHOUT_ATM 123fa07cb9cSRuslan ErmilovSet to not build 124fa07cb9cSRuslan Ermilovprograms and libraries related to ATM networking. 125fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUDIT 126fa07cb9cSRuslan ErmilovSet to not build audit support into system programs. 127fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUTHPF 128fa07cb9cSRuslan ErmilovSet to not build 129fa07cb9cSRuslan Ermilov.Xr authpf 8 . 13061940879SEnji Cooper.It Va WITHOUT_AUTOFS 13161940879SEnji CooperSet to not build 1324b9f77e4SEdward Tomasz Napierala.Xr autofs 5 13361940879SEnji Cooperrelated programs, libraries, and kernel modules. 134cc2520d2SSimon J. Gerraty.It Va WITH_AUTO_OBJ 135cc2520d2SSimon J. GerratyEnable automatic creation of objdirs. 1360a70ef02SBryan Drewery.Pp 137ba852870SBryan DreweryThis must be set in the environment, make command line, or 1380a70ef02SBryan Drewery.Pa /etc/src-env.conf , 1390a70ef02SBryan Drewerynot 1400a70ef02SBryan Drewery.Pa /etc/src.conf . 14161940879SEnji Cooper.It Va WITHOUT_BHYVE 14261940879SEnji CooperSet to not build or install 14361940879SEnji Cooper.Xr bhyve 8 , 14461940879SEnji Cooperassociated utilities, and examples. 14561940879SEnji Cooper.Pp 14661940879SEnji CooperThis option only affects amd64/amd64. 14790be798eSDimitry Andric.It Va WITHOUT_BINUTILS 14884465e31SEd MasteSet to not build or install binutils (as, ld, objcopy, and objdump ) as part 14990be798eSDimitry Andricof the normal system build. 15090be798eSDimitry AndricThe resulting system cannot build programs from source. 1515be09b10SEd Maste.Pp 152344e2bb9SEd MasteThis is a default setting on 1530780f5c3SJohn Baldwinarm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 154344e2bb9SEd MasteWhen set, it enforces these options: 15536e8c7bbSEd Maste.Pp 15636e8c7bbSEd Maste.Bl -item -compact 15736e8c7bbSEd Maste.It 15836e8c7bbSEd Maste.Va WITHOUT_GDB 15936e8c7bbSEd Maste.El 1605977355fSBryan Drewery.It Va WITH_BINUTILS 1615977355fSBryan DrewerySet to build and install binutils (as, ld, objcopy, and objdump) as part 1625977355fSBryan Dreweryof the normal system build. 1635977355fSBryan Drewery.Pp 164344e2bb9SEd MasteThis is a default setting on 165661cf9b6SYoshihiro Takahashiamd64/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. 16690be798eSDimitry Andric.It Va WITHOUT_BINUTILS_BOOTSTRAP 1675977355fSBryan DrewerySet to not build binutils (as, ld, objcopy and objdump) 16890be798eSDimitry Andricas part of the bootstrap process. 16990be798eSDimitry Andric.Bf -symbolic 17090be798eSDimitry AndricThe option does not work for build targets unless some alternative 17190be798eSDimitry Andrictoolchain is provided. 17290be798eSDimitry Andric.Ef 1735be09b10SEd Maste.Pp 174344e2bb9SEd MasteThis is a default setting on 1750780f5c3SJohn Baldwinarm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 1765977355fSBryan Drewery.It Va WITH_BINUTILS_BOOTSTRAP 1775977355fSBryan DrewerySet build binutils (as, ld, objcopy and objdump) 1785977355fSBryan Dreweryas part of the bootstrap process. 1795977355fSBryan Drewery.Pp 180344e2bb9SEd MasteThis is a default setting on 181661cf9b6SYoshihiro Takahashiamd64/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. 1820341a043SBryan Drewery.It Va WITHOUT_BLACKLIST 1834650b8aeSEnji CooperSet this if you do not want to build 1844650b8aeSEnji Cooper.Xr blacklistd 8 1854650b8aeSEnji Cooperand 1864650b8aeSEnji Cooper.Xr blacklistctl 8 . 187344e2bb9SEd MasteWhen set, it enforces these options: 1880341a043SBryan Drewery.Pp 1890341a043SBryan Drewery.Bl -item -compact 1900341a043SBryan Drewery.It 1910341a043SBryan Drewery.Va WITHOUT_BLACKLIST_SUPPORT 1920341a043SBryan Drewery.El 1930341a043SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT 1944650b8aeSEnji CooperSet to build some programs without 1954650b8aeSEnji Cooper.Xr libblacklist 3 1964650b8aeSEnji Coopersupport, like 1970341a043SBryan Drewery.Xr fingerd 8 , 1980341a043SBryan Drewery.Xr ftpd 8 , 1990341a043SBryan Drewery.Xr rlogind 8 , 2000341a043SBryan Drewery.Xr rshd 8 , 2010341a043SBryan Dreweryand 2020341a043SBryan Drewery.Xr sshd 8 . 20390be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH 20490be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries. 20590be798eSDimitry Andric.It Va WITHOUT_BOOT 20690be798eSDimitry AndricSet to not build the boot blocks and loader. 2070e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD 2080e0e9604SEnji CooperSet to not build or install 2090e0e9604SEnji Cooper.Xr bootparamd 8 . 2100e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD 2110e0e9604SEnji CooperSet to not build or install 2120e0e9604SEnji Cooper.Xr bootpd 8 . 21393da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL 21493da8366SEnji CooperSet to not build 21593da8366SEnji Cooper.Xr bsdinstall 8 , 21693da8366SEnji Cooper.Xr sade 8 , 21793da8366SEnji Cooperand related programs. 21890be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO 21990be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on 22090be798eSDimitry Andric.Xr libarchive 3 . 22190be798eSDimitry Andric.It Va WITH_BSD_GREP 22290be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep. 2233f39ffc8SEd Maste.It Va WITHOUT_BSD_GREP_FASTMATCH 2243f39ffc8SEd MasteSet this option to exclude the fastmatch implementation from 2253f39ffc8SEd Maste.Xr bsdgrep 1 , 2263f39ffc8SEd Masteinstead using only 2273f39ffc8SEd Maste.Xr regex 3 . 22890be798eSDimitry Andric.It Va WITHOUT_BSNMP 22990be798eSDimitry AndricSet to not build or install 23090be798eSDimitry Andric.Xr bsnmpd 1 23190be798eSDimitry Andricand related libraries and data files. 23290be798eSDimitry Andric.It Va WITHOUT_BZIP2 23390be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system. 23490be798eSDimitry Andric.Bf -symbolic 23590be798eSDimitry AndricThe option has no effect yet. 23690be798eSDimitry Andric.Ef 237344e2bb9SEd MasteWhen set, it enforces these options: 23890be798eSDimitry Andric.Pp 23990be798eSDimitry Andric.Bl -item -compact 24090be798eSDimitry Andric.It 24190be798eSDimitry Andric.Va WITHOUT_BZIP2_SUPPORT 24290be798eSDimitry Andric.El 24390be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT 24490be798eSDimitry AndricSet to build some programs without optional bzip2 support. 24590be798eSDimitry Andric.It Va WITHOUT_CALENDAR 24690be798eSDimitry AndricSet to not build 24790be798eSDimitry Andric.Xr calendar 1 . 24890be798eSDimitry Andric.It Va WITHOUT_CAPSICUM 24990be798eSDimitry AndricSet to not build Capsicum support into system programs. 250344e2bb9SEd MasteWhen set, it enforces these options: 251aced6942SBaptiste Daroussin.Pp 252aced6942SBaptiste Daroussin.Bl -item -compact 253aced6942SBaptiste Daroussin.It 254aced6942SBaptiste Daroussin.Va WITHOUT_CASPER 255aced6942SBaptiste Daroussin.El 25690be798eSDimitry Andric.It Va WITHOUT_CASPER 25790be798eSDimitry AndricSet to not build Casper program and related libraries. 2581c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD 2591c01e4f8SBryan DrewerySet to use 2601c01e4f8SBryan Drewery.Xr ccache 1 2611c01e4f8SBryan Dreweryfor the build. 2621c01e4f8SBryan DreweryNo configuration is required except to install the 2631c01e4f8SBryan Drewery.Sy devel/ccache 2641c01e4f8SBryan Drewerypackage. 265344e2bb9SEd MasteWhen using with 266344e2bb9SEd Maste.Xr distcc 1 , 267344e2bb9SEd Masteset 2681c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc . 2691c01e4f8SBryan DreweryThe default cache directory of 2701c01e4f8SBryan Drewery.Pa $HOME/.ccache 2711c01e4f8SBryan Drewerywill be used, which can be overridden by setting 2721c01e4f8SBryan Drewery.Sy CCACHE_DIR . 2731c01e4f8SBryan DreweryThe 2741c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK 2751c01e4f8SBryan Dreweryoption defaults to 2761c01e4f8SBryan Drewery.Sy content 2771c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler, 2781c01e4f8SBryan Dreweryand 2791c01e4f8SBryan Drewery.Sy mtime 2801c01e4f8SBryan Drewerywhen using an external compiler. 2811c01e4f8SBryan DreweryThe 2821c01e4f8SBryan Drewery.Sy CCACHE_CPP2 2831c01e4f8SBryan Dreweryoption is used for Clang but not GCC. 2841c01e4f8SBryan Drewery.Pp 2851c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout 2861c01e4f8SBryan Drewerysimilar to 2871c01e4f8SBryan Drewery.Pa /some/prefix/src 2881c01e4f8SBryan Drewery.Pa /some/prefix/obj 2891c01e4f8SBryan Dreweryand an environment such as: 2901c01e4f8SBryan Drewery.Bd -literal -offset indent 2911c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj' 2921c01e4f8SBryan Drewery.Ed 2931c01e4f8SBryan Drewery.Pp 2941c01e4f8SBryan DrewerySee 2951c01e4f8SBryan Drewery.Xr ccache 1 2961c01e4f8SBryan Dreweryfor more configuration options. 29793da8366SEnji Cooper.It Va WITHOUT_CCD 29893da8366SEnji CooperSet to not build 29993da8366SEnji Cooper.Xr geom_ccd 4 30093da8366SEnji Cooperand related utilities. 30190be798eSDimitry Andric.It Va WITHOUT_CDDL 30290be798eSDimitry AndricSet to not build code licensed under Sun's CDDL. 303344e2bb9SEd MasteWhen set, it enforces these options: 30490be798eSDimitry Andric.Pp 30590be798eSDimitry Andric.Bl -item -compact 30690be798eSDimitry Andric.It 30790be798eSDimitry Andric.Va WITHOUT_CTF 30890be798eSDimitry Andric.It 30990be798eSDimitry Andric.Va WITHOUT_ZFS 31090be798eSDimitry Andric.El 31190be798eSDimitry Andric.It Va WITHOUT_CLANG 31290be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build. 31390be798eSDimitry Andric.Pp 314344e2bb9SEd MasteThis is a default setting on 3150780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 316344e2bb9SEd MasteWhen set, it enforces these options: 31790be798eSDimitry Andric.Pp 31890be798eSDimitry Andric.Bl -item -compact 31990be798eSDimitry Andric.It 32090be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 32190be798eSDimitry Andric.It 32290be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 32390be798eSDimitry Andric.El 32490be798eSDimitry Andric.It Va WITH_CLANG 32590be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build. 32690be798eSDimitry Andric.Pp 327344e2bb9SEd MasteThis is a default setting on 3281df22ae0SEd Masteamd64/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. 32990be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP 330344e2bb9SEd MasteSet to not build the Clang C/C++ compiler during the bootstrap phase of 331344e2bb9SEd Mastethe build. 332344e2bb9SEd MasteTo be able to build the system, either gcc or clang bootstrap must be 333344e2bb9SEd Masteenabled unless an alternate compiler is provided via XCC. 33490be798eSDimitry Andric.Pp 335344e2bb9SEd MasteThis is a default setting on 3360780f5c3SJohn Baldwinmips/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. 33790be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP 33890be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build. 33990be798eSDimitry Andric.Pp 340344e2bb9SEd MasteThis is a default setting on 341661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386. 34290be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS 34390be798eSDimitry AndricSet to build additional clang and llvm tools, such as bugpoint. 34490be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL 34590be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of 34690be798eSDimitry Andricthe Clang C/C++ compiler. 34790be798eSDimitry Andric.Pp 348344e2bb9SEd MasteThis is a default setting on 3490780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 35090be798eSDimitry Andric.It Va WITH_CLANG_FULL 35190be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the 35290be798eSDimitry AndricClang C/C++ compiler. 35390be798eSDimitry Andric.Pp 354344e2bb9SEd MasteThis is a default setting on 3551df22ae0SEd Masteamd64/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. 35690be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC 35790be798eSDimitry AndricSet to install the GCC compiler as 35890be798eSDimitry Andric.Pa /usr/bin/cc , 35990be798eSDimitry Andric.Pa /usr/bin/c++ 36090be798eSDimitry Andricand 36190be798eSDimitry Andric.Pa /usr/bin/cpp . 36290be798eSDimitry Andric.Pp 363344e2bb9SEd MasteThis is a default setting on 3640780f5c3SJohn Baldwinmips/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. 36590be798eSDimitry Andric.It Va WITH_CLANG_IS_CC 36690be798eSDimitry AndricSet to install the Clang C/C++ compiler as 36790be798eSDimitry Andric.Pa /usr/bin/cc , 36890be798eSDimitry Andric.Pa /usr/bin/c++ 36990be798eSDimitry Andricand 37090be798eSDimitry Andric.Pa /usr/bin/cpp . 37190be798eSDimitry Andric.Pp 372344e2bb9SEd MasteThis is a default setting on 373661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386. 37490be798eSDimitry Andric.It Va WITHOUT_CPP 37590be798eSDimitry AndricSet to not build 37690be798eSDimitry Andric.Xr cpp 1 . 37790be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER 37890be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld. 379344e2bb9SEd MasteWhen compiling a different version of 38090be798eSDimitry Andric.Fx 381344e2bb9SEd Mastethan what is installed on the system, provide an alternate 38290be798eSDimitry Andriccompiler with XCC to ensure success. 383344e2bb9SEd MasteWhen compiling with an identical version of 38490be798eSDimitry Andric.Fx 38590be798eSDimitry Andricto the host, this option may be safely used. 38690be798eSDimitry AndricThis option may also be safe when the host version of 38790be798eSDimitry Andric.Fx 38890be798eSDimitry Andricis close to the sources being built, but all bets are off if there have 38990be798eSDimitry Andricbeen any changes to the toolchain between the versions. 390344e2bb9SEd MasteWhen set, it enforces these options: 39190be798eSDimitry Andric.Pp 39290be798eSDimitry Andric.Bl -item -compact 39390be798eSDimitry Andric.It 39490be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP 39590be798eSDimitry Andric.It 39690be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP 39790be798eSDimitry Andric.It 398f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 399f972b8a4SBryan Drewery.It 40090be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP 40190be798eSDimitry Andric.El 40290be798eSDimitry Andric.It Va WITHOUT_CRYPT 40390be798eSDimitry AndricSet to not build any crypto code. 404344e2bb9SEd MasteWhen set, it enforces these options: 40590be798eSDimitry Andric.Pp 40690be798eSDimitry Andric.Bl -item -compact 40790be798eSDimitry Andric.It 40890be798eSDimitry Andric.Va WITHOUT_KERBEROS 40990be798eSDimitry Andric.It 41090be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT 41190be798eSDimitry Andric.It 41290be798eSDimitry Andric.Va WITHOUT_OPENSSH 41390be798eSDimitry Andric.It 41490be798eSDimitry Andric.Va WITHOUT_OPENSSL 41590be798eSDimitry Andric.El 41690be798eSDimitry Andric.Pp 417344e2bb9SEd MasteWhen set, these options are also in effect: 41890be798eSDimitry Andric.Pp 41990be798eSDimitry Andric.Bl -inset -compact 42090be798eSDimitry Andric.It Va WITHOUT_GSSAPI 42190be798eSDimitry Andric(unless 42290be798eSDimitry Andric.Va WITH_GSSAPI 42390be798eSDimitry Andricis set explicitly) 42490be798eSDimitry Andric.El 42590be798eSDimitry Andric.It Va WITH_CTF 42690be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data. 42790be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information 42890be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace. 42990be798eSDimitry Andric.It Va WITHOUT_CTM 43090be798eSDimitry AndricSet to not build 43190be798eSDimitry Andric.Xr ctm 1 43290be798eSDimitry Andricand related utilities. 43354d8c5d5SBryan Drewery.It Va WITHOUT_CUSE 43454d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries. 4359cf76983SNavdeep Parhar.It Va WITHOUT_CXGBETOOL 4369cf76983SNavdeep ParharSet to not build 4379cf76983SNavdeep Parhar.Xr cxgbetool 8 4389cf76983SNavdeep Parhar.Pp 4399cf76983SNavdeep ParharThis is a default setting on 4400780f5c3SJohn Baldwinarm/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. 4419cf76983SNavdeep Parhar.It Va WITH_CXGBETOOL 4429cf76983SNavdeep ParharSet to build 4439cf76983SNavdeep Parhar.Xr cxgbetool 8 4449cf76983SNavdeep Parhar.Pp 4459cf76983SNavdeep ParharThis is a default setting on 4469cf76983SNavdeep Parharamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 44790be798eSDimitry Andric.It Va WITHOUT_CXX 44890be798eSDimitry AndricSet to not build 4494a62dc3aSBryan Drewery.Xr c++ 1 45090be798eSDimitry Andricand related libraries. 45190be798eSDimitry AndricIt will also prevent building of 45290be798eSDimitry Andric.Xr gperf 1 45390be798eSDimitry Andricand 45490be798eSDimitry Andric.Xr devd 8 . 4550780f5c3SJohn Baldwin.Pp 4560780f5c3SJohn BaldwinThis is a default setting on 4570780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf. 458344e2bb9SEd MasteWhen set, it enforces these options: 45990be798eSDimitry Andric.Pp 46090be798eSDimitry Andric.Bl -item -compact 46190be798eSDimitry Andric.It 46290be798eSDimitry Andric.Va WITHOUT_CLANG 46390be798eSDimitry Andric.It 46490be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 46590be798eSDimitry Andric.It 46690be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 46790be798eSDimitry Andric.It 468051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS 469051ea717SEd Maste.It 47018c6fc4cSJulio Merino.Va WITHOUT_GNUCXX 47118c6fc4cSJulio Merino.It 472051ea717SEd Maste.Va WITHOUT_TESTS 473051ea717SEd Maste.It 474051ea717SEd Maste.Va WITHOUT_TESTS_SUPPORT 47590be798eSDimitry Andric.El 4764c033a73SEnji Cooper.It Va WITH_CXX 4774c033a73SEnji CooperSet to build 4784c033a73SEnji Cooper.Xr c++ 1 4794c033a73SEnji Cooperand related libraries. 4804c033a73SEnji Cooper.Pp 4814c033a73SEnji CooperThis is a default setting on 4824c033a73SEnji Cooperamd64/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. 4834a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES 4844a5e4462SEd MasteSet to avoid building or installing standalone debug files for each 4854a5e4462SEd Masteexecutable binary and shared library. 486cc68b6e5SEd Maste.It Va WITHOUT_DIALOG 487344e2bb9SEd MasteSet to not build 488344e2bb9SEd Maste.Xr dialog 1 , 489344e2bb9SEd Maste.Xr dialog 3 , 490344e2bb9SEd Maste.Xr dpv 1 , 491344e2bb9SEd Masteand 492344e2bb9SEd Maste.Xr dpv 3 . 493344e2bb9SEd MasteWhen set, it enforces these options: 494cc68b6e5SEd Maste.Pp 495cc68b6e5SEd Maste.Bl -item -compact 496cc68b6e5SEd Maste.It 497cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL 498cc68b6e5SEd Maste.El 49990be798eSDimitry Andric.It Va WITHOUT_DICT 50090be798eSDimitry AndricSet to not build the Webster dictionary files. 50132b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD 502be894451SBryan DreweryThis is an experimental build system. 50332b5dc9aSSimon J. GerratyFor details see 50432b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. 505be894451SBryan DreweryBuild commands can be seen from the top-level with: 506be894451SBryan Drewery.Dl make show-valid-targets 50732b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using 50832b5dc9aSSimon J. Gerraty.Va DIRDEPS 50932b5dc9aSSimon J. Gerratystored in 51032b5dc9aSSimon J. GerratyMakefile.depend files found in each directory. 51132b5dc9aSSimon J. Gerraty.Pp 51232b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same. 51332b5dc9aSSimon J. GerratyThe initial instance of 51432b5dc9aSSimon J. Gerraty.Xr make 1 51532b5dc9aSSimon J. Gerratyrecursively reads 51632b5dc9aSSimon J. Gerraty.Va DIRDEPS 517344e2bb9SEd Mastefrom 518344e2bb9SEd Maste.Pa Makefile.depend , 51932b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin. 52032b5dc9aSSimon J. GerratySetting 52132b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS 522344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current 5237f76a95cSBryan Dreweryand child directories. 5247f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW 525344e2bb9SEd Masteskips building any dirdeps and only build the current directory. 52632b5dc9aSSimon J. Gerraty.Pp 527be894451SBryan DreweryThis also utilizes the 528be894451SBryan Drewery.Va WITH_META_MODE 529be894451SBryan Drewerylogic for incremental builds. 53032b5dc9aSSimon J. Gerraty.Pp 531344e2bb9SEd MasteThe build hides commands executed unless 53232b5dc9aSSimon J. Gerraty.Va NO_SILENT 53332b5dc9aSSimon J. Gerratyis defined. 53432b5dc9aSSimon J. Gerraty.Pp 535be894451SBryan DreweryNote that there is currently no mass install feature for this. 536be894451SBryan Drewery.Pp 537344e2bb9SEd MasteWhen set, it enforces these options: 53832b5dc9aSSimon J. Gerraty.Pp 53932b5dc9aSSimon J. Gerraty.Bl -item -compact 54032b5dc9aSSimon J. Gerraty.It 54132b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER 54232b5dc9aSSimon J. Gerraty.El 54332b5dc9aSSimon J. Gerraty.Pp 544344e2bb9SEd MasteWhen set, these options are also in effect: 54532b5dc9aSSimon J. Gerraty.Pp 54632b5dc9aSSimon J. Gerraty.Bl -inset -compact 54732b5dc9aSSimon J. Gerraty.It Va WITH_AUTO_OBJ 54832b5dc9aSSimon J. Gerraty(unless 54932b5dc9aSSimon J. Gerraty.Va WITHOUT_AUTO_OBJ 55032b5dc9aSSimon J. Gerratyis set explicitly) 55126b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE 55226b79d5bSHajimu UMEMOTO(unless 55326b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE 55426b79d5bSHajimu UMEMOTOis set explicitly) 55532b5dc9aSSimon J. Gerraty.It Va WITH_STAGING 55632b5dc9aSSimon J. Gerraty(unless 55732b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING 55832b5dc9aSSimon J. Gerratyis set explicitly) 55932b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN 56032b5dc9aSSimon J. Gerraty(unless 56132b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN 56232b5dc9aSSimon J. Gerratyis set explicitly) 56332b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG 56432b5dc9aSSimon J. Gerraty(unless 56532b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG 56632b5dc9aSSimon J. Gerratyis set explicitly) 56732b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT 56832b5dc9aSSimon J. Gerraty(unless 56932b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT 57032b5dc9aSSimon J. Gerratyis set explicitly) 57132b5dc9aSSimon J. Gerraty.El 57232b5dc9aSSimon J. Gerraty.Pp 57332b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or 57432b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf , 57532b5dc9aSSimon J. Gerratynot 57632b5dc9aSSimon J. Gerraty.Pa /etc/src.conf . 577cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE 578cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time 579cc2520d2SSimon J. Gerratyfor subsequent builds. 580cc2520d2SSimon J. GerratyDepends on 58132b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 5820a70ef02SBryan Drewery.Pp 583ba852870SBryan DreweryThis must be set in the environment, make command line, or 5840a70ef02SBryan Drewery.Pa /etc/src-env.conf , 5850a70ef02SBryan Drewerynot 5860a70ef02SBryan Drewery.Pa /etc/src.conf . 58790be798eSDimitry Andric.It Va WITHOUT_DMAGENT 588344e2bb9SEd MasteSet to not build dma Mail Transport Agent. 58990be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS 590344e2bb9SEd MasteSet to not install compressed system documentation. 59190be798eSDimitry AndricOnly the uncompressed version will be installed. 59216f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS 59316f3fdf5SMark JohnstonSet to build and install the DTrace test suite in 59416f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace . 59516f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than 59616f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability. 59790be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT 59890be798eSDimitry AndricSet this if you do not want to link 59990be798eSDimitry Andric.Pa /bin 60090be798eSDimitry Andricand 60190be798eSDimitry Andric.Pa /sbin 60290be798eSDimitry Andricdynamically. 60390be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO 60490be798eSDimitry AndricSet to build 60590be798eSDimitry Andric.Xr ed 1 60690be798eSDimitry Andricwithout support for encryption/decryption. 60793da8366SEnji Cooper.It Va WITHOUT_EE 60893da8366SEnji CooperSet to not build and install 60993da8366SEnji Cooper.Xr edit 1 , 61093da8366SEnji Cooper.Xr ee 1 , 61193da8366SEnji Cooperand related programs. 6120cd582c8SEnji Cooper.It Va WITHOUT_EFI 6130cd582c8SEnji CooperSet not to build 6140cd582c8SEnji Cooper.Xr efivar 3 6150cd582c8SEnji Cooperand 6160cd582c8SEnji Cooper.Xr efivar 8 . 6170cd582c8SEnji Cooper.Pp 618344e2bb9SEd MasteThis is a default setting on 6190780f5c3SJohn Baldwinmips/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. 6200cd582c8SEnji Cooper.It Va WITH_EFI 6210cd582c8SEnji CooperSet to build 6220cd582c8SEnji Cooper.Xr efivar 3 6230cd582c8SEnji Cooperand 6240cd582c8SEnji Cooper.Xr efivar 8 . 6250cd582c8SEnji Cooper.Pp 626344e2bb9SEd MasteThis is a default setting on 627661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386. 6285977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 6295977355fSBryan DrewerySet to not build ELF Tool Chain tools 6305977355fSBryan Drewery(addr2line, nm, size, strings and strip) 6315977355fSBryan Dreweryas part of the bootstrap process. 6325977355fSBryan Drewery.Bf -symbolic 6335977355fSBryan DreweryAn alternate bootstrap tool chain must be provided. 6345977355fSBryan Drewery.Ef 63590be798eSDimitry Andric.It Va WITHOUT_EXAMPLES 63690be798eSDimitry AndricSet to avoid installing examples to 63790be798eSDimitry Andric.Pa /usr/share/examples/ . 638d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS 639d5a2667bSJonathan T. LooneySet to build extra TCP stack modules. 64090be798eSDimitry Andric.It Va WITHOUT_FDT 64190be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system. 64290be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library. 6430e0e9604SEnji Cooper.It Va WITHOUT_FILE 6440e0e9604SEnji CooperSet to not build 6450e0e9604SEnji Cooper.Xr file 1 6460e0e9604SEnji Cooperand related programs. 6470e0e9604SEnji Cooper.It Va WITHOUT_FINGER 6480e0e9604SEnji CooperSet to not build or install 6490e0e9604SEnji Cooper.Xr finger 1 6500e0e9604SEnji Cooperand 6510e0e9604SEnji Cooper.Xr fingerd 8 . 65290be798eSDimitry Andric.It Va WITHOUT_FLOPPY 65390be798eSDimitry AndricSet to not build or install programs 65490be798eSDimitry Andricfor operating floppy disk driver. 65590be798eSDimitry Andric.It Va WITHOUT_FMTREE 65690be798eSDimitry AndricSet to not build and install 65790be798eSDimitry Andric.Pa /usr/sbin/fmtree . 658a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS 659a0f6423bSEd MasteSet to not enable 660a0f6423bSEd Maste.Fl fformat-extensions 661a0f6423bSEd Mastewhen compiling the kernel. 662a0f6423bSEd MasteAlso disables all format checking. 66390be798eSDimitry Andric.It Va WITHOUT_FORTH 66490be798eSDimitry AndricSet to build bootloaders without Forth support. 66590be798eSDimitry Andric.It Va WITHOUT_FP_LIBC 66690be798eSDimitry AndricSet to build 66790be798eSDimitry Andric.Nm libc 66890be798eSDimitry Andricwithout floating-point support. 66990be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE 67090be798eSDimitry AndricSet to not build 67190be798eSDimitry Andric.Xr freebsd-update 8 . 6720e0e9604SEnji Cooper.It Va WITHOUT_FTP 6730e0e9604SEnji CooperSet to not build or install 6740e0e9604SEnji Cooper.Xr ftp 1 6750e0e9604SEnji Cooperand 6760e0e9604SEnji Cooper.Xr ftpd 8 . 67790be798eSDimitry Andric.It Va WITHOUT_GAMES 67890be798eSDimitry AndricSet to not build games. 67990be798eSDimitry Andric.It Va WITHOUT_GCC 68090be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process. 68190be798eSDimitry Andric.Pp 682344e2bb9SEd MasteThis is a default setting on 6830780f5c3SJohn Baldwinamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf. 68490be798eSDimitry Andric.It Va WITH_GCC 68590be798eSDimitry AndricSet to build and install gcc and g++. 68690be798eSDimitry Andric.Pp 687344e2bb9SEd MasteThis is a default setting on 68836e8c7bbSEd Mastemips/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. 68990be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP 69090be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process. 691a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system, 692a0f6423bSEd Masteunless an alternative compiler is provided via 69390be798eSDimitry AndricXCC. 69490be798eSDimitry Andric.Pp 695344e2bb9SEd MasteThis is a default setting on 6960780f5c3SJohn Baldwinamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf. 69790be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP 69890be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process. 69990be798eSDimitry Andric.Pp 700344e2bb9SEd MasteThis is a default setting on 70136e8c7bbSEd Mastemips/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. 70290be798eSDimitry Andric.It Va WITHOUT_GCOV 70390be798eSDimitry AndricSet to not build the 70490be798eSDimitry Andric.Xr gcov 1 70590be798eSDimitry Andrictool. 70690be798eSDimitry Andric.It Va WITHOUT_GDB 70790be798eSDimitry AndricSet to not build 70890be798eSDimitry Andric.Xr gdb 1 . 7095be09b10SEd Maste.Pp 710344e2bb9SEd MasteThis is a default setting on 7114650b8aeSEnji Cooperarm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 7125977355fSBryan Drewery.It Va WITH_GDB 7135977355fSBryan DrewerySet to build 7145977355fSBryan Drewery.Xr gdb 1 . 7155977355fSBryan Drewery.Pp 716344e2bb9SEd MasteThis is a default setting on 7174650b8aeSEnji Cooperamd64/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. 7184650b8aeSEnji Cooper.It Va WITHOUT_GDB_LIBEXEC 7194650b8aeSEnji CooperSet to install 7204650b8aeSEnji Cooper.Xr gdb 1 7214650b8aeSEnji Cooperinto 7224650b8aeSEnji Cooper.Pa /usr/bin . 7234650b8aeSEnji Cooper.Pp 7244650b8aeSEnji CooperThis is a default setting on 7250780f5c3SJohn Baldwinarm/arm, arm/armeb, arm/armv6 and sparc64/sparc64. 7264650b8aeSEnji Cooper.It Va WITH_GDB_LIBEXEC 7274650b8aeSEnji CooperSet to install 7284650b8aeSEnji Cooper.Xr gdb 1 7294650b8aeSEnji Cooperinto 7304650b8aeSEnji Cooper.Pa /usr/libexec . 7314650b8aeSEnji CooperThis permits 7324650b8aeSEnji Cooper.Xr gdb 1 7334650b8aeSEnji Cooperto be used as a fallback for 7344650b8aeSEnji Cooper.Xr crashinfo 8 7354650b8aeSEnji Cooperif a newer version is not installed. 7364650b8aeSEnji Cooper.Pp 7374650b8aeSEnji CooperThis is a default setting on 7384650b8aeSEnji Cooperamd64/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. 73990be798eSDimitry Andric.It Va WITHOUT_GNUCXX 74090be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++). 74190be798eSDimitry AndricThis is the default on platforms where clang is the system compiler. 74290be798eSDimitry Andric.Pp 743344e2bb9SEd MasteThis is a default setting on 7440780f5c3SJohn Baldwinamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf. 74590be798eSDimitry Andric.It Va WITH_GNUCXX 74690be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++). 74790be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler. 74890be798eSDimitry Andric.Pp 749344e2bb9SEd MasteThis is a default setting on 75036e8c7bbSEd Mastemips/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. 75136e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF 75236e8c7bbSEd MasteSet to not build GNU 75336e8c7bbSEd Maste.Xr diff 1 75436e8c7bbSEd Masteand 75536e8c7bbSEd Maste.Xr diff3 1 . 75636e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP 75736e8c7bbSEd MasteSet to not build GNU 75836e8c7bbSEd Maste.Xr grep 1 . 759e9e768f7SEd Maste.It Va WITH_GNU_GREP_COMPAT 760e9e768f7SEd MasteSet this option to include GNU extensions in 761e9e768f7SEd Maste.Xr bsdgrep 1 762e9e768f7SEd Masteby linking against libgnuregex. 76390be798eSDimitry Andric.It Va WITHOUT_GPIO 76490be798eSDimitry AndricSet to not build 76590be798eSDimitry Andric.Xr gpioctl 8 76690be798eSDimitry Andricas part of the base system. 7675c021049SEnji Cooper.It Va WITHOUT_GPL_DTC 7685c021049SEnji CooperSet to build the BSD licensed version of the device tree compiler rather 7695c021049SEnji Cooperthan the GPLed one from elinux.org. 7705c021049SEnji Cooper.Pp 7715c021049SEnji CooperThis is a default setting on 7725c021049SEnji Cooperamd64/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. 773fcf8f4a8SEmmanuel Vadot.It Va WITH_GPL_DTC 774fcf8f4a8SEmmanuel VadotSet to build the GPL'd version of the device tree compiler from elinux.org, 775fcf8f4a8SEmmanuel Vadotinstead of the BSD licensed one. 7765c021049SEnji Cooper.Pp 7775c021049SEnji CooperThis is a default setting on 7785c021049SEnji Cooperriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 77990be798eSDimitry Andric.It Va WITHOUT_GSSAPI 78090be798eSDimitry AndricSet to not build libgssapi. 78161940879SEnji Cooper.It Va WITHOUT_HAST 78261940879SEnji CooperSet to not build 78361940879SEnji Cooper.Xr hastd 8 78461940879SEnji Cooperand related utilities. 78590be798eSDimitry Andric.It Va WITH_HESIOD 78690be798eSDimitry AndricSet to build Hesiod support. 78790be798eSDimitry Andric.It Va WITHOUT_HTML 78890be798eSDimitry AndricSet to not build HTML docs. 7892c4b4abcSXin LI.It Va WITHOUT_HYPERV 7902c4b4abcSXin LISet to not build or install HyperV utilities. 79190be798eSDimitry Andric.It Va WITHOUT_ICONV 79290be798eSDimitry AndricSet to not build iconv as part of libc. 793c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES 794c5d09a87SGlen BarberSet to not install header files. 795c5d09a87SGlen BarberThis option used to be spelled 796c5d09a87SGlen Barber.Va NO_INCS . 797c5d09a87SGlen Barber.Bf -symbolic 798c5d09a87SGlen BarberThe option does not work for build targets. 799c5d09a87SGlen Barber.Ef 80090be798eSDimitry Andric.It Va WITHOUT_INET 80190be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking. 802344e2bb9SEd MasteWhen set, it enforces these options: 80390be798eSDimitry Andric.Pp 80490be798eSDimitry Andric.Bl -item -compact 80590be798eSDimitry Andric.It 80690be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT 80790be798eSDimitry Andric.El 80890be798eSDimitry Andric.It Va WITHOUT_INET6 80990be798eSDimitry AndricSet to not build 81090be798eSDimitry Andricprograms and libraries related to IPv6 networking. 811344e2bb9SEd MasteWhen set, it enforces these options: 81290be798eSDimitry Andric.Pp 81390be798eSDimitry Andric.Bl -item -compact 81490be798eSDimitry Andric.It 81590be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT 81690be798eSDimitry Andric.El 81790be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT 81890be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support. 8190e0e9604SEnji Cooper.It Va WITHOUT_INETD 8200e0e9604SEnji CooperSet to not build 8210e0e9604SEnji Cooper.Xr inetd 8 . 82290be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT 82390be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support. 82490be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB 825344e2bb9SEd MasteSet this to not install optional libraries. 826344e2bb9SEd MasteFor example, when creating a 82790be798eSDimitry Andric.Xr nanobsd 8 82890be798eSDimitry Andricimage. 829f79bedf5SBryan Drewery.Bf -symbolic 830f79bedf5SBryan DreweryThe option does not work for build targets. 831f79bedf5SBryan Drewery.Ef 83290be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER 83390be798eSDimitry AndricSet to make install targets succeed for non-root users by installing 83490be798eSDimitry Andricfiles with owner and group attributes set to that of the user running 83590be798eSDimitry Andricthe 83690be798eSDimitry Andric.Xr make 1 83790be798eSDimitry Andriccommand. 838344e2bb9SEd MasteThe user still must set the 83990be798eSDimitry Andric.Va DESTDIR 84090be798eSDimitry Andricvariable to point to a directory where the user has write permissions. 84190be798eSDimitry Andric.It Va WITHOUT_IPFILTER 84290be798eSDimitry AndricSet to not build IP Filter package. 84390be798eSDimitry Andric.It Va WITHOUT_IPFW 84490be798eSDimitry AndricSet to not build IPFW tools. 84588342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT 84688342134SEnji CooperSet to not build the kernel with 84788342134SEnji Cooper.Xr ipsec 4 84888342134SEnji Coopersupport. 84988342134SEnji CooperThis option is needed for 85088342134SEnji Cooper.Xr ipsec 4 85188342134SEnji Cooperand 85288342134SEnji Cooper.Xr tcpmd5 4 . 85393da8366SEnji Cooper.It Va WITHOUT_ISCSI 85493da8366SEnji CooperSet to not build 85593da8366SEnji Cooper.Xr iscid 8 85693da8366SEnji Cooperand related utilities. 85790be798eSDimitry Andric.It Va WITHOUT_JAIL 85890be798eSDimitry AndricSet to not build tools for the support of jails; e.g., 85990be798eSDimitry Andric.Xr jail 8 . 86090be798eSDimitry Andric.It Va WITHOUT_KDUMP 86190be798eSDimitry AndricSet to not build 86290be798eSDimitry Andric.Xr kdump 1 86390be798eSDimitry Andricand 86490be798eSDimitry Andric.Xr truss 1 . 86590be798eSDimitry Andric.It Va WITHOUT_KERBEROS 866344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal). 867344e2bb9SEd MasteWhen set, it enforces these options: 86890be798eSDimitry Andric.Pp 86990be798eSDimitry Andric.Bl -item -compact 87090be798eSDimitry Andric.It 87190be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT 87290be798eSDimitry Andric.El 87390be798eSDimitry Andric.Pp 874344e2bb9SEd MasteWhen set, these options are also in effect: 87590be798eSDimitry Andric.Pp 87690be798eSDimitry Andric.Bl -inset -compact 87790be798eSDimitry Andric.It Va WITHOUT_GSSAPI 87890be798eSDimitry Andric(unless 87990be798eSDimitry Andric.Va WITH_GSSAPI 88090be798eSDimitry Andricis set explicitly) 88190be798eSDimitry Andric.El 88290be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT 88390be798eSDimitry AndricSet to build some programs without Kerberos support, like 88490be798eSDimitry Andric.Xr ssh 1 , 88590be798eSDimitry Andric.Xr telnet 1 , 88690be798eSDimitry Andric.Xr sshd 8 , 88790be798eSDimitry Andricand 88890be798eSDimitry Andric.Xr telnetd 8 . 889a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS 890a0f6423bSEd MasteSet to not install kernel symbol files. 891a0f6423bSEd Maste.Bf -symbolic 892a0f6423bSEd MasteThis option is recommended for those people who have small root partitions. 893a0f6423bSEd Maste.Ef 89490be798eSDimitry Andric.It Va WITHOUT_KVM 89590be798eSDimitry AndricSet to not build the 89690be798eSDimitry Andric.Nm libkvm 89790be798eSDimitry Andriclibrary as a part of the base system. 89890be798eSDimitry Andric.Bf -symbolic 89990be798eSDimitry AndricThe option has no effect yet. 90090be798eSDimitry Andric.Ef 901344e2bb9SEd MasteWhen set, it enforces these options: 90290be798eSDimitry Andric.Pp 90390be798eSDimitry Andric.Bl -item -compact 90490be798eSDimitry Andric.It 90590be798eSDimitry Andric.Va WITHOUT_KVM_SUPPORT 90690be798eSDimitry Andric.El 90790be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT 90890be798eSDimitry AndricSet to build some programs without optional 90990be798eSDimitry Andric.Nm libkvm 91090be798eSDimitry Andricsupport. 91190be798eSDimitry Andric.It Va WITHOUT_LDNS 91290be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built. 913344e2bb9SEd MasteWhen set, it enforces these options: 91490be798eSDimitry Andric.Pp 91590be798eSDimitry Andric.Bl -item -compact 91690be798eSDimitry Andric.It 91790be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS 91890be798eSDimitry Andric.It 91990be798eSDimitry Andric.Va WITHOUT_UNBOUND 92090be798eSDimitry Andric.El 92190be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS 92290be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities 92390be798eSDimitry Andric.Xr drill 1 92490be798eSDimitry Andricand 92590be798eSDimitry Andric.Xr host 1 . 92690be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE 92790be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g., 92823a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1 92990be798eSDimitry Andricand 93023a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 . 93190be798eSDimitry Andric.It Va WITHOUT_LIB32 932c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a 93390be798eSDimitry Andric.Nm ld-elf32.so.1 93490be798eSDimitry Andricruntime linker. 93590be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS 93690be798eSDimitry AndricSet to avoid building libcxxrt and libc++. 93790be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD 93890be798eSDimitry AndricSet to not build the 93990be798eSDimitry Andric.Nm libpthread 94090be798eSDimitry Andricproviding library, 94190be798eSDimitry Andric.Nm libthr . 942344e2bb9SEd MasteWhen set, it enforces these options: 94390be798eSDimitry Andric.Pp 94490be798eSDimitry Andric.Bl -item -compact 94590be798eSDimitry Andric.It 94690be798eSDimitry Andric.Va WITHOUT_LIBTHR 94790be798eSDimitry Andric.El 9488a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT 9498a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries. 9508a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI. 95190be798eSDimitry Andric.It Va WITHOUT_LIBTHR 95290be798eSDimitry AndricSet to not build the 95390be798eSDimitry Andric.Nm libthr 95490be798eSDimitry Andric(1:1 threading) 95590be798eSDimitry Andriclibrary. 95636e8c7bbSEd Maste.It Va WITHOUT_LLD 95736e8c7bbSEd MasteSet to not build LLVM's lld linker. 95836e8c7bbSEd Maste.Pp 959344e2bb9SEd MasteThis is a default setting on 9600780f5c3SJohn Baldwinmips/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. 96136e8c7bbSEd Maste.It Va WITH_LLD 96236e8c7bbSEd MasteSet to build LLVM's lld linker. 96336e8c7bbSEd Maste.Pp 964344e2bb9SEd MasteThis is a default setting on 9651df22ae0SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386. 9661500eb21SEd Maste.It Va WITHOUT_LLDB 9671500eb21SEd MasteSet to not build the LLDB debugger. 9681500eb21SEd Maste.Pp 969344e2bb9SEd MasteThis is a default setting on 970*e5259506SEnji Cooperarm/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. 97190be798eSDimitry Andric.It Va WITH_LLDB 97290be798eSDimitry AndricSet to build the LLDB debugger. 9731500eb21SEd Maste.Pp 974344e2bb9SEd MasteThis is a default setting on 975*e5259506SEnji Cooperamd64/amd64, arm64/aarch64 and i386/i386. 9766c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP 9776c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of 9786c2b7edaSEd Mastethe build. 9796c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be 9806c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD. 9816c2b7edaSEd Maste.Pp 9826c2b7edaSEd MasteThis is a default setting on 9830780f5c3SJohn Baldwinamd64/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. 9846c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP 9856c2b7edaSEd MasteSet to build the LLD linker during the bootstrap phase of the build. 9866c2b7edaSEd Maste.Pp 9876c2b7edaSEd MasteThis is a default setting on 9886c2b7edaSEd Mastearm64/aarch64. 989661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD 99036e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD. 99136e8c7bbSEd Maste.Pp 992344e2bb9SEd MasteThis is a default setting on 9930780f5c3SJohn Baldwinamd64/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. 994661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD 99536e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld. 99636e8c7bbSEd Maste.Pp 997344e2bb9SEd MasteThis is a default setting on 99836e8c7bbSEd Mastearm64/aarch64. 9991500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND 10001500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind). 10011500eb21SEd Maste.Pp 1002344e2bb9SEd MasteThis is a default setting on 100336e8c7bbSEd Mastearm/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. 10041500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND 10051500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder). 10061500eb21SEd Maste.Pp 1007344e2bb9SEd MasteThis is a default setting on 10080780f5c3SJohn Baldwinamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf. 100990be798eSDimitry Andric.It Va WITHOUT_LOCALES 101090be798eSDimitry AndricSet to not build localization files; see 101190be798eSDimitry Andric.Xr locale 1 . 101290be798eSDimitry Andric.It Va WITHOUT_LOCATE 101390be798eSDimitry AndricSet to not build 101490be798eSDimitry Andric.Xr locate 1 101590be798eSDimitry Andricand related programs. 101690be798eSDimitry Andric.It Va WITHOUT_LPR 101790be798eSDimitry AndricSet to not build 101890be798eSDimitry Andric.Xr lpr 1 101990be798eSDimitry Andricand related programs. 102090be798eSDimitry Andric.It Va WITHOUT_LS_COLORS 102190be798eSDimitry AndricSet to build 102290be798eSDimitry Andric.Xr ls 1 102390be798eSDimitry Andricwithout support for colors to distinguish file types. 102490be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT 102590be798eSDimitry AndricSet to build some programs without optional lzma compression support. 102690be798eSDimitry Andric.It Va WITHOUT_MAIL 102790be798eSDimitry AndricSet to not build any mail support (MUA or MTA). 1028344e2bb9SEd MasteWhen set, it enforces these options: 102990be798eSDimitry Andric.Pp 103090be798eSDimitry Andric.Bl -item -compact 103190be798eSDimitry Andric.It 103290be798eSDimitry Andric.Va WITHOUT_DMAGENT 103390be798eSDimitry Andric.It 103490be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER 103590be798eSDimitry Andric.It 103690be798eSDimitry Andric.Va WITHOUT_SENDMAIL 103790be798eSDimitry Andric.El 103890be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER 103990be798eSDimitry AndricSet to not build the 104090be798eSDimitry Andric.Xr mailwrapper 8 104190be798eSDimitry AndricMTA selector. 104290be798eSDimitry Andric.It Va WITHOUT_MAKE 104390be798eSDimitry AndricSet to not install 104490be798eSDimitry Andric.Xr make 1 104590be798eSDimitry Andricand related support files. 104690be798eSDimitry Andric.It Va WITHOUT_MAN 104790be798eSDimitry AndricSet to not build manual pages. 1048344e2bb9SEd MasteWhen set, these options are also in effect: 104990be798eSDimitry Andric.Pp 105090be798eSDimitry Andric.Bl -inset -compact 105190be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 105290be798eSDimitry Andric(unless 105390be798eSDimitry Andric.Va WITH_MAN_UTILS 105490be798eSDimitry Andricis set explicitly) 105590be798eSDimitry Andric.El 105690be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS 105790be798eSDimitry AndricSet to not to install compressed man pages. 105890be798eSDimitry AndricOnly the uncompressed versions will be installed. 105990be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 106090be798eSDimitry AndricSet to not build utilities for manual pages, 106190be798eSDimitry Andric.Xr apropos 1 , 106290be798eSDimitry Andric.Xr catman 1 , 106390be798eSDimitry Andric.Xr makewhatis 1 , 106490be798eSDimitry Andric.Xr man 1 , 106590be798eSDimitry Andric.Xr whatis 1 , 106690be798eSDimitry Andric.Xr manctl 8 , 106790be798eSDimitry Andricand related support files. 1068cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE 1069344e2bb9SEd MasteCreate 1070be894451SBryan Drewery.Xr make 1 1071be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when 1072be894451SBryan Dreweryusing 1073be894451SBryan Drewery.Xr filemon 4 . 1074344e2bb9SEd MasteThe meta file is created in OBJDIR as 1075be894451SBryan Drewery.Pa target.meta . 1076344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the 1077344e2bb9SEd Mastecurrent directory. 10782710e62cSBryan DreweryThe 10797f76a95cSBryan Drewery.Xr filemon 4 10802710e62cSBryan Drewerymodule is required unless 10812710e62cSBryan Drewery.Va NO_FILEMON 10822710e62cSBryan Dreweryis defined. 1083344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are 1084344e2bb9SEd Mastetracked as dependencies for the target in its meta file. 1085344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these 1086344e2bb9SEd Masteconditions are true compared to the last build: 1087be894451SBryan Drewery.Bl -bullet -compact 1088be894451SBryan Drewery.It 1089be894451SBryan DreweryThe command to execute changes. 1090be894451SBryan Drewery.It 1091be894451SBryan DreweryThe current working directory changes. 1092be894451SBryan Drewery.It 1093a4a2269eSBryan DreweryThe target's meta file is missing. 1094a4a2269eSBryan Drewery.It 1095a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded 1096a4a2269eSBryan Dreweryand a previous run did not have it loaded. 1097be894451SBryan Drewery.It 1098be894451SBryan Drewery[requires 1099be894451SBryan Drewery.Xr filemon 4 ] 1100be894451SBryan DreweryFiles read, executed or linked to are newer than the target. 1101be894451SBryan Drewery.It 1102be894451SBryan Drewery[requires 1103be894451SBryan Drewery.Xr filemon 4 ] 1104be894451SBryan DreweryFiles read, written, executed or linked are missing. 1105be894451SBryan Drewery.El 11067f76a95cSBryan DreweryThe meta files can also be useful for debugging. 11077f76a95cSBryan Drewery.Pp 1108344e2bb9SEd MasteThe build hides commands that are executed unless 11097f76a95cSBryan Drewery.Va NO_SILENT 11107f76a95cSBryan Dreweryis defined. 1111344e2bb9SEd MasteErrors cause 11122710e62cSBryan Drewery.Xr make 1 11132710e62cSBryan Dreweryto show some of its environment for further debugging. 11140a70ef02SBryan Drewery.Pp 1115be894451SBryan DreweryThe build operates as it normally would otherwise. 1116be894451SBryan DreweryThis option originally invoked a different build system but that was renamed 1117be894451SBryan Dreweryto 1118be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD . 1119be894451SBryan Drewery.Pp 1120ba852870SBryan DreweryThis must be set in the environment, make command line, or 11210a70ef02SBryan Drewery.Pa /etc/src-env.conf , 11220a70ef02SBryan Drewerynot 11230a70ef02SBryan Drewery.Pa /etc/src.conf . 112490be798eSDimitry Andric.It Va WITH_NAND 112590be798eSDimitry AndricSet to build the NAND Flash components. 112690be798eSDimitry Andric.It Va WITHOUT_NDIS 112790be798eSDimitry AndricSet to not build programs and libraries 112890be798eSDimitry Andricrelated to NDIS emulation support. 112990be798eSDimitry Andric.It Va WITHOUT_NETCAT 113090be798eSDimitry AndricSet to not build 113190be798eSDimitry Andric.Xr nc 1 113290be798eSDimitry Andricutility. 113390be798eSDimitry Andric.It Va WITHOUT_NETGRAPH 113490be798eSDimitry AndricSet to not build applications to support 113590be798eSDimitry Andric.Xr netgraph 4 . 1136344e2bb9SEd MasteWhen set, it enforces these options: 113790be798eSDimitry Andric.Pp 113890be798eSDimitry Andric.Bl -item -compact 113990be798eSDimitry Andric.It 114090be798eSDimitry Andric.Va WITHOUT_ATM 114190be798eSDimitry Andric.It 114290be798eSDimitry Andric.Va WITHOUT_BLUETOOTH 114390be798eSDimitry Andric.It 114490be798eSDimitry Andric.Va WITHOUT_NETGRAPH_SUPPORT 114590be798eSDimitry Andric.El 114690be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT 114790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support. 114890be798eSDimitry Andric.It Va WITHOUT_NIS 114990be798eSDimitry AndricSet to not build 115090be798eSDimitry Andric.Xr NIS 8 115190be798eSDimitry Andricsupport and related programs. 115290be798eSDimitry AndricIf set, you might need to adopt your 115390be798eSDimitry Andric.Xr nsswitch.conf 5 115490be798eSDimitry Andricand remove 115590be798eSDimitry Andric.Sq nis 115690be798eSDimitry Andricentries. 115790be798eSDimitry Andric.It Va WITHOUT_NLS 115890be798eSDimitry AndricSet to not build NLS catalogs. 115957a87b06SEnji CooperWhen set, it enforces these options: 116057a87b06SEnji Cooper.Pp 116157a87b06SEnji Cooper.Bl -item -compact 116257a87b06SEnji Cooper.It 116357a87b06SEnji Cooper.Va WITHOUT_NLS_CATALOGS 116457a87b06SEnji Cooper.El 116590be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS 116690be798eSDimitry AndricSet to not build NLS catalog support for 116790be798eSDimitry Andric.Xr csh 1 . 116890be798eSDimitry Andric.It Va WITHOUT_NS_CACHING 116990be798eSDimitry AndricSet to disable name caching in the 117090be798eSDimitry Andric.Pa nsswitch 117190be798eSDimitry Andricsubsystem. 117290be798eSDimitry AndricThe generic caching daemon, 117390be798eSDimitry Andric.Xr nscd 8 , 117490be798eSDimitry Andricwill not be built either if this option is set. 117590be798eSDimitry Andric.It Va WITHOUT_NTP 117690be798eSDimitry AndricSet to not build 117790be798eSDimitry Andric.Xr ntpd 8 117890be798eSDimitry Andricand related programs. 117990be798eSDimitry Andric.It Va WITH_OFED 118090be798eSDimitry AndricSet to build the 118190be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution" 118290be798eSDimitry AndricInfiniband software stack. 118390be798eSDimitry Andric.It Va WITH_OPENLDAP 118490be798eSDimitry AndricEnable building openldap support for kerberos. 118590be798eSDimitry Andric.It Va WITHOUT_OPENSSH 118690be798eSDimitry AndricSet to not build OpenSSH. 118790be798eSDimitry Andric.It Va WITHOUT_OPENSSL 118890be798eSDimitry AndricSet to not build OpenSSL. 1189344e2bb9SEd MasteWhen set, it enforces these options: 119090be798eSDimitry Andric.Pp 119190be798eSDimitry Andric.Bl -item -compact 119290be798eSDimitry Andric.It 119390be798eSDimitry Andric.Va WITHOUT_KERBEROS 119490be798eSDimitry Andric.It 119590be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT 119690be798eSDimitry Andric.It 119790be798eSDimitry Andric.Va WITHOUT_OPENSSH 119890be798eSDimitry Andric.El 119990be798eSDimitry Andric.Pp 1200344e2bb9SEd MasteWhen set, these options are also in effect: 120190be798eSDimitry Andric.Pp 120290be798eSDimitry Andric.Bl -inset -compact 120390be798eSDimitry Andric.It Va WITHOUT_GSSAPI 120490be798eSDimitry Andric(unless 120590be798eSDimitry Andric.Va WITH_GSSAPI 120690be798eSDimitry Andricis set explicitly) 120790be798eSDimitry Andric.El 120890be798eSDimitry Andric.It Va WITHOUT_PAM 120990be798eSDimitry AndricSet to not build PAM library and modules. 121090be798eSDimitry Andric.Bf -symbolic 121190be798eSDimitry AndricThis option is deprecated and does nothing. 121290be798eSDimitry Andric.Ef 1213344e2bb9SEd MasteWhen set, it enforces these options: 121490be798eSDimitry Andric.Pp 121590be798eSDimitry Andric.Bl -item -compact 121690be798eSDimitry Andric.It 121790be798eSDimitry Andric.Va WITHOUT_PAM_SUPPORT 121890be798eSDimitry Andric.El 121990be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT 122090be798eSDimitry AndricSet to build some programs without PAM support, particularly 122190be798eSDimitry Andric.Xr ftpd 8 122290be798eSDimitry Andricand 122390be798eSDimitry Andric.Xr ppp 8 . 122490be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL 122590be798eSDimitry AndricSet to not build 122690be798eSDimitry Andric.Xr pc-sysinstall 8 122790be798eSDimitry Andricand related programs. 122890be798eSDimitry Andric.It Va WITHOUT_PF 122990be798eSDimitry AndricSet to not build PF firewall package. 1230344e2bb9SEd MasteWhen set, it enforces these options: 123190be798eSDimitry Andric.Pp 123290be798eSDimitry Andric.Bl -item -compact 123390be798eSDimitry Andric.It 123490be798eSDimitry Andric.Va WITHOUT_AUTHPF 123590be798eSDimitry Andric.El 123690be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP 123790be798eSDimitry AndricSet to not build 123890be798eSDimitry Andric.Xr pkg 7 123990be798eSDimitry Andricbootstrap tool. 124090be798eSDimitry Andric.It Va WITHOUT_PMC 124190be798eSDimitry AndricSet to not build 124290be798eSDimitry Andric.Xr pmccontrol 8 124390be798eSDimitry Andricand related programs. 124490be798eSDimitry Andric.It Va WITHOUT_PORTSNAP 124590be798eSDimitry AndricSet to not build or install 124690be798eSDimitry Andric.Xr portsnap 8 124790be798eSDimitry Andricand related files. 124890be798eSDimitry Andric.It Va WITHOUT_PPP 124990be798eSDimitry AndricSet to not build 125090be798eSDimitry Andric.Xr ppp 8 125190be798eSDimitry Andricand related programs. 125290be798eSDimitry Andric.It Va WITHOUT_PROFILE 12534c033a73SEnji CooperSet to not build profiled libraries for use with 12544c033a73SEnji Cooper.Xr gprof 8 . 12550780f5c3SJohn Baldwin.Pp 12560780f5c3SJohn BaldwinThis is a default setting on 1257*e5259506SEnji Coopermips/mips64el, mips/mips64, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf. 12584c033a73SEnji Cooper.It Va WITH_PROFILE 12594c033a73SEnji CooperSet to build profiled libraries for use with 12604c033a73SEnji Cooper.Xr gprof 8 . 12614c033a73SEnji Cooper.Pp 12624c033a73SEnji CooperThis is a default setting on 1263*e5259506SEnji Cooperamd64/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. 126490be798eSDimitry Andric.It Va WITHOUT_QUOTAS 126590be798eSDimitry AndricSet to not build 126623a6b49aSEdward Tomasz Napierala.Xr quota 1 126790be798eSDimitry Andricand related programs. 12680e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT 12690e0e9604SEnji CooperSet to not build radius support into various applications, like 12700e0e9604SEnji Cooper.Xr pam_radius 8 12710e0e9604SEnji Cooperand 12720e0e9604SEnji Cooper.Xr ppp 8 . 127388342134SEnji Cooper.It Va WITH_RATELIMIT 127488342134SEnji CooperSet to build the system with rate limit support. 127588342134SEnji Cooper.Pp 127688342134SEnji CooperThis makes 127788342134SEnji Cooper.Dv SO_MAX_PACING_RATE 127888342134SEnji Coopereffective in 127988342134SEnji Cooper.Xr getsockopt 2 , 128088342134SEnji Cooperand 128188342134SEnji Cooper.Ar txrlimit 128288342134SEnji Coopersupport in 128388342134SEnji Cooper.Xr ifconfig 8 , 128488342134SEnji Cooperby proxy. 12850e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD 12860e0e9604SEnji CooperSet to not build or install 12870e0e9604SEnji Cooper.Xr rbootd 8 . 12885c021049SEnji Cooper.It Va WITH_RCMDS 12895c021049SEnji CooperEnable building of the 129090be798eSDimitry Andric.Bx 129190be798eSDimitry Andricr-commands. 129290be798eSDimitry AndricThis includes 129390be798eSDimitry Andric.Xr rlogin 1 , 129490be798eSDimitry Andric.Xr rsh 1 , 129590be798eSDimitry Andricetc. 12966dfa2a0aSEd Maste.It Va WITH_REPRODUCIBLE_BUILD 12976dfa2a0aSEd MasteSet to exclude build metadata (such as the build time, user, or host) 12986dfa2a0aSEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce 12996dfa2a0aSEd Mastebit-for-bit identical output. 130090be798eSDimitry Andric.It Va WITHOUT_RESCUE 130190be798eSDimitry AndricSet to not build 130290be798eSDimitry Andric.Xr rescue 8 . 130390be798eSDimitry Andric.It Va WITHOUT_ROUTED 130490be798eSDimitry AndricSet to not build 130590be798eSDimitry Andric.Xr routed 8 130690be798eSDimitry Andricutility. 13074c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT 13084c033a73SEnji CooperSet to build 13094c033a73SEnji Cooper.Xr rpcbind 8 13104c033a73SEnji Cooperwith warmstart support. 131190be798eSDimitry Andric.It Va WITHOUT_SENDMAIL 131290be798eSDimitry AndricSet to not build 131390be798eSDimitry Andric.Xr sendmail 8 131490be798eSDimitry Andricand related programs. 131590be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN 131690be798eSDimitry AndricSet this to disable the installation of 131790be798eSDimitry Andric.Xr login 1 131890be798eSDimitry Andricas a set-user-ID root program. 131990be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS 132090be798eSDimitry AndricSet to not build the 132190be798eSDimitry Andric.Bx 4.4 132290be798eSDimitry Andriclegacy docs. 132390be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN 132490be798eSDimitry AndricSet to build the toolchain binaries shared. 132590be798eSDimitry AndricThe set includes 132690be798eSDimitry Andric.Xr cc 1 , 132790be798eSDimitry Andric.Xr make 1 132890be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager. 132990be798eSDimitry Andric.It Va WITH_SORT_THREADS 133090be798eSDimitry AndricSet to enable threads in 133190be798eSDimitry Andric.Xr sort 1 . 133290be798eSDimitry Andric.It Va WITHOUT_SOURCELESS 133390be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU). 1334344e2bb9SEd MasteWhen set, it enforces these options: 133590be798eSDimitry Andric.Pp 133690be798eSDimitry Andric.Bl -item -compact 133790be798eSDimitry Andric.It 133890be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST 133990be798eSDimitry Andric.It 134090be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE 134190be798eSDimitry Andric.El 134290be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST 134390be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU. 134490be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE 134590be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode. 134690be798eSDimitry Andric.It Va WITHOUT_SSP 134790be798eSDimitry AndricSet to not build world with propolice stack smashing protection. 1348cc68b6e5SEd Maste.Pp 1349344e2bb9SEd MasteThis is a default setting on 135036e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf. 13510cd582c8SEnji Cooper.It Va WITH_SSP 13520cd582c8SEnji CooperSet to build world with propolice stack smashing protection. 13530cd582c8SEnji Cooper.Pp 1354344e2bb9SEd MasteThis is a default setting on 13550780f5c3SJohn Baldwinamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1356cc2520d2SSimon J. Gerraty.It Va WITH_STAGING 1357cc2520d2SSimon J. GerratyEnable staging of files to a stage tree. 1358cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to 1359cc2520d2SSimon J. Gerraty.Va DESTDIR 1360cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked. 1361cc2520d2SSimon J. GerratyDepends on 136232b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 1363344e2bb9SEd MasteWhen set, these options are also in effect: 1364cc2520d2SSimon J. Gerraty.Pp 1365cc2520d2SSimon J. Gerraty.Bl -inset -compact 1366cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1367cc2520d2SSimon J. Gerraty(unless 1368cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN 1369cc2520d2SSimon J. Gerratyis set explicitly) 1370cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1371cc2520d2SSimon J. Gerraty(unless 1372cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG 1373cc2520d2SSimon J. Gerratyis set explicitly) 1374cc2520d2SSimon J. Gerraty.El 13750a70ef02SBryan Drewery.Pp 1376ba852870SBryan DreweryThis must be set in the environment, make command line, or 13770a70ef02SBryan Drewery.Pa /etc/src-env.conf , 13780a70ef02SBryan Drewerynot 13790a70ef02SBryan Drewery.Pa /etc/src.conf . 1380cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1381344e2bb9SEd MasteEnable staging of man pages to stage tree. 1382cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1383cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree. 1384cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED 1385cc2520d2SSimon J. GerratyCheck staged files are not stale. 138690be798eSDimitry Andric.It Va WITH_SVN 138790be798eSDimitry AndricSet to install 138890be798eSDimitry Andric.Xr svnlite 1 138990be798eSDimitry Andricas 139090be798eSDimitry Andric.Xr svn 1 . 139190be798eSDimitry Andric.It Va WITHOUT_SVNLITE 139290be798eSDimitry AndricSet to not build 139390be798eSDimitry Andric.Xr svnlite 1 139490be798eSDimitry Andricand related programs. 139590be798eSDimitry Andric.It Va WITHOUT_SYMVER 139690be798eSDimitry AndricSet to disable symbol versioning when building shared libraries. 139790be798eSDimitry Andric.It Va WITHOUT_SYSCONS 139890be798eSDimitry AndricSet to not build 139990be798eSDimitry Andric.Xr syscons 4 140090be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps. 1401cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT 1402cc2520d2SSimon J. GerratyEnable use of sysroot during build. 1403cc2520d2SSimon J. GerratyDepends on 140432b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 14050a70ef02SBryan Drewery.Pp 1406ba852870SBryan DreweryThis must be set in the environment, make command line, or 14070a70ef02SBryan Drewery.Pa /etc/src-env.conf , 14080a70ef02SBryan Drewerynot 14090a70ef02SBryan Drewery.Pa /etc/src.conf . 14108095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER 14118095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the 1412a9da9b86SBryan Drewerybootstrap phase of the build. 14138095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap 14148095b3c2SBryan Drewerycompiler type and revision, then it will not be built. 1415a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though, 1416a9da9b86SBryan Dreweryonly for building one for the build itself. 1417a9da9b86SBryan DreweryThe 1418a9da9b86SBryan Drewery.Va WITHOUT_CLANG 1419a9da9b86SBryan Dreweryand 1420a9da9b86SBryan Drewery.Va WITHOUT_GCC 1421a9da9b86SBryan Dreweryoptions control those. 142293da8366SEnji Cooper.It Va WITHOUT_TALK 142393da8366SEnji CooperSet to not build or install 142493da8366SEnji Cooper.Xr talk 1 142593da8366SEnji Cooperand 142693da8366SEnji Cooper.Xr talkd 8 . 14270e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS 14280e0e9604SEnji CooperSet to not build or install 14290e0e9604SEnji Cooper.Xr tcpd 8 , 14300e0e9604SEnji Cooperand related utilities. 143190be798eSDimitry Andric.It Va WITHOUT_TCSH 143290be798eSDimitry AndricSet to not build and install 143390be798eSDimitry Andric.Pa /bin/csh 143490be798eSDimitry Andric(which is 143590be798eSDimitry Andric.Xr tcsh 1 ) . 143690be798eSDimitry Andric.It Va WITHOUT_TELNET 143790be798eSDimitry AndricSet to not build 143823a6b49aSEdward Tomasz Napierala.Xr telnet 1 143990be798eSDimitry Andricand related programs. 144018c6fc4cSJulio Merino.It Va WITHOUT_TESTS 144118c6fc4cSJulio MerinoSet to not build nor install the 144290be798eSDimitry Andric.Fx 144390be798eSDimitry AndricTest Suite in 144490be798eSDimitry Andric.Pa /usr/tests/ . 144590be798eSDimitry AndricSee 144690be798eSDimitry Andric.Xr tests 7 144790be798eSDimitry Andricfor more details. 144818c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF. 14490780f5c3SJohn Baldwin.Pp 14500780f5c3SJohn BaldwinThis is a default setting on 14510780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf. 1452344e2bb9SEd MasteWhen set, it enforces these options: 1453c5d09a87SGlen Barber.Pp 1454c5d09a87SGlen Barber.Bl -item -compact 1455c5d09a87SGlen Barber.It 145616f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS 145716f3fdf5SMark Johnston.It 1458c5d09a87SGlen Barber.Va WITHOUT_TESTS_SUPPORT 1459c5d09a87SGlen Barber.El 1460c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT 1461c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF. 14620780f5c3SJohn Baldwin.Pp 14630780f5c3SJohn BaldwinThis is a default setting on 14640780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf. 146590be798eSDimitry Andric.It Va WITHOUT_TEXTPROC 146690be798eSDimitry AndricSet to not build 146790be798eSDimitry Andricprograms used for text processing. 14680e0e9604SEnji Cooper.It Va WITHOUT_TFTP 14690e0e9604SEnji CooperSet to not build or install 14700e0e9604SEnji Cooper.Xr tftp 1 14710e0e9604SEnji Cooperand 14720e0e9604SEnji Cooper.Xr tftpd 8 . 14730e0e9604SEnji Cooper.It Va WITHOUT_TIMED 14740e0e9604SEnji CooperSet to not build or install 14750e0e9604SEnji Cooper.Xr timed 8 . 147690be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN 1477148bdd15SBrooks DavisSet to not install header or 147890be798eSDimitry Andricprograms used for program development, 147990be798eSDimitry Andriccompilers, debuggers etc. 1480344e2bb9SEd MasteWhen set, it enforces these options: 148190be798eSDimitry Andric.Pp 148290be798eSDimitry Andric.Bl -item -compact 148390be798eSDimitry Andric.It 148490be798eSDimitry Andric.Va WITHOUT_BINUTILS 148590be798eSDimitry Andric.It 148690be798eSDimitry Andric.Va WITHOUT_CLANG 148790be798eSDimitry Andric.It 148890be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 148990be798eSDimitry Andric.It 149090be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 149190be798eSDimitry Andric.It 149290be798eSDimitry Andric.Va WITHOUT_GCC 149390be798eSDimitry Andric.It 149490be798eSDimitry Andric.Va WITHOUT_GDB 1495c5d09a87SGlen Barber.It 1496c5d09a87SGlen Barber.Va WITHOUT_INCLUDES 14973d02549fSBryan Drewery.It 14986c2b7edaSEd Maste.Va WITHOUT_LLD 14996c2b7edaSEd Maste.It 15003d02549fSBryan Drewery.Va WITHOUT_LLDB 150190be798eSDimitry Andric.El 150290be798eSDimitry Andric.It Va WITHOUT_UNBOUND 150390be798eSDimitry AndricSet to not build 150490be798eSDimitry Andric.Xr unbound 8 150590be798eSDimitry Andricand related programs. 150690be798eSDimitry Andric.It Va WITHOUT_USB 150790be798eSDimitry AndricSet to not build USB-related programs and libraries. 1508c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES 1509d1040cedSWarren BlockSet to not build USB gadget kernel modules. 151090be798eSDimitry Andric.It Va WITHOUT_UTMPX 151190be798eSDimitry AndricSet to not build user accounting tools such as 151290be798eSDimitry Andric.Xr last 1 , 151390be798eSDimitry Andric.Xr users 1 , 151490be798eSDimitry Andric.Xr who 1 , 151590be798eSDimitry Andric.Xr ac 8 , 151690be798eSDimitry Andric.Xr lastlogin 8 151790be798eSDimitry Andricand 151890be798eSDimitry Andric.Xr utx 8 . 151990be798eSDimitry Andric.It Va WITHOUT_VI 152090be798eSDimitry AndricSet to not build and install vi, view, ex and related programs. 152190be798eSDimitry Andric.It Va WITHOUT_VT 152290be798eSDimitry AndricSet to not build 152390be798eSDimitry Andric.Xr vt 4 152490be798eSDimitry Andricsupport files (fonts and keymaps). 152590be798eSDimitry Andric.It Va WITHOUT_WARNS 152690be798eSDimitry AndricSet this to not add warning flags to the compiler invocations. 152790be798eSDimitry AndricUseful as a temporary workaround when code enters the tree 152890be798eSDimitry Andricwhich triggers warnings in environments that differ from the 1529559f9bfcSJens Schweikhardtoriginal developer. 153090be798eSDimitry Andric.It Va WITHOUT_WIRELESS 153190be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially 153290be798eSDimitry Andric.Xr wpa_supplicant 8 153390be798eSDimitry Andricand 153490be798eSDimitry Andric.Xr hostapd 8 . 1535344e2bb9SEd MasteWhen set, it enforces these options: 153690be798eSDimitry Andric.Pp 153790be798eSDimitry Andric.Bl -item -compact 153890be798eSDimitry Andric.It 153990be798eSDimitry Andric.Va WITHOUT_WIRELESS_SUPPORT 154090be798eSDimitry Andric.El 154190be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT 154290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without 154390be798eSDimitry Andric802.11 wireless support. 154490be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL 154590be798eSDimitry AndricBuild 154690be798eSDimitry Andric.Xr wpa_supplicant 8 154790be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without 154890be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS 154990be798eSDimitry Andricprotocols (usable only via 802.1X). 155090be798eSDimitry Andric.It Va WITHOUT_ZFS 155190be798eSDimitry AndricSet to not build ZFS file system. 155290be798eSDimitry Andric.It Va WITHOUT_ZONEINFO 155390be798eSDimitry AndricSet to not build the timezone database. 15545c021049SEnji CooperWhen set, it enforces these options: 15555c021049SEnji Cooper.Pp 15565c021049SEnji Cooper.Bl -item -compact 15575c021049SEnji Cooper.It 15585c021049SEnji Cooper.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT 15595c021049SEnji Cooper.It 15605c021049SEnji Cooper.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT 15615c021049SEnji Cooper.El 15625c021049SEnji Cooper.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT 15635c021049SEnji CooperSet to build leapsecond information in to the timezone database. 15645c021049SEnji Cooper.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT 15655c021049SEnji CooperSet to build backward compatibility timezone aliases in to the timezone 15665c021049SEnji Cooperdatabase. 156790be798eSDimitry Andric.El 156890be798eSDimitry Andric.Sh FILES 156990be798eSDimitry Andric.Bl -tag -compact -width Pa 157090be798eSDimitry Andric.It Pa /etc/src.conf 15710a70ef02SBryan Drewery.It Pa /etc/src-env.conf 157290be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk 157390be798eSDimitry Andric.El 157490be798eSDimitry Andric.Sh SEE ALSO 157590be798eSDimitry Andric.Xr make 1 , 157690be798eSDimitry Andric.Xr make.conf 5 , 157790be798eSDimitry Andric.Xr build 7 , 157890be798eSDimitry Andric.Xr ports 7 157990be798eSDimitry Andric.Sh HISTORY 158090be798eSDimitry AndricThe 158190be798eSDimitry Andric.Nm 158290be798eSDimitry Andricfile appeared in 158390be798eSDimitry Andric.Fx 7.0 . 158490be798eSDimitry Andric.Sh AUTHORS 158588342134SEnji CooperThis manual page was autogenerated by 1586a121d3a8SEnji Cooper.An tools/build/options/makeman . 1587