xref: /freebsd/share/man/man5/src.conf.5 (revision 3f39ffc893961a8e73eea2bb70fed8ed11e0edd2)
1722a4cb4SEd Maste.\" DO NOT EDIT-- this file is generated by tools/build/options/makeman.
2fa07cb9cSRuslan Ermilov.\" $FreeBSD$
3*3f39ffc8SEd Maste.Dd April 21, 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
1830341a043SBryan DrewerySet this if you do not want to build blacklistd/blacklistctl.
184344e2bb9SEd MasteWhen set, it enforces these options:
1850341a043SBryan Drewery.Pp
1860341a043SBryan Drewery.Bl -item -compact
1870341a043SBryan Drewery.It
1880341a043SBryan Drewery.Va WITHOUT_BLACKLIST_SUPPORT
1890341a043SBryan Drewery.El
1900341a043SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT
1910341a043SBryan DrewerySet to build some programs without blacklistd support, like
1920341a043SBryan Drewery.Xr fingerd 8 ,
1930341a043SBryan Drewery.Xr ftpd 8 ,
1940341a043SBryan Drewery.Xr rlogind 8 ,
1950341a043SBryan Drewery.Xr rshd 8 ,
1960341a043SBryan Dreweryand
1970341a043SBryan Drewery.Xr sshd 8 .
19890be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH
19990be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries.
20090be798eSDimitry Andric.It Va WITHOUT_BOOT
20190be798eSDimitry AndricSet to not build the boot blocks and loader.
2020e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD
2030e0e9604SEnji CooperSet to not build or install
2040e0e9604SEnji Cooper.Xr bootparamd 8 .
2050e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD
2060e0e9604SEnji CooperSet to not build or install
2070e0e9604SEnji Cooper.Xr bootpd 8 .
20893da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL
20993da8366SEnji CooperSet to not build
21093da8366SEnji Cooper.Xr bsdinstall 8 ,
21193da8366SEnji Cooper.Xr sade 8 ,
21293da8366SEnji Cooperand related programs.
21390be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO
21490be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on
21590be798eSDimitry Andric.Xr libarchive 3 .
21690be798eSDimitry Andric.It Va WITH_BSD_GREP
21790be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep.
218*3f39ffc8SEd Maste.It Va WITHOUT_BSD_GREP_FASTMATCH
219*3f39ffc8SEd MasteSet this option to exclude the fastmatch implementation from
220*3f39ffc8SEd Maste.Xr bsdgrep 1 ,
221*3f39ffc8SEd Masteinstead using only
222*3f39ffc8SEd Maste.Xr regex 3 .
22390be798eSDimitry Andric.It Va WITHOUT_BSNMP
22490be798eSDimitry AndricSet to not build or install
22590be798eSDimitry Andric.Xr bsnmpd 1
22690be798eSDimitry Andricand related libraries and data files.
22790be798eSDimitry Andric.It Va WITHOUT_BZIP2
22890be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system.
22990be798eSDimitry Andric.Bf -symbolic
23090be798eSDimitry AndricThe option has no effect yet.
23190be798eSDimitry Andric.Ef
232344e2bb9SEd MasteWhen set, it enforces these options:
23390be798eSDimitry Andric.Pp
23490be798eSDimitry Andric.Bl -item -compact
23590be798eSDimitry Andric.It
23690be798eSDimitry Andric.Va WITHOUT_BZIP2_SUPPORT
23790be798eSDimitry Andric.El
23890be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT
23990be798eSDimitry AndricSet to build some programs without optional bzip2 support.
24090be798eSDimitry Andric.It Va WITHOUT_CALENDAR
24190be798eSDimitry AndricSet to not build
24290be798eSDimitry Andric.Xr calendar 1 .
24390be798eSDimitry Andric.It Va WITHOUT_CAPSICUM
24490be798eSDimitry AndricSet to not build Capsicum support into system programs.
245344e2bb9SEd MasteWhen set, it enforces these options:
246aced6942SBaptiste Daroussin.Pp
247aced6942SBaptiste Daroussin.Bl -item -compact
248aced6942SBaptiste Daroussin.It
249aced6942SBaptiste Daroussin.Va WITHOUT_CASPER
250aced6942SBaptiste Daroussin.El
25190be798eSDimitry Andric.It Va WITHOUT_CASPER
25290be798eSDimitry AndricSet to not build Casper program and related libraries.
2531c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD
2541c01e4f8SBryan DrewerySet to use
2551c01e4f8SBryan Drewery.Xr ccache 1
2561c01e4f8SBryan Dreweryfor the build.
2571c01e4f8SBryan DreweryNo configuration is required except to install the
2581c01e4f8SBryan Drewery.Sy devel/ccache
2591c01e4f8SBryan Drewerypackage.
260344e2bb9SEd MasteWhen using with
261344e2bb9SEd Maste.Xr distcc 1 ,
262344e2bb9SEd Masteset
2631c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc .
2641c01e4f8SBryan DreweryThe default cache directory of
2651c01e4f8SBryan Drewery.Pa $HOME/.ccache
2661c01e4f8SBryan Drewerywill be used, which can be overridden by setting
2671c01e4f8SBryan Drewery.Sy CCACHE_DIR .
2681c01e4f8SBryan DreweryThe
2691c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK
2701c01e4f8SBryan Dreweryoption defaults to
2711c01e4f8SBryan Drewery.Sy content
2721c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler,
2731c01e4f8SBryan Dreweryand
2741c01e4f8SBryan Drewery.Sy mtime
2751c01e4f8SBryan Drewerywhen using an external compiler.
2761c01e4f8SBryan DreweryThe
2771c01e4f8SBryan Drewery.Sy CCACHE_CPP2
2781c01e4f8SBryan Dreweryoption is used for Clang but not GCC.
2791c01e4f8SBryan Drewery.Pp
2801c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout
2811c01e4f8SBryan Drewerysimilar to
2821c01e4f8SBryan Drewery.Pa /some/prefix/src
2831c01e4f8SBryan Drewery.Pa /some/prefix/obj
2841c01e4f8SBryan Dreweryand an environment such as:
2851c01e4f8SBryan Drewery.Bd -literal -offset indent
2861c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
2871c01e4f8SBryan Drewery.Ed
2881c01e4f8SBryan Drewery.Pp
2891c01e4f8SBryan DrewerySee
2901c01e4f8SBryan Drewery.Xr ccache 1
2911c01e4f8SBryan Dreweryfor more configuration options.
29293da8366SEnji Cooper.It Va WITHOUT_CCD
29393da8366SEnji CooperSet to not build
29493da8366SEnji Cooper.Xr geom_ccd 4
29593da8366SEnji Cooperand related utilities.
29690be798eSDimitry Andric.It Va WITHOUT_CDDL
29790be798eSDimitry AndricSet to not build code licensed under Sun's CDDL.
298344e2bb9SEd MasteWhen set, it enforces these options:
29990be798eSDimitry Andric.Pp
30090be798eSDimitry Andric.Bl -item -compact
30190be798eSDimitry Andric.It
30290be798eSDimitry Andric.Va WITHOUT_CTF
30390be798eSDimitry Andric.It
30490be798eSDimitry Andric.Va WITHOUT_ZFS
30590be798eSDimitry Andric.El
30690be798eSDimitry Andric.It Va WITHOUT_CLANG
30790be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build.
30890be798eSDimitry Andric.Pp
309344e2bb9SEd MasteThis is a default setting on
3100780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
311344e2bb9SEd MasteWhen set, it enforces these options:
31290be798eSDimitry Andric.Pp
31390be798eSDimitry Andric.Bl -item -compact
31490be798eSDimitry Andric.It
31590be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
31690be798eSDimitry Andric.It
31790be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
31890be798eSDimitry Andric.El
31990be798eSDimitry Andric.It Va WITH_CLANG
32090be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build.
32190be798eSDimitry Andric.Pp
322344e2bb9SEd MasteThis is a default setting on
3231df22ae0SEd 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.
32490be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP
325344e2bb9SEd MasteSet to not build the Clang C/C++ compiler during the bootstrap phase of
326344e2bb9SEd Mastethe build.
327344e2bb9SEd MasteTo be able to build the system, either gcc or clang bootstrap must be
328344e2bb9SEd Masteenabled unless an alternate compiler is provided via XCC.
32990be798eSDimitry Andric.Pp
330344e2bb9SEd MasteThis is a default setting on
3310780f5c3SJohn 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.
33290be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP
33390be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build.
33490be798eSDimitry Andric.Pp
335344e2bb9SEd MasteThis is a default setting on
336661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
33790be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS
33890be798eSDimitry AndricSet to build additional clang and llvm tools, such as bugpoint.
33990be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL
34090be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
34190be798eSDimitry Andricthe Clang C/C++ compiler.
34290be798eSDimitry Andric.Pp
343344e2bb9SEd MasteThis is a default setting on
3440780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
34590be798eSDimitry Andric.It Va WITH_CLANG_FULL
34690be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
34790be798eSDimitry AndricClang C/C++ compiler.
34890be798eSDimitry Andric.Pp
349344e2bb9SEd MasteThis is a default setting on
3501df22ae0SEd 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.
35190be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC
35290be798eSDimitry AndricSet to install the GCC compiler as
35390be798eSDimitry Andric.Pa /usr/bin/cc ,
35490be798eSDimitry Andric.Pa /usr/bin/c++
35590be798eSDimitry Andricand
35690be798eSDimitry Andric.Pa /usr/bin/cpp .
35790be798eSDimitry Andric.Pp
358344e2bb9SEd MasteThis is a default setting on
3590780f5c3SJohn 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.
36090be798eSDimitry Andric.It Va WITH_CLANG_IS_CC
36190be798eSDimitry AndricSet to install the Clang C/C++ compiler as
36290be798eSDimitry Andric.Pa /usr/bin/cc ,
36390be798eSDimitry Andric.Pa /usr/bin/c++
36490be798eSDimitry Andricand
36590be798eSDimitry Andric.Pa /usr/bin/cpp .
36690be798eSDimitry Andric.Pp
367344e2bb9SEd MasteThis is a default setting on
368661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
36990be798eSDimitry Andric.It Va WITHOUT_CPP
37090be798eSDimitry AndricSet to not build
37190be798eSDimitry Andric.Xr cpp 1 .
37290be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER
37390be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld.
374344e2bb9SEd MasteWhen compiling a different version of
37590be798eSDimitry Andric.Fx
376344e2bb9SEd Mastethan what is installed on the system, provide an alternate
37790be798eSDimitry Andriccompiler with XCC to ensure success.
378344e2bb9SEd MasteWhen compiling with an identical version of
37990be798eSDimitry Andric.Fx
38090be798eSDimitry Andricto the host, this option may be safely used.
38190be798eSDimitry AndricThis option may also be safe when the host version of
38290be798eSDimitry Andric.Fx
38390be798eSDimitry Andricis close to the sources being built, but all bets are off if there have
38490be798eSDimitry Andricbeen any changes to the toolchain between the versions.
385344e2bb9SEd MasteWhen set, it enforces these options:
38690be798eSDimitry Andric.Pp
38790be798eSDimitry Andric.Bl -item -compact
38890be798eSDimitry Andric.It
38990be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP
39090be798eSDimitry Andric.It
39190be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP
39290be798eSDimitry Andric.It
393f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
394f972b8a4SBryan Drewery.It
39590be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP
39690be798eSDimitry Andric.El
39790be798eSDimitry Andric.It Va WITHOUT_CRYPT
39890be798eSDimitry AndricSet to not build any crypto code.
399344e2bb9SEd MasteWhen set, it enforces these options:
40090be798eSDimitry Andric.Pp
40190be798eSDimitry Andric.Bl -item -compact
40290be798eSDimitry Andric.It
40390be798eSDimitry Andric.Va WITHOUT_KERBEROS
40490be798eSDimitry Andric.It
40590be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
40690be798eSDimitry Andric.It
40790be798eSDimitry Andric.Va WITHOUT_OPENSSH
40890be798eSDimitry Andric.It
40990be798eSDimitry Andric.Va WITHOUT_OPENSSL
41090be798eSDimitry Andric.El
41190be798eSDimitry Andric.Pp
412344e2bb9SEd MasteWhen set, these options are also in effect:
41390be798eSDimitry Andric.Pp
41490be798eSDimitry Andric.Bl -inset -compact
41590be798eSDimitry Andric.It Va WITHOUT_GSSAPI
41690be798eSDimitry Andric(unless
41790be798eSDimitry Andric.Va WITH_GSSAPI
41890be798eSDimitry Andricis set explicitly)
41990be798eSDimitry Andric.El
42090be798eSDimitry Andric.It Va WITH_CTF
42190be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data.
42290be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information
42390be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace.
42490be798eSDimitry Andric.It Va WITHOUT_CTM
42590be798eSDimitry AndricSet to not build
42690be798eSDimitry Andric.Xr ctm 1
42790be798eSDimitry Andricand related utilities.
42854d8c5d5SBryan Drewery.It Va WITHOUT_CUSE
42954d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries.
4309cf76983SNavdeep Parhar.It Va WITHOUT_CXGBETOOL
4319cf76983SNavdeep ParharSet to not build
4329cf76983SNavdeep Parhar.Xr cxgbetool 8
4339cf76983SNavdeep Parhar.Pp
4349cf76983SNavdeep ParharThis is a default setting on
4350780f5c3SJohn 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.
4369cf76983SNavdeep Parhar.It Va WITH_CXGBETOOL
4379cf76983SNavdeep ParharSet to build
4389cf76983SNavdeep Parhar.Xr cxgbetool 8
4399cf76983SNavdeep Parhar.Pp
4409cf76983SNavdeep ParharThis is a default setting on
4419cf76983SNavdeep Parharamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
44290be798eSDimitry Andric.It Va WITHOUT_CXX
44390be798eSDimitry AndricSet to not build
4444a62dc3aSBryan Drewery.Xr c++ 1
44590be798eSDimitry Andricand related libraries.
44690be798eSDimitry AndricIt will also prevent building of
44790be798eSDimitry Andric.Xr gperf 1
44890be798eSDimitry Andricand
44990be798eSDimitry Andric.Xr devd 8 .
4500780f5c3SJohn Baldwin.Pp
4510780f5c3SJohn BaldwinThis is a default setting on
4520780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
453344e2bb9SEd MasteWhen set, it enforces these options:
45490be798eSDimitry Andric.Pp
45590be798eSDimitry Andric.Bl -item -compact
45690be798eSDimitry Andric.It
45790be798eSDimitry Andric.Va WITHOUT_CLANG
45890be798eSDimitry Andric.It
45990be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
46090be798eSDimitry Andric.It
46190be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
46290be798eSDimitry Andric.It
463051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS
464051ea717SEd Maste.It
46518c6fc4cSJulio Merino.Va WITHOUT_GNUCXX
46618c6fc4cSJulio Merino.It
46790be798eSDimitry Andric.Va WITHOUT_GROFF
468051ea717SEd Maste.It
469051ea717SEd Maste.Va WITHOUT_TESTS
470051ea717SEd Maste.It
471051ea717SEd Maste.Va WITHOUT_TESTS_SUPPORT
47290be798eSDimitry Andric.El
4734c033a73SEnji Cooper.It Va WITH_CXX
4744c033a73SEnji CooperSet to build
4754c033a73SEnji Cooper.Xr c++ 1
4764c033a73SEnji Cooperand related libraries.
4774c033a73SEnji Cooper.Pp
4784c033a73SEnji CooperThis is a default setting on
4794c033a73SEnji 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.
4804a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES
4814a5e4462SEd MasteSet to avoid building or installing standalone debug files for each
4824a5e4462SEd Masteexecutable binary and shared library.
483cc68b6e5SEd Maste.It Va WITHOUT_DIALOG
484344e2bb9SEd MasteSet to not build
485344e2bb9SEd Maste.Xr dialog 1 ,
486344e2bb9SEd Maste.Xr dialog 3 ,
487344e2bb9SEd Maste.Xr dpv 1 ,
488344e2bb9SEd Masteand
489344e2bb9SEd Maste.Xr dpv 3 .
490344e2bb9SEd MasteWhen set, it enforces these options:
491cc68b6e5SEd Maste.Pp
492cc68b6e5SEd Maste.Bl -item -compact
493cc68b6e5SEd Maste.It
494cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL
495cc68b6e5SEd Maste.El
49690be798eSDimitry Andric.It Va WITHOUT_DICT
49790be798eSDimitry AndricSet to not build the Webster dictionary files.
49832b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD
499be894451SBryan DreweryThis is an experimental build system.
50032b5dc9aSSimon J. GerratyFor details see
50132b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
502be894451SBryan DreweryBuild commands can be seen from the top-level with:
503be894451SBryan Drewery.Dl make show-valid-targets
50432b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using
50532b5dc9aSSimon J. Gerraty.Va DIRDEPS
50632b5dc9aSSimon J. Gerratystored in
50732b5dc9aSSimon J. GerratyMakefile.depend files found in each directory.
50832b5dc9aSSimon J. Gerraty.Pp
50932b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same.
51032b5dc9aSSimon J. GerratyThe initial instance of
51132b5dc9aSSimon J. Gerraty.Xr make 1
51232b5dc9aSSimon J. Gerratyrecursively reads
51332b5dc9aSSimon J. Gerraty.Va DIRDEPS
514344e2bb9SEd Mastefrom
515344e2bb9SEd Maste.Pa Makefile.depend ,
51632b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin.
51732b5dc9aSSimon J. GerratySetting
51832b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS
519344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current
5207f76a95cSBryan Dreweryand child directories.
5217f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW
522344e2bb9SEd Masteskips building any dirdeps and only build the current directory.
52332b5dc9aSSimon J. Gerraty.Pp
524be894451SBryan DreweryThis also utilizes the
525be894451SBryan Drewery.Va WITH_META_MODE
526be894451SBryan Drewerylogic for incremental builds.
52732b5dc9aSSimon J. Gerraty.Pp
528344e2bb9SEd MasteThe build hides commands executed unless
52932b5dc9aSSimon J. Gerraty.Va NO_SILENT
53032b5dc9aSSimon J. Gerratyis defined.
53132b5dc9aSSimon J. Gerraty.Pp
532be894451SBryan DreweryNote that there is currently no mass install feature for this.
533be894451SBryan Drewery.Pp
534344e2bb9SEd MasteWhen set, it enforces these options:
53532b5dc9aSSimon J. Gerraty.Pp
53632b5dc9aSSimon J. Gerraty.Bl -item -compact
53732b5dc9aSSimon J. Gerraty.It
53832b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER
53932b5dc9aSSimon J. Gerraty.El
54032b5dc9aSSimon J. Gerraty.Pp
541344e2bb9SEd MasteWhen set, these options are also in effect:
54232b5dc9aSSimon J. Gerraty.Pp
54332b5dc9aSSimon J. Gerraty.Bl -inset -compact
54432b5dc9aSSimon J. Gerraty.It Va WITH_AUTO_OBJ
54532b5dc9aSSimon J. Gerraty(unless
54632b5dc9aSSimon J. Gerraty.Va WITHOUT_AUTO_OBJ
54732b5dc9aSSimon J. Gerratyis set explicitly)
54826b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE
54926b79d5bSHajimu UMEMOTO(unless
55026b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE
55126b79d5bSHajimu UMEMOTOis set explicitly)
55232b5dc9aSSimon J. Gerraty.It Va WITH_STAGING
55332b5dc9aSSimon J. Gerraty(unless
55432b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING
55532b5dc9aSSimon J. Gerratyis set explicitly)
55632b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN
55732b5dc9aSSimon J. Gerraty(unless
55832b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN
55932b5dc9aSSimon J. Gerratyis set explicitly)
56032b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG
56132b5dc9aSSimon J. Gerraty(unless
56232b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG
56332b5dc9aSSimon J. Gerratyis set explicitly)
56432b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT
56532b5dc9aSSimon J. Gerraty(unless
56632b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT
56732b5dc9aSSimon J. Gerratyis set explicitly)
56832b5dc9aSSimon J. Gerraty.El
56932b5dc9aSSimon J. Gerraty.Pp
57032b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or
57132b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf ,
57232b5dc9aSSimon J. Gerratynot
57332b5dc9aSSimon J. Gerraty.Pa /etc/src.conf .
574cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE
575cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time
576cc2520d2SSimon J. Gerratyfor subsequent builds.
577cc2520d2SSimon J. GerratyDepends on
57832b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
5790a70ef02SBryan Drewery.Pp
580ba852870SBryan DreweryThis must be set in the environment, make command line, or
5810a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
5820a70ef02SBryan Drewerynot
5830a70ef02SBryan Drewery.Pa /etc/src.conf .
58490be798eSDimitry Andric.It Va WITHOUT_DMAGENT
585344e2bb9SEd MasteSet to not build dma Mail Transport Agent.
58690be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS
587344e2bb9SEd MasteSet to not install compressed system documentation.
58890be798eSDimitry AndricOnly the uncompressed version will be installed.
58916f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS
59016f3fdf5SMark JohnstonSet to build and install the DTrace test suite in
59116f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace .
59216f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than
59316f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability.
59490be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT
59590be798eSDimitry AndricSet this if you do not want to link
59690be798eSDimitry Andric.Pa /bin
59790be798eSDimitry Andricand
59890be798eSDimitry Andric.Pa /sbin
59990be798eSDimitry Andricdynamically.
60090be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO
60190be798eSDimitry AndricSet to build
60290be798eSDimitry Andric.Xr ed 1
60390be798eSDimitry Andricwithout support for encryption/decryption.
60493da8366SEnji Cooper.It Va WITHOUT_EE
60593da8366SEnji CooperSet to not build and install
60693da8366SEnji Cooper.Xr edit 1 ,
60793da8366SEnji Cooper.Xr ee 1 ,
60893da8366SEnji Cooperand related programs.
6090cd582c8SEnji Cooper.It Va WITHOUT_EFI
6100cd582c8SEnji CooperSet not to build
6110cd582c8SEnji Cooper.Xr efivar 3
6120cd582c8SEnji Cooperand
6130cd582c8SEnji Cooper.Xr efivar 8 .
6140cd582c8SEnji Cooper.Pp
615344e2bb9SEd MasteThis is a default setting on
6160780f5c3SJohn 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.
6170cd582c8SEnji Cooper.It Va WITH_EFI
6180cd582c8SEnji CooperSet to build
6190cd582c8SEnji Cooper.Xr efivar 3
6200cd582c8SEnji Cooperand
6210cd582c8SEnji Cooper.Xr efivar 8 .
6220cd582c8SEnji Cooper.Pp
623344e2bb9SEd MasteThis is a default setting on
624661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
6255977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
6265977355fSBryan DrewerySet to not build ELF Tool Chain tools
6275977355fSBryan Drewery(addr2line, nm, size, strings and strip)
6285977355fSBryan Dreweryas part of the bootstrap process.
6295977355fSBryan Drewery.Bf -symbolic
6305977355fSBryan DreweryAn alternate bootstrap tool chain must be provided.
6315977355fSBryan Drewery.Ef
63290be798eSDimitry Andric.It Va WITHOUT_EXAMPLES
63390be798eSDimitry AndricSet to avoid installing examples to
63490be798eSDimitry Andric.Pa /usr/share/examples/ .
635d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS
636d5a2667bSJonathan T. LooneySet to build extra TCP stack modules.
63790be798eSDimitry Andric.It Va WITHOUT_FDT
63890be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system.
63990be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library.
6400e0e9604SEnji Cooper.It Va WITHOUT_FILE
6410e0e9604SEnji CooperSet to not build
6420e0e9604SEnji Cooper.Xr file 1
6430e0e9604SEnji Cooperand related programs.
6440e0e9604SEnji Cooper.It Va WITHOUT_FINGER
6450e0e9604SEnji CooperSet to not build or install
6460e0e9604SEnji Cooper.Xr finger 1
6470e0e9604SEnji Cooperand
6480e0e9604SEnji Cooper.Xr fingerd 8 .
64990be798eSDimitry Andric.It Va WITHOUT_FLOPPY
65090be798eSDimitry AndricSet to not build or install programs
65190be798eSDimitry Andricfor operating floppy disk driver.
65290be798eSDimitry Andric.It Va WITHOUT_FMTREE
65390be798eSDimitry AndricSet to not build and install
65490be798eSDimitry Andric.Pa /usr/sbin/fmtree .
655a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS
656a0f6423bSEd MasteSet to not enable
657a0f6423bSEd Maste.Fl fformat-extensions
658a0f6423bSEd Mastewhen compiling the kernel.
659a0f6423bSEd MasteAlso disables all format checking.
66090be798eSDimitry Andric.It Va WITHOUT_FORTH
66190be798eSDimitry AndricSet to build bootloaders without Forth support.
66290be798eSDimitry Andric.It Va WITHOUT_FP_LIBC
66390be798eSDimitry AndricSet to build
66490be798eSDimitry Andric.Nm libc
66590be798eSDimitry Andricwithout floating-point support.
66690be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE
66790be798eSDimitry AndricSet to not build
66890be798eSDimitry Andric.Xr freebsd-update 8 .
6690e0e9604SEnji Cooper.It Va WITHOUT_FTP
6700e0e9604SEnji CooperSet to not build or install
6710e0e9604SEnji Cooper.Xr ftp 1
6720e0e9604SEnji Cooperand
6730e0e9604SEnji Cooper.Xr ftpd 8 .
67490be798eSDimitry Andric.It Va WITHOUT_GAMES
67590be798eSDimitry AndricSet to not build games.
67690be798eSDimitry Andric.It Va WITHOUT_GCC
67790be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process.
67890be798eSDimitry Andric.Pp
679344e2bb9SEd MasteThis is a default setting on
6800780f5c3SJohn Baldwinamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
68190be798eSDimitry Andric.It Va WITH_GCC
68290be798eSDimitry AndricSet to build and install gcc and g++.
68390be798eSDimitry Andric.Pp
684344e2bb9SEd MasteThis is a default setting on
68536e8c7bbSEd 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.
68690be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP
68790be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process.
688a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
689a0f6423bSEd Masteunless an alternative compiler is provided via
69090be798eSDimitry AndricXCC.
69190be798eSDimitry Andric.Pp
692344e2bb9SEd MasteThis is a default setting on
6930780f5c3SJohn Baldwinamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
69490be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP
69590be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process.
69690be798eSDimitry Andric.Pp
697344e2bb9SEd MasteThis is a default setting on
69836e8c7bbSEd 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.
69990be798eSDimitry Andric.It Va WITHOUT_GCOV
70090be798eSDimitry AndricSet to not build the
70190be798eSDimitry Andric.Xr gcov 1
70290be798eSDimitry Andrictool.
70390be798eSDimitry Andric.It Va WITHOUT_GDB
70490be798eSDimitry AndricSet to not build
70590be798eSDimitry Andric.Xr gdb 1 .
7065be09b10SEd Maste.Pp
707344e2bb9SEd MasteThis is a default setting on
7080780f5c3SJohn Baldwinamd64/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.
7095977355fSBryan Drewery.It Va WITH_GDB
7105977355fSBryan DrewerySet to build
7115977355fSBryan Drewery.Xr gdb 1 .
7125977355fSBryan Drewery.Pp
713344e2bb9SEd MasteThis is a default setting on
7140780f5c3SJohn Baldwinarm/arm, arm/armeb, arm/armv6 and sparc64/sparc64.
71590be798eSDimitry Andric.It Va WITHOUT_GNUCXX
71690be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++).
71790be798eSDimitry AndricThis is the default on platforms where clang is the system compiler.
71890be798eSDimitry Andric.Pp
719344e2bb9SEd MasteThis is a default setting on
7200780f5c3SJohn Baldwinamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
72190be798eSDimitry Andric.It Va WITH_GNUCXX
72290be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++).
72390be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler.
72490be798eSDimitry Andric.Pp
725344e2bb9SEd MasteThis is a default setting on
72636e8c7bbSEd 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.
72736e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF
72836e8c7bbSEd MasteSet to not build GNU
72936e8c7bbSEd Maste.Xr diff 1
73036e8c7bbSEd Masteand
73136e8c7bbSEd Maste.Xr diff3 1 .
73236e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP
73336e8c7bbSEd MasteSet to not build GNU
73436e8c7bbSEd Maste.Xr grep 1 .
73590be798eSDimitry Andric.It Va WITHOUT_GNU_GREP_COMPAT
736c5d09a87SGlen BarberSet this option to omit the gnu extensions to grep from being included in
73790be798eSDimitry AndricBSD grep.
73890be798eSDimitry Andric.It Va WITHOUT_GPIO
73990be798eSDimitry AndricSet to not build
74090be798eSDimitry Andric.Xr gpioctl 8
74190be798eSDimitry Andricas part of the base system.
74290be798eSDimitry Andric.It Va WITHOUT_GPL_DTC
743344e2bb9SEd MasteSet to build the BSD licensed version of the device tree compiler rather
744344e2bb9SEd Mastethan the GPLed one from elinux.org.
74590be798eSDimitry Andric.It Va WITHOUT_GROFF
74690be798eSDimitry AndricSet to not build
74790be798eSDimitry Andric.Xr groff 1
74890be798eSDimitry Andricand
74990be798eSDimitry Andric.Xr vgrind 1 .
75090be798eSDimitry AndricYou should consider installing the textproc/groff port to not break
75190be798eSDimitry Andric.Xr man 1 .
7520780f5c3SJohn Baldwin.Pp
7530780f5c3SJohn BaldwinThis is a default setting on
7540780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
7554c033a73SEnji Cooper.It Va WITH_GROFF
7564c033a73SEnji CooperSet to build
7574c033a73SEnji Cooper.Xr groff 1
7584c033a73SEnji Cooperand
7594c033a73SEnji Cooper.Xr vgrind 1 .
7604c033a73SEnji Cooper.Pp
7614c033a73SEnji CooperThis is a default setting on
7624c033a73SEnji 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.
76390be798eSDimitry Andric.It Va WITHOUT_GSSAPI
76490be798eSDimitry AndricSet to not build libgssapi.
76561940879SEnji Cooper.It Va WITHOUT_HAST
76661940879SEnji CooperSet to not build
76761940879SEnji Cooper.Xr hastd 8
76861940879SEnji Cooperand related utilities.
76990be798eSDimitry Andric.It Va WITH_HESIOD
77090be798eSDimitry AndricSet to build Hesiod support.
77190be798eSDimitry Andric.It Va WITHOUT_HTML
77290be798eSDimitry AndricSet to not build HTML docs.
7732c4b4abcSXin LI.It Va WITHOUT_HYPERV
7742c4b4abcSXin LISet to not build or install HyperV utilities.
77590be798eSDimitry Andric.It Va WITHOUT_ICONV
77690be798eSDimitry AndricSet to not build iconv as part of libc.
777c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES
778c5d09a87SGlen BarberSet to not install header files.
779c5d09a87SGlen BarberThis option used to be spelled
780c5d09a87SGlen Barber.Va NO_INCS .
781c5d09a87SGlen Barber.Bf -symbolic
782c5d09a87SGlen BarberThe option does not work for build targets.
783c5d09a87SGlen Barber.Ef
78490be798eSDimitry Andric.It Va WITHOUT_INET
78590be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking.
786344e2bb9SEd MasteWhen set, it enforces these options:
78790be798eSDimitry Andric.Pp
78890be798eSDimitry Andric.Bl -item -compact
78990be798eSDimitry Andric.It
79090be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT
79190be798eSDimitry Andric.El
79290be798eSDimitry Andric.It Va WITHOUT_INET6
79390be798eSDimitry AndricSet to not build
79490be798eSDimitry Andricprograms and libraries related to IPv6 networking.
795344e2bb9SEd MasteWhen set, it enforces these options:
79690be798eSDimitry Andric.Pp
79790be798eSDimitry Andric.Bl -item -compact
79890be798eSDimitry Andric.It
79990be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT
80090be798eSDimitry Andric.El
80190be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT
80290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support.
8030e0e9604SEnji Cooper.It Va WITHOUT_INETD
8040e0e9604SEnji CooperSet to not build
8050e0e9604SEnji Cooper.Xr inetd 8 .
80690be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT
80790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support.
80890be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB
809344e2bb9SEd MasteSet this to not install optional libraries.
810344e2bb9SEd MasteFor example, when creating a
81190be798eSDimitry Andric.Xr nanobsd 8
81290be798eSDimitry Andricimage.
813f79bedf5SBryan Drewery.Bf -symbolic
814f79bedf5SBryan DreweryThe option does not work for build targets.
815f79bedf5SBryan Drewery.Ef
81690be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER
81790be798eSDimitry AndricSet to make install targets succeed for non-root users by installing
81890be798eSDimitry Andricfiles with owner and group attributes set to that of the user running
81990be798eSDimitry Andricthe
82090be798eSDimitry Andric.Xr make 1
82190be798eSDimitry Andriccommand.
822344e2bb9SEd MasteThe user still must set the
82390be798eSDimitry Andric.Va DESTDIR
82490be798eSDimitry Andricvariable to point to a directory where the user has write permissions.
82590be798eSDimitry Andric.It Va WITHOUT_IPFILTER
82690be798eSDimitry AndricSet to not build IP Filter package.
82790be798eSDimitry Andric.It Va WITHOUT_IPFW
82890be798eSDimitry AndricSet to not build IPFW tools.
82988342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT
83088342134SEnji CooperSet to not build the kernel with
83188342134SEnji Cooper.Xr ipsec 4
83288342134SEnji Coopersupport.
83388342134SEnji CooperThis option is needed for
83488342134SEnji Cooper.Xr ipsec 4
83588342134SEnji Cooperand
83688342134SEnji Cooper.Xr tcpmd5 4 .
83793da8366SEnji Cooper.It Va WITHOUT_ISCSI
83893da8366SEnji CooperSet to not build
83993da8366SEnji Cooper.Xr iscid 8
84093da8366SEnji Cooperand related utilities.
84190be798eSDimitry Andric.It Va WITHOUT_JAIL
84290be798eSDimitry AndricSet to not build tools for the support of jails; e.g.,
84390be798eSDimitry Andric.Xr jail 8 .
84490be798eSDimitry Andric.It Va WITHOUT_KDUMP
84590be798eSDimitry AndricSet to not build
84690be798eSDimitry Andric.Xr kdump 1
84790be798eSDimitry Andricand
84890be798eSDimitry Andric.Xr truss 1 .
84990be798eSDimitry Andric.It Va WITHOUT_KERBEROS
850344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal).
851344e2bb9SEd MasteWhen set, it enforces these options:
85290be798eSDimitry Andric.Pp
85390be798eSDimitry Andric.Bl -item -compact
85490be798eSDimitry Andric.It
85590be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
85690be798eSDimitry Andric.El
85790be798eSDimitry Andric.Pp
858344e2bb9SEd MasteWhen set, these options are also in effect:
85990be798eSDimitry Andric.Pp
86090be798eSDimitry Andric.Bl -inset -compact
86190be798eSDimitry Andric.It Va WITHOUT_GSSAPI
86290be798eSDimitry Andric(unless
86390be798eSDimitry Andric.Va WITH_GSSAPI
86490be798eSDimitry Andricis set explicitly)
86590be798eSDimitry Andric.El
86690be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT
86790be798eSDimitry AndricSet to build some programs without Kerberos support, like
86890be798eSDimitry Andric.Xr ssh 1 ,
86990be798eSDimitry Andric.Xr telnet 1 ,
87090be798eSDimitry Andric.Xr sshd 8 ,
87190be798eSDimitry Andricand
87290be798eSDimitry Andric.Xr telnetd 8 .
873a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS
874a0f6423bSEd MasteSet to not install kernel symbol files.
875a0f6423bSEd Maste.Bf -symbolic
876a0f6423bSEd MasteThis option is recommended for those people who have small root partitions.
877a0f6423bSEd Maste.Ef
87890be798eSDimitry Andric.It Va WITHOUT_KVM
87990be798eSDimitry AndricSet to not build the
88090be798eSDimitry Andric.Nm libkvm
88190be798eSDimitry Andriclibrary as a part of the base system.
88290be798eSDimitry Andric.Bf -symbolic
88390be798eSDimitry AndricThe option has no effect yet.
88490be798eSDimitry Andric.Ef
885344e2bb9SEd MasteWhen set, it enforces these options:
88690be798eSDimitry Andric.Pp
88790be798eSDimitry Andric.Bl -item -compact
88890be798eSDimitry Andric.It
88990be798eSDimitry Andric.Va WITHOUT_KVM_SUPPORT
89090be798eSDimitry Andric.El
89190be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT
89290be798eSDimitry AndricSet to build some programs without optional
89390be798eSDimitry Andric.Nm libkvm
89490be798eSDimitry Andricsupport.
89590be798eSDimitry Andric.It Va WITHOUT_LDNS
89690be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built.
897344e2bb9SEd MasteWhen set, it enforces these options:
89890be798eSDimitry Andric.Pp
89990be798eSDimitry Andric.Bl -item -compact
90090be798eSDimitry Andric.It
90190be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS
90290be798eSDimitry Andric.It
90390be798eSDimitry Andric.Va WITHOUT_UNBOUND
90490be798eSDimitry Andric.El
90590be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS
90690be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities
90790be798eSDimitry Andric.Xr drill 1
90890be798eSDimitry Andricand
90990be798eSDimitry Andric.Xr host 1 .
91090be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE
91190be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g.,
91223a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1
91390be798eSDimitry Andricand
91423a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 .
91590be798eSDimitry Andric.It Va WITHOUT_LIB32
916c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a
91790be798eSDimitry Andric.Nm ld-elf32.so.1
91890be798eSDimitry Andricruntime linker.
91990be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS
92090be798eSDimitry AndricSet to avoid building libcxxrt and libc++.
92190be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD
92290be798eSDimitry AndricSet to not build the
92390be798eSDimitry Andric.Nm libpthread
92490be798eSDimitry Andricproviding library,
92590be798eSDimitry Andric.Nm libthr .
926344e2bb9SEd MasteWhen set, it enforces these options:
92790be798eSDimitry Andric.Pp
92890be798eSDimitry Andric.Bl -item -compact
92990be798eSDimitry Andric.It
93090be798eSDimitry Andric.Va WITHOUT_LIBTHR
93190be798eSDimitry Andric.El
9328a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT
9338a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries.
9348a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI.
93590be798eSDimitry Andric.It Va WITHOUT_LIBTHR
93690be798eSDimitry AndricSet to not build the
93790be798eSDimitry Andric.Nm libthr
93890be798eSDimitry Andric(1:1 threading)
93990be798eSDimitry Andriclibrary.
94036e8c7bbSEd Maste.It Va WITHOUT_LLD
94136e8c7bbSEd MasteSet to not build LLVM's lld linker.
94236e8c7bbSEd Maste.Pp
943344e2bb9SEd MasteThis is a default setting on
9440780f5c3SJohn 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.
9451df22ae0SEd MasteWhen set, it enforces these options:
9461df22ae0SEd Maste.Pp
9471df22ae0SEd Maste.Bl -item -compact
9481df22ae0SEd Maste.It
9491df22ae0SEd Maste.Va WITHOUT_LLD_IS_LD
9501df22ae0SEd Maste.El
95136e8c7bbSEd Maste.It Va WITH_LLD
95236e8c7bbSEd MasteSet to build LLVM's lld linker.
95336e8c7bbSEd Maste.Pp
954344e2bb9SEd MasteThis is a default setting on
9551df22ae0SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
9561500eb21SEd Maste.It Va WITHOUT_LLDB
9571500eb21SEd MasteSet to not build the LLDB debugger.
9581500eb21SEd Maste.Pp
959344e2bb9SEd MasteThis is a default setting on
9600780f5c3SJohn Baldwinarm/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.
96190be798eSDimitry Andric.It Va WITH_LLDB
96290be798eSDimitry AndricSet to build the LLDB debugger.
9631500eb21SEd Maste.Pp
964344e2bb9SEd MasteThis is a default setting on
9651500eb21SEd Masteamd64/amd64 and arm64/aarch64.
9666c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP
9676c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of
9686c2b7edaSEd Mastethe build.
9696c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be
9706c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD.
9716c2b7edaSEd Maste.Pp
9726c2b7edaSEd MasteThis is a default setting on
9730780f5c3SJohn 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.
9746c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP
9756c2b7edaSEd MasteSet to build the LLD linker during the bootstrap phase of the build.
9766c2b7edaSEd Maste.Pp
9776c2b7edaSEd MasteThis is a default setting on
9786c2b7edaSEd Mastearm64/aarch64.
979661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD
98036e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD.
98136e8c7bbSEd Maste.Pp
982344e2bb9SEd 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.
984661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD
98536e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld.
98636e8c7bbSEd Maste.Pp
987344e2bb9SEd MasteThis is a default setting on
98836e8c7bbSEd Mastearm64/aarch64.
9891df22ae0SEd MasteWhen set, these options are also in effect:
9901df22ae0SEd Maste.Pp
9911df22ae0SEd Maste.Bl -inset -compact
9921df22ae0SEd Maste.It Va WITHOUT_SYSTEM_COMPILER
9931df22ae0SEd Maste(unless
9941df22ae0SEd Maste.Va WITH_SYSTEM_COMPILER
9951df22ae0SEd Masteis set explicitly)
9961df22ae0SEd Maste.El
9971500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND
9981500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind).
9991500eb21SEd Maste.Pp
1000344e2bb9SEd MasteThis is a default setting on
100136e8c7bbSEd 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.
10021500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND
10031500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
10041500eb21SEd Maste.Pp
1005344e2bb9SEd MasteThis is a default setting on
10060780f5c3SJohn Baldwinamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
100790be798eSDimitry Andric.It Va WITHOUT_LOCALES
100890be798eSDimitry AndricSet to not build localization files; see
100990be798eSDimitry Andric.Xr locale 1 .
101090be798eSDimitry Andric.It Va WITHOUT_LOCATE
101190be798eSDimitry AndricSet to not build
101290be798eSDimitry Andric.Xr locate 1
101390be798eSDimitry Andricand related programs.
101490be798eSDimitry Andric.It Va WITHOUT_LPR
101590be798eSDimitry AndricSet to not build
101690be798eSDimitry Andric.Xr lpr 1
101790be798eSDimitry Andricand related programs.
101890be798eSDimitry Andric.It Va WITHOUT_LS_COLORS
101990be798eSDimitry AndricSet to build
102090be798eSDimitry Andric.Xr ls 1
102190be798eSDimitry Andricwithout support for colors to distinguish file types.
102290be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT
102390be798eSDimitry AndricSet to build some programs without optional lzma compression support.
102490be798eSDimitry Andric.It Va WITHOUT_MAIL
102590be798eSDimitry AndricSet to not build any mail support (MUA or MTA).
1026344e2bb9SEd MasteWhen set, it enforces these options:
102790be798eSDimitry Andric.Pp
102890be798eSDimitry Andric.Bl -item -compact
102990be798eSDimitry Andric.It
103090be798eSDimitry Andric.Va WITHOUT_DMAGENT
103190be798eSDimitry Andric.It
103290be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER
103390be798eSDimitry Andric.It
103490be798eSDimitry Andric.Va WITHOUT_SENDMAIL
103590be798eSDimitry Andric.El
103690be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER
103790be798eSDimitry AndricSet to not build the
103890be798eSDimitry Andric.Xr mailwrapper 8
103990be798eSDimitry AndricMTA selector.
104090be798eSDimitry Andric.It Va WITHOUT_MAKE
104190be798eSDimitry AndricSet to not install
104290be798eSDimitry Andric.Xr make 1
104390be798eSDimitry Andricand related support files.
104490be798eSDimitry Andric.It Va WITHOUT_MAN
104590be798eSDimitry AndricSet to not build manual pages.
1046344e2bb9SEd MasteWhen set, these options are also in effect:
104790be798eSDimitry Andric.Pp
104890be798eSDimitry Andric.Bl -inset -compact
104990be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
105090be798eSDimitry Andric(unless
105190be798eSDimitry Andric.Va WITH_MAN_UTILS
105290be798eSDimitry Andricis set explicitly)
105390be798eSDimitry Andric.El
105490be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS
105590be798eSDimitry AndricSet to not to install compressed man pages.
105690be798eSDimitry AndricOnly the uncompressed versions will be installed.
105790be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
105890be798eSDimitry AndricSet to not build utilities for manual pages,
105990be798eSDimitry Andric.Xr apropos 1 ,
106090be798eSDimitry Andric.Xr catman 1 ,
106190be798eSDimitry Andric.Xr makewhatis 1 ,
106290be798eSDimitry Andric.Xr man 1 ,
106390be798eSDimitry Andric.Xr whatis 1 ,
106490be798eSDimitry Andric.Xr manctl 8 ,
106590be798eSDimitry Andricand related support files.
1066cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE
1067344e2bb9SEd MasteCreate
1068be894451SBryan Drewery.Xr make 1
1069be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when
1070be894451SBryan Dreweryusing
1071be894451SBryan Drewery.Xr filemon 4 .
1072344e2bb9SEd MasteThe meta file is created in OBJDIR as
1073be894451SBryan Drewery.Pa target.meta .
1074344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the
1075344e2bb9SEd Mastecurrent directory.
10762710e62cSBryan DreweryThe
10777f76a95cSBryan Drewery.Xr filemon 4
10782710e62cSBryan Drewerymodule is required unless
10792710e62cSBryan Drewery.Va NO_FILEMON
10802710e62cSBryan Dreweryis defined.
1081344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are
1082344e2bb9SEd Mastetracked as dependencies for the target in its meta file.
1083344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these
1084344e2bb9SEd Masteconditions are true compared to the last build:
1085be894451SBryan Drewery.Bl -bullet -compact
1086be894451SBryan Drewery.It
1087be894451SBryan DreweryThe command to execute changes.
1088be894451SBryan Drewery.It
1089be894451SBryan DreweryThe current working directory changes.
1090be894451SBryan Drewery.It
1091a4a2269eSBryan DreweryThe target's meta file is missing.
1092a4a2269eSBryan Drewery.It
1093a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded
1094a4a2269eSBryan Dreweryand a previous run did not have it loaded.
1095be894451SBryan Drewery.It
1096be894451SBryan Drewery[requires
1097be894451SBryan Drewery.Xr filemon 4 ]
1098be894451SBryan DreweryFiles read, executed or linked to are newer than the target.
1099be894451SBryan Drewery.It
1100be894451SBryan Drewery[requires
1101be894451SBryan Drewery.Xr filemon 4 ]
1102be894451SBryan DreweryFiles read, written, executed or linked are missing.
1103be894451SBryan Drewery.El
11047f76a95cSBryan DreweryThe meta files can also be useful for debugging.
11057f76a95cSBryan Drewery.Pp
1106344e2bb9SEd MasteThe build hides commands that are executed unless
11077f76a95cSBryan Drewery.Va NO_SILENT
11087f76a95cSBryan Dreweryis defined.
1109344e2bb9SEd MasteErrors cause
11102710e62cSBryan Drewery.Xr make 1
11112710e62cSBryan Dreweryto show some of its environment for further debugging.
11120a70ef02SBryan Drewery.Pp
1113be894451SBryan DreweryThe build operates as it normally would otherwise.
1114be894451SBryan DreweryThis option originally invoked a different build system but that was renamed
1115be894451SBryan Dreweryto
1116be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD .
1117be894451SBryan Drewery.Pp
1118ba852870SBryan DreweryThis must be set in the environment, make command line, or
11190a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
11200a70ef02SBryan Drewerynot
11210a70ef02SBryan Drewery.Pa /etc/src.conf .
112290be798eSDimitry Andric.It Va WITH_NAND
112390be798eSDimitry AndricSet to build the NAND Flash components.
112490be798eSDimitry Andric.It Va WITHOUT_NDIS
112590be798eSDimitry AndricSet to not build programs and libraries
112690be798eSDimitry Andricrelated to NDIS emulation support.
112790be798eSDimitry Andric.It Va WITHOUT_NETCAT
112890be798eSDimitry AndricSet to not build
112990be798eSDimitry Andric.Xr nc 1
113090be798eSDimitry Andricutility.
113190be798eSDimitry Andric.It Va WITHOUT_NETGRAPH
113290be798eSDimitry AndricSet to not build applications to support
113390be798eSDimitry Andric.Xr netgraph 4 .
1134344e2bb9SEd MasteWhen set, it enforces these options:
113590be798eSDimitry Andric.Pp
113690be798eSDimitry Andric.Bl -item -compact
113790be798eSDimitry Andric.It
113890be798eSDimitry Andric.Va WITHOUT_ATM
113990be798eSDimitry Andric.It
114090be798eSDimitry Andric.Va WITHOUT_BLUETOOTH
114190be798eSDimitry Andric.It
114290be798eSDimitry Andric.Va WITHOUT_NETGRAPH_SUPPORT
114390be798eSDimitry Andric.El
114490be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT
114590be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support.
114690be798eSDimitry Andric.It Va WITHOUT_NIS
114790be798eSDimitry AndricSet to not build
114890be798eSDimitry Andric.Xr NIS 8
114990be798eSDimitry Andricsupport and related programs.
115090be798eSDimitry AndricIf set, you might need to adopt your
115190be798eSDimitry Andric.Xr nsswitch.conf 5
115290be798eSDimitry Andricand remove
115390be798eSDimitry Andric.Sq nis
115490be798eSDimitry Andricentries.
115590be798eSDimitry Andric.It Va WITHOUT_NLS
115690be798eSDimitry AndricSet to not build NLS catalogs.
115790be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS
115890be798eSDimitry AndricSet to not build NLS catalog support for
115990be798eSDimitry Andric.Xr csh 1 .
116090be798eSDimitry Andric.It Va WITHOUT_NS_CACHING
116190be798eSDimitry AndricSet to disable name caching in the
116290be798eSDimitry Andric.Pa nsswitch
116390be798eSDimitry Andricsubsystem.
116490be798eSDimitry AndricThe generic caching daemon,
116590be798eSDimitry Andric.Xr nscd 8 ,
116690be798eSDimitry Andricwill not be built either if this option is set.
116790be798eSDimitry Andric.It Va WITHOUT_NTP
116890be798eSDimitry AndricSet to not build
116990be798eSDimitry Andric.Xr ntpd 8
117090be798eSDimitry Andricand related programs.
117190be798eSDimitry Andric.It Va WITH_OFED
117290be798eSDimitry AndricSet to build the
117390be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution"
117490be798eSDimitry AndricInfiniband software stack.
117590be798eSDimitry Andric.It Va WITH_OPENLDAP
117690be798eSDimitry AndricEnable building openldap support for kerberos.
117790be798eSDimitry Andric.It Va WITHOUT_OPENSSH
117890be798eSDimitry AndricSet to not build OpenSSH.
117990be798eSDimitry Andric.It Va WITHOUT_OPENSSL
118090be798eSDimitry AndricSet to not build OpenSSL.
1181344e2bb9SEd MasteWhen set, it enforces these options:
118290be798eSDimitry Andric.Pp
118390be798eSDimitry Andric.Bl -item -compact
118490be798eSDimitry Andric.It
118590be798eSDimitry Andric.Va WITHOUT_KERBEROS
118690be798eSDimitry Andric.It
118790be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
118890be798eSDimitry Andric.It
118990be798eSDimitry Andric.Va WITHOUT_OPENSSH
119090be798eSDimitry Andric.El
119190be798eSDimitry Andric.Pp
1192344e2bb9SEd MasteWhen set, these options are also in effect:
119390be798eSDimitry Andric.Pp
119490be798eSDimitry Andric.Bl -inset -compact
119590be798eSDimitry Andric.It Va WITHOUT_GSSAPI
119690be798eSDimitry Andric(unless
119790be798eSDimitry Andric.Va WITH_GSSAPI
119890be798eSDimitry Andricis set explicitly)
119990be798eSDimitry Andric.El
120090be798eSDimitry Andric.It Va WITHOUT_PAM
120190be798eSDimitry AndricSet to not build PAM library and modules.
120290be798eSDimitry Andric.Bf -symbolic
120390be798eSDimitry AndricThis option is deprecated and does nothing.
120490be798eSDimitry Andric.Ef
1205344e2bb9SEd MasteWhen set, it enforces these options:
120690be798eSDimitry Andric.Pp
120790be798eSDimitry Andric.Bl -item -compact
120890be798eSDimitry Andric.It
120990be798eSDimitry Andric.Va WITHOUT_PAM_SUPPORT
121090be798eSDimitry Andric.El
121190be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT
121290be798eSDimitry AndricSet to build some programs without PAM support, particularly
121390be798eSDimitry Andric.Xr ftpd 8
121490be798eSDimitry Andricand
121590be798eSDimitry Andric.Xr ppp 8 .
121690be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL
121790be798eSDimitry AndricSet to not build
121890be798eSDimitry Andric.Xr pc-sysinstall 8
121990be798eSDimitry Andricand related programs.
122090be798eSDimitry Andric.It Va WITHOUT_PF
122190be798eSDimitry AndricSet to not build PF firewall package.
1222344e2bb9SEd MasteWhen set, it enforces these options:
122390be798eSDimitry Andric.Pp
122490be798eSDimitry Andric.Bl -item -compact
122590be798eSDimitry Andric.It
122690be798eSDimitry Andric.Va WITHOUT_AUTHPF
122790be798eSDimitry Andric.El
122890be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP
122990be798eSDimitry AndricSet to not build
123090be798eSDimitry Andric.Xr pkg 7
123190be798eSDimitry Andricbootstrap tool.
123290be798eSDimitry Andric.It Va WITHOUT_PMC
123390be798eSDimitry AndricSet to not build
123490be798eSDimitry Andric.Xr pmccontrol 8
123590be798eSDimitry Andricand related programs.
123690be798eSDimitry Andric.It Va WITHOUT_PORTSNAP
123790be798eSDimitry AndricSet to not build or install
123890be798eSDimitry Andric.Xr portsnap 8
123990be798eSDimitry Andricand related files.
124090be798eSDimitry Andric.It Va WITHOUT_PPP
124190be798eSDimitry AndricSet to not build
124290be798eSDimitry Andric.Xr ppp 8
124390be798eSDimitry Andricand related programs.
124490be798eSDimitry Andric.It Va WITHOUT_PROFILE
12454c033a73SEnji CooperSet to not build profiled libraries for use with
12464c033a73SEnji Cooper.Xr gprof 8 .
12470780f5c3SJohn Baldwin.Pp
12480780f5c3SJohn BaldwinThis is a default setting on
12490780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
12504c033a73SEnji Cooper.It Va WITH_PROFILE
12514c033a73SEnji CooperSet to build profiled libraries for use with
12524c033a73SEnji Cooper.Xr gprof 8 .
12534c033a73SEnji Cooper.Pp
12544c033a73SEnji CooperThis is a default setting on
12554c033a73SEnji 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.
125690be798eSDimitry Andric.It Va WITHOUT_QUOTAS
125790be798eSDimitry AndricSet to not build
125823a6b49aSEdward Tomasz Napierala.Xr quota 1
125990be798eSDimitry Andricand related programs.
12600e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT
12610e0e9604SEnji CooperSet to not build radius support into various applications, like
12620e0e9604SEnji Cooper.Xr pam_radius 8
12630e0e9604SEnji Cooperand
12640e0e9604SEnji Cooper.Xr ppp 8 .
126588342134SEnji Cooper.It Va WITH_RATELIMIT
126688342134SEnji CooperSet to build the system with rate limit support.
126788342134SEnji Cooper.Pp
126888342134SEnji CooperThis makes
126988342134SEnji Cooper.Dv SO_MAX_PACING_RATE
127088342134SEnji Coopereffective in
127188342134SEnji Cooper.Xr getsockopt 2 ,
127288342134SEnji Cooperand
127388342134SEnji Cooper.Ar txrlimit
127488342134SEnji Coopersupport in
127588342134SEnji Cooper.Xr ifconfig 8 ,
127688342134SEnji Cooperby proxy.
12770e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD
12780e0e9604SEnji CooperSet to not build or install
12790e0e9604SEnji Cooper.Xr rbootd 8 .
128090be798eSDimitry Andric.It Va WITHOUT_RCMDS
128190be798eSDimitry AndricDisable building of the
128290be798eSDimitry Andric.Bx
128390be798eSDimitry Andricr-commands.
128490be798eSDimitry AndricThis includes
128590be798eSDimitry Andric.Xr rlogin 1 ,
128690be798eSDimitry Andric.Xr rsh 1 ,
128790be798eSDimitry Andricetc.
12886dfa2a0aSEd Maste.It Va WITH_REPRODUCIBLE_BUILD
12896dfa2a0aSEd MasteSet to exclude build metadata (such as the build time, user, or host)
12906dfa2a0aSEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce
12916dfa2a0aSEd Mastebit-for-bit identical output.
129290be798eSDimitry Andric.It Va WITHOUT_RESCUE
129390be798eSDimitry AndricSet to not build
129490be798eSDimitry Andric.Xr rescue 8 .
129590be798eSDimitry Andric.It Va WITHOUT_ROUTED
129690be798eSDimitry AndricSet to not build
129790be798eSDimitry Andric.Xr routed 8
129890be798eSDimitry Andricutility.
12994c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT
13004c033a73SEnji CooperSet to build
13014c033a73SEnji Cooper.Xr rpcbind 8
13024c033a73SEnji Cooperwith warmstart support.
130390be798eSDimitry Andric.It Va WITHOUT_SENDMAIL
130490be798eSDimitry AndricSet to not build
130590be798eSDimitry Andric.Xr sendmail 8
130690be798eSDimitry Andricand related programs.
130790be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN
130890be798eSDimitry AndricSet this to disable the installation of
130990be798eSDimitry Andric.Xr login 1
131090be798eSDimitry Andricas a set-user-ID root program.
131190be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS
131290be798eSDimitry AndricSet to not build the
131390be798eSDimitry Andric.Bx 4.4
131490be798eSDimitry Andriclegacy docs.
131590be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN
131690be798eSDimitry AndricSet to build the toolchain binaries shared.
131790be798eSDimitry AndricThe set includes
131890be798eSDimitry Andric.Xr cc 1 ,
131990be798eSDimitry Andric.Xr make 1
132090be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager.
132190be798eSDimitry Andric.It Va WITH_SORT_THREADS
132290be798eSDimitry AndricSet to enable threads in
132390be798eSDimitry Andric.Xr sort 1 .
132490be798eSDimitry Andric.It Va WITHOUT_SOURCELESS
132590be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1326344e2bb9SEd MasteWhen set, it enforces these options:
132790be798eSDimitry Andric.Pp
132890be798eSDimitry Andric.Bl -item -compact
132990be798eSDimitry Andric.It
133090be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST
133190be798eSDimitry Andric.It
133290be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE
133390be798eSDimitry Andric.El
133490be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST
133590be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU.
133690be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE
133790be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode.
133890be798eSDimitry Andric.It Va WITHOUT_SSP
133990be798eSDimitry AndricSet to not build world with propolice stack smashing protection.
1340cc68b6e5SEd Maste.Pp
1341344e2bb9SEd MasteThis is a default setting on
134236e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
13430cd582c8SEnji Cooper.It Va WITH_SSP
13440cd582c8SEnji CooperSet to build world with propolice stack smashing protection.
13450cd582c8SEnji Cooper.Pp
1346344e2bb9SEd MasteThis is a default setting on
13470780f5c3SJohn 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.
1348cc2520d2SSimon J. Gerraty.It Va WITH_STAGING
1349cc2520d2SSimon J. GerratyEnable staging of files to a stage tree.
1350cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to
1351cc2520d2SSimon J. Gerraty.Va DESTDIR
1352cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked.
1353cc2520d2SSimon J. GerratyDepends on
135432b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
1355344e2bb9SEd MasteWhen set, these options are also in effect:
1356cc2520d2SSimon J. Gerraty.Pp
1357cc2520d2SSimon J. Gerraty.Bl -inset -compact
1358cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1359cc2520d2SSimon J. Gerraty(unless
1360cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN
1361cc2520d2SSimon J. Gerratyis set explicitly)
1362cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1363cc2520d2SSimon J. Gerraty(unless
1364cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG
1365cc2520d2SSimon J. Gerratyis set explicitly)
1366cc2520d2SSimon J. Gerraty.El
13670a70ef02SBryan Drewery.Pp
1368ba852870SBryan DreweryThis must be set in the environment, make command line, or
13690a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
13700a70ef02SBryan Drewerynot
13710a70ef02SBryan Drewery.Pa /etc/src.conf .
1372cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1373344e2bb9SEd MasteEnable staging of man pages to stage tree.
1374cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1375cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree.
1376cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED
1377cc2520d2SSimon J. GerratyCheck staged files are not stale.
137890be798eSDimitry Andric.It Va WITH_SVN
137990be798eSDimitry AndricSet to install
138090be798eSDimitry Andric.Xr svnlite 1
138190be798eSDimitry Andricas
138290be798eSDimitry Andric.Xr svn 1 .
138390be798eSDimitry Andric.It Va WITHOUT_SVNLITE
138490be798eSDimitry AndricSet to not build
138590be798eSDimitry Andric.Xr svnlite 1
138690be798eSDimitry Andricand related programs.
138790be798eSDimitry Andric.It Va WITHOUT_SYMVER
138890be798eSDimitry AndricSet to disable symbol versioning when building shared libraries.
138990be798eSDimitry Andric.It Va WITHOUT_SYSCONS
139090be798eSDimitry AndricSet to not build
139190be798eSDimitry Andric.Xr syscons 4
139290be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps.
1393cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT
1394cc2520d2SSimon J. GerratyEnable use of sysroot during build.
1395cc2520d2SSimon J. GerratyDepends on
139632b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
13970a70ef02SBryan Drewery.Pp
1398ba852870SBryan DreweryThis must be set in the environment, make command line, or
13990a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
14000a70ef02SBryan Drewerynot
14010a70ef02SBryan Drewery.Pa /etc/src.conf .
14028095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER
14038095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the
1404a9da9b86SBryan Drewerybootstrap phase of the build.
14058095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap
14068095b3c2SBryan Drewerycompiler type and revision, then it will not be built.
1407a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though,
1408a9da9b86SBryan Dreweryonly for building one for the build itself.
1409a9da9b86SBryan DreweryThe
1410a9da9b86SBryan Drewery.Va WITHOUT_CLANG
1411a9da9b86SBryan Dreweryand
1412a9da9b86SBryan Drewery.Va WITHOUT_GCC
1413a9da9b86SBryan Dreweryoptions control those.
14141df22ae0SEd Maste.Pp
14151df22ae0SEd MasteThis is a default setting on
14161df22ae0SEd Mastearm64/aarch64.
14171df22ae0SEd Maste.It Va WITH_SYSTEM_COMPILER
14181df22ae0SEd MasteSet to opportunistically skip building a cross-compiler during the
14191df22ae0SEd Mastebootstrap phase of the build.
14201df22ae0SEd MasteIf the currently installed compiler matches the planned bootstrap compiler
14211df22ae0SEd Mastetype and revision, then it will not be built.
14221df22ae0SEd MasteThis does not prevent a compiler from being built for installation though,
14231df22ae0SEd Masteonly for building one for the build itself.
14241df22ae0SEd MasteThe
14251df22ae0SEd Maste.Va WITHOUT_CLANG
14261df22ae0SEd Masteand
14271df22ae0SEd Maste.Va WITHOUT_GCC
14281df22ae0SEd Masteoptions control those.
14291df22ae0SEd Maste.Pp
14301df22ae0SEd MasteThis is a default setting on
14310780f5c3SJohn 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.
143293da8366SEnji Cooper.It Va WITHOUT_TALK
143393da8366SEnji CooperSet to not build or install
143493da8366SEnji Cooper.Xr talk 1
143593da8366SEnji Cooperand
143693da8366SEnji Cooper.Xr talkd 8 .
14370e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS
14380e0e9604SEnji CooperSet to not build or install
14390e0e9604SEnji Cooper.Xr tcpd 8 ,
14400e0e9604SEnji Cooperand related utilities.
144190be798eSDimitry Andric.It Va WITHOUT_TCSH
144290be798eSDimitry AndricSet to not build and install
144390be798eSDimitry Andric.Pa /bin/csh
144490be798eSDimitry Andric(which is
144590be798eSDimitry Andric.Xr tcsh 1 ) .
144690be798eSDimitry Andric.It Va WITHOUT_TELNET
144790be798eSDimitry AndricSet to not build
144823a6b49aSEdward Tomasz Napierala.Xr telnet 1
144990be798eSDimitry Andricand related programs.
145018c6fc4cSJulio Merino.It Va WITHOUT_TESTS
145118c6fc4cSJulio MerinoSet to not build nor install the
145290be798eSDimitry Andric.Fx
145390be798eSDimitry AndricTest Suite in
145490be798eSDimitry Andric.Pa /usr/tests/ .
145590be798eSDimitry AndricSee
145690be798eSDimitry Andric.Xr tests 7
145790be798eSDimitry Andricfor more details.
145818c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF.
14590780f5c3SJohn Baldwin.Pp
14600780f5c3SJohn BaldwinThis is a default setting on
14610780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
1462344e2bb9SEd MasteWhen set, it enforces these options:
1463c5d09a87SGlen Barber.Pp
1464c5d09a87SGlen Barber.Bl -item -compact
1465c5d09a87SGlen Barber.It
146616f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS
146716f3fdf5SMark Johnston.It
1468c5d09a87SGlen Barber.Va WITHOUT_TESTS_SUPPORT
1469c5d09a87SGlen Barber.El
1470c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT
1471c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF.
14720780f5c3SJohn Baldwin.Pp
14730780f5c3SJohn BaldwinThis is a default setting on
14740780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
147590be798eSDimitry Andric.It Va WITHOUT_TEXTPROC
147690be798eSDimitry AndricSet to not build
147790be798eSDimitry Andricprograms used for text processing.
1478344e2bb9SEd MasteWhen set, it enforces these options:
147990be798eSDimitry Andric.Pp
148090be798eSDimitry Andric.Bl -item -compact
148190be798eSDimitry Andric.It
148290be798eSDimitry Andric.Va WITHOUT_GROFF
148390be798eSDimitry Andric.El
14840e0e9604SEnji Cooper.It Va WITHOUT_TFTP
14850e0e9604SEnji CooperSet to not build or install
14860e0e9604SEnji Cooper.Xr tftp 1
14870e0e9604SEnji Cooperand
14880e0e9604SEnji Cooper.Xr tftpd 8 .
14890e0e9604SEnji Cooper.It Va WITHOUT_TIMED
14900e0e9604SEnji CooperSet to not build or install
14910e0e9604SEnji Cooper.Xr timed 8 .
149290be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN
1493148bdd15SBrooks DavisSet to not install header or
149490be798eSDimitry Andricprograms used for program development,
149590be798eSDimitry Andriccompilers, debuggers etc.
1496344e2bb9SEd MasteWhen set, it enforces these options:
149790be798eSDimitry Andric.Pp
149890be798eSDimitry Andric.Bl -item -compact
149990be798eSDimitry Andric.It
150090be798eSDimitry Andric.Va WITHOUT_BINUTILS
150190be798eSDimitry Andric.It
150290be798eSDimitry Andric.Va WITHOUT_CLANG
150390be798eSDimitry Andric.It
150490be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
150590be798eSDimitry Andric.It
150690be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
150790be798eSDimitry Andric.It
150890be798eSDimitry Andric.Va WITHOUT_GCC
150990be798eSDimitry Andric.It
151090be798eSDimitry Andric.Va WITHOUT_GDB
1511c5d09a87SGlen Barber.It
1512c5d09a87SGlen Barber.Va WITHOUT_INCLUDES
15133d02549fSBryan Drewery.It
15146c2b7edaSEd Maste.Va WITHOUT_LLD
15156c2b7edaSEd Maste.It
15163d02549fSBryan Drewery.Va WITHOUT_LLDB
151790be798eSDimitry Andric.El
151890be798eSDimitry Andric.It Va WITHOUT_UNBOUND
151990be798eSDimitry AndricSet to not build
152090be798eSDimitry Andric.Xr unbound 8
152190be798eSDimitry Andricand related programs.
152290be798eSDimitry Andric.It Va WITHOUT_USB
152390be798eSDimitry AndricSet to not build USB-related programs and libraries.
1524c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES
1525d1040cedSWarren BlockSet to not build USB gadget kernel modules.
152690be798eSDimitry Andric.It Va WITHOUT_UTMPX
152790be798eSDimitry AndricSet to not build user accounting tools such as
152890be798eSDimitry Andric.Xr last 1 ,
152990be798eSDimitry Andric.Xr users 1 ,
153090be798eSDimitry Andric.Xr who 1 ,
153190be798eSDimitry Andric.Xr ac 8 ,
153290be798eSDimitry Andric.Xr lastlogin 8
153390be798eSDimitry Andricand
153490be798eSDimitry Andric.Xr utx 8 .
153590be798eSDimitry Andric.It Va WITHOUT_VI
153690be798eSDimitry AndricSet to not build and install vi, view, ex and related programs.
153790be798eSDimitry Andric.It Va WITHOUT_VT
153890be798eSDimitry AndricSet to not build
153990be798eSDimitry Andric.Xr vt 4
154090be798eSDimitry Andricsupport files (fonts and keymaps).
154190be798eSDimitry Andric.It Va WITHOUT_WARNS
154290be798eSDimitry AndricSet this to not add warning flags to the compiler invocations.
154390be798eSDimitry AndricUseful as a temporary workaround when code enters the tree
154490be798eSDimitry Andricwhich triggers warnings in environments that differ from the
1545559f9bfcSJens Schweikhardtoriginal developer.
154690be798eSDimitry Andric.It Va WITHOUT_WIRELESS
154790be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially
154890be798eSDimitry Andric.Xr wpa_supplicant 8
154990be798eSDimitry Andricand
155090be798eSDimitry Andric.Xr hostapd 8 .
1551344e2bb9SEd MasteWhen set, it enforces these options:
155290be798eSDimitry Andric.Pp
155390be798eSDimitry Andric.Bl -item -compact
155490be798eSDimitry Andric.It
155590be798eSDimitry Andric.Va WITHOUT_WIRELESS_SUPPORT
155690be798eSDimitry Andric.El
155790be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT
155890be798eSDimitry AndricSet to build libraries, programs, and kernel modules without
155990be798eSDimitry Andric802.11 wireless support.
156090be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
156190be798eSDimitry AndricBuild
156290be798eSDimitry Andric.Xr wpa_supplicant 8
156390be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without
156490be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
156590be798eSDimitry Andricprotocols (usable only via 802.1X).
156690be798eSDimitry Andric.It Va WITHOUT_ZFS
156790be798eSDimitry AndricSet to not build ZFS file system.
156890be798eSDimitry Andric.It Va WITHOUT_ZONEINFO
156990be798eSDimitry AndricSet to not build the timezone database.
157090be798eSDimitry Andric.El
157190be798eSDimitry Andric.Sh FILES
157290be798eSDimitry Andric.Bl -tag -compact -width Pa
157390be798eSDimitry Andric.It Pa /etc/src.conf
15740a70ef02SBryan Drewery.It Pa /etc/src-env.conf
157590be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk
157690be798eSDimitry Andric.El
157790be798eSDimitry Andric.Sh SEE ALSO
157890be798eSDimitry Andric.Xr make 1 ,
157990be798eSDimitry Andric.Xr make.conf 5 ,
158090be798eSDimitry Andric.Xr build 7 ,
158190be798eSDimitry Andric.Xr ports 7
158290be798eSDimitry Andric.Sh HISTORY
158390be798eSDimitry AndricThe
158490be798eSDimitry Andric.Nm
158590be798eSDimitry Andricfile appeared in
158690be798eSDimitry Andric.Fx 7.0 .
158790be798eSDimitry Andric.Sh AUTHORS
158888342134SEnji CooperThis manual page was autogenerated by
1589a121d3a8SEnji Cooper.An tools/build/options/makeman .
1590