xref: /freebsd/share/man/man5/src.conf.5 (revision 26b79d5b83a89e8056398f32717c1fed8cdb6a11)
1fa07cb9cSRuslan Ermilov.\" DO NOT EDIT-- this file is automatically generated.
2*26b79d5bSHajimu UMEMOTO.\" from FreeBSD: head/tools/build/options/makeman 291414 2015-11-28 00:41:37Z ume
3fa07cb9cSRuslan Ermilov.\" $FreeBSD$
4*26b79d5bSHajimu UMEMOTO.Dd November 28, 2015
5fa07cb9cSRuslan Ermilov.Dt SRC.CONF 5
6fa07cb9cSRuslan Ermilov.Os
7fa07cb9cSRuslan Ermilov.Sh NAME
8fa07cb9cSRuslan Ermilov.Nm src.conf
916f2e711SYaroslav Tykhiy.Nd "source build options"
10fa07cb9cSRuslan Ermilov.Sh DESCRIPTION
11fa07cb9cSRuslan ErmilovThe
12fa07cb9cSRuslan Ermilov.Nm
13fa07cb9cSRuslan Ermilovfile contains settings that will apply to every build involving the
14fa07cb9cSRuslan Ermilov.Fx
15fa07cb9cSRuslan Ermilovsource tree; see
16fa07cb9cSRuslan Ermilov.Xr build 7 .
17fa07cb9cSRuslan Ermilov.Pp
18fa07cb9cSRuslan ErmilovThe
19fa07cb9cSRuslan Ermilov.Nm
20fa07cb9cSRuslan Ermilovfile uses the standard makefile syntax.
21fa07cb9cSRuslan ErmilovHowever,
22fa07cb9cSRuslan Ermilov.Nm
23fa07cb9cSRuslan Ermilovshould not specify any dependencies to
24fa07cb9cSRuslan Ermilov.Xr make 1 .
25fa07cb9cSRuslan ErmilovInstead,
26fa07cb9cSRuslan Ermilov.Nm
27fa07cb9cSRuslan Ermilovis to set
28fa07cb9cSRuslan Ermilov.Xr make 1
29fa07cb9cSRuslan Ermilovvariables that control the aspects of how the system builds.
30fa07cb9cSRuslan Ermilov.Pp
31fa07cb9cSRuslan ErmilovThe default location of
32fa07cb9cSRuslan Ermilov.Nm
33fa07cb9cSRuslan Ermilovis
34fa07cb9cSRuslan Ermilov.Pa /etc/src.conf ,
35fa07cb9cSRuslan Ermilovthough an alternative location can be specified in the
36fa07cb9cSRuslan Ermilov.Xr make 1
37fa07cb9cSRuslan Ermilovvariable
38fa07cb9cSRuslan Ermilov.Va SRCCONF .
39fa07cb9cSRuslan ErmilovOverriding the location of
40fa07cb9cSRuslan Ermilov.Nm
41fa07cb9cSRuslan Ermilovmay be necessary if the system-wide settings are not suitable
42fa07cb9cSRuslan Ermilovfor a particular build.
43fa07cb9cSRuslan ErmilovFor instance, setting
44fa07cb9cSRuslan Ermilov.Va SRCCONF
45fa07cb9cSRuslan Ermilovto
46fa07cb9cSRuslan Ermilov.Pa /dev/null
47fa07cb9cSRuslan Ermiloveffectively resets all build controls to their defaults.
48fa07cb9cSRuslan Ermilov.Pp
49fa07cb9cSRuslan ErmilovThe only purpose of
50fa07cb9cSRuslan Ermilov.Nm
51fa07cb9cSRuslan Ermilovis to control the compilation of the
52fa07cb9cSRuslan Ermilov.Fx
5316f2e711SYaroslav Tykhiysource code, which is usually located in
54fa07cb9cSRuslan Ermilov.Pa /usr/src .
55fa07cb9cSRuslan ErmilovAs a rule, the system administrator creates
56fa07cb9cSRuslan Ermilov.Nm
57fa07cb9cSRuslan Ermilovwhen the values of certain control variables need to be changed
58fa07cb9cSRuslan Ermilovfrom their defaults.
59fa07cb9cSRuslan Ermilov.Pp
60fa07cb9cSRuslan ErmilovIn addition, control variables can be specified
61fa07cb9cSRuslan Ermilovfor a particular build via the
62fa07cb9cSRuslan Ermilov.Fl D
63fa07cb9cSRuslan Ermilovoption of
64fa07cb9cSRuslan Ermilov.Xr make 1
6572735687SMike Makonnenor in its environment; see
66fa07cb9cSRuslan Ermilov.Xr environ 7 .
67fa07cb9cSRuslan Ermilov.Pp
680a70ef02SBryan DreweryThe environment of
690a70ef02SBryan Drewery.Xr make 1
700a70ef02SBryan Dreweryfor the build can be controlled via the
710a70ef02SBryan Drewery.Va SRC_ENV_CONF
720a70ef02SBryan Dreweryvariable, which defaults to
730a70ef02SBryan Drewery.Pa /etc/src-env.conf .
740a70ef02SBryan DrewerySome examples that may only be set in this file are
750a70ef02SBryan Drewery.Va MAKEOBJDIRPREFIX ,
7632b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD ,
770a70ef02SBryan Dreweryand
780a70ef02SBryan Drewery.Va WITH_META_MODE
790a70ef02SBryan Dreweryas they are environment-only variables.
800a70ef02SBryan Drewery.Pp
8116f2e711SYaroslav TykhiyThe values of variables are ignored regardless of their setting;
8216f2e711SYaroslav Tykhiyeven if they would be set to
83fa07cb9cSRuslan Ermilov.Dq Li FALSE
84fa07cb9cSRuslan Ermilovor
8516f2e711SYaroslav Tykhiy.Dq Li NO .
8616f2e711SYaroslav TykhiyJust the existence of an option will cause
8716f2e711SYaroslav Tykhiyit to be honoured by
8816f2e711SYaroslav Tykhiy.Xr make 1 .
89fa07cb9cSRuslan Ermilov.Pp
90fa07cb9cSRuslan ErmilovThe following list provides a name and short description for variables
91fa07cb9cSRuslan Ermilovthat can be used for source builds.
92fa07cb9cSRuslan Ermilov.Bl -tag -width indent
93aaa6d7ebSSam Leffler.It Va WITHOUT_ACCT
9490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ACCT 223201 2011-06-17 20:47:44Z ed
95aaa6d7ebSSam LefflerSet to not build process accounting tools such as
960ea27d02SEd Schouten.Xr accton 8
97aaa6d7ebSSam Lefflerand
980ea27d02SEd Schouten.Xr sa 8 .
99fa07cb9cSRuslan Ermilov.It Va WITHOUT_ACPI
10090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ACPI 156932 2006-03-21 07:50:50Z ru
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
10690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AMD 183242 2008-09-21 22:02:26Z sam
107aaa6d7ebSSam LefflerSet to not build
108aaa6d7ebSSam Leffler.Xr amd 8 ,
109aaa6d7ebSSam Lefflerand related programs.
110aaa6d7ebSSam Leffler.It Va WITHOUT_APM
11190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_APM 183242 2008-09-21 22:02:26Z sam
112aaa6d7ebSSam LefflerSet to not build
113aaa6d7ebSSam Leffler.Xr apm 8 ,
114aaa6d7ebSSam Leffler.Xr apmd 8
115aaa6d7ebSSam Lefflerand related programs.
116e567b213SRuslan Ermilov.It Va WITHOUT_ASSERT_DEBUG
11790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ASSERT_DEBUG 162215 2006-09-11 13:55:27Z ru
118e567b213SRuslan ErmilovSet to compile programs and libraries without the
119e567b213SRuslan Ermilov.Xr assert 3
120e567b213SRuslan Ermilovchecks.
121aaa6d7ebSSam Leffler.It Va WITHOUT_AT
12290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AT 183242 2008-09-21 22:02:26Z sam
123aaa6d7ebSSam LefflerSet to not build
124aaa6d7ebSSam Leffler.Xr at 1
125aaa6d7ebSSam Lefflerand related utilities.
126fa07cb9cSRuslan Ermilov.It Va WITHOUT_ATM
12790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ATM 156932 2006-03-21 07:50:50Z ru
128fa07cb9cSRuslan ErmilovSet to not build
129fa07cb9cSRuslan Ermilovprograms and libraries related to ATM networking.
130fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUDIT
13190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AUDIT 156932 2006-03-21 07:50:50Z ru
132fa07cb9cSRuslan ErmilovSet to not build audit support into system programs.
133fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUTHPF
13490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AUTHPF 156932 2006-03-21 07:50:50Z ru
135fa07cb9cSRuslan ErmilovSet to not build
136fa07cb9cSRuslan Ermilov.Xr authpf 8 .
13761940879SEnji Cooper.It Va WITHOUT_AUTOFS
13861940879SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_AUTOFS 277728 2015-01-26 07:15:49Z ngie
13961940879SEnji CooperSet to not build
14061940879SEnji Cooper.Xr autofs 4
14161940879SEnji Cooperrelated programs, libraries, and kernel modules.
142cc2520d2SSimon J. Gerraty.It Va WITH_AUTO_OBJ
1435be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_AUTO_OBJ 284708 2015-06-22 20:21:57Z sjg
144cc2520d2SSimon J. GerratyEnable automatic creation of objdirs.
1450a70ef02SBryan Drewery.Pp
146ba852870SBryan DreweryThis must be set in the environment, make command line, or
1470a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
1480a70ef02SBryan Drewerynot
1490a70ef02SBryan Drewery.Pa /etc/src.conf .
15061940879SEnji Cooper.It Va WITHOUT_BHYVE
15161940879SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BHYVE 277727 2015-01-26 06:44:48Z ngie
15261940879SEnji CooperSet to not build or install
15361940879SEnji Cooper.Xr bhyve 8 ,
15461940879SEnji Cooperassociated utilities, and examples.
15561940879SEnji Cooper.Pp
15661940879SEnji CooperThis option only affects amd64/amd64.
15790be798eSDimitry Andric.It Va WITHOUT_BINUTILS
15884465e31SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS 286332 2015-08-05 18:30:00Z emaste
15984465e31SEd MasteSet to not build or install binutils (as, ld, objcopy, and objdump ) as part
16090be798eSDimitry Andricof the normal system build.
16190be798eSDimitry AndricThe resulting system cannot build programs from source.
1625be09b10SEd Maste.Pp
1635be09b10SEd MasteIt is a default setting on
1645be09b10SEd Mastearm64/aarch64.
16590be798eSDimitry Andric.It Va WITHOUT_BINUTILS_BOOTSTRAP
16690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
16790be798eSDimitry AndricSet to not build binutils (as, c++-filt, gconv,
16890be798eSDimitry Andricld, nm, objcopy, objdump, readelf, size and strip)
16990be798eSDimitry Andricas part of the bootstrap process.
17090be798eSDimitry Andric.Bf -symbolic
17190be798eSDimitry AndricThe option does not work for build targets unless some alternative
17290be798eSDimitry Andrictoolchain is provided.
17390be798eSDimitry Andric.Ef
1745be09b10SEd Maste.Pp
1755be09b10SEd MasteIt is a default setting on
1765be09b10SEd Mastearm64/aarch64.
17790be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH
17890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BLUETOOTH 156932 2006-03-21 07:50:50Z ru
17990be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries.
18090be798eSDimitry Andric.It Va WITHOUT_BOOT
18190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BOOT 156932 2006-03-21 07:50:50Z ru
18290be798eSDimitry AndricSet to not build the boot blocks and loader.
1830e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD
1840e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BOOTPARAMD 278192 2015-02-04 10:19:32Z ngie
1850e0e9604SEnji CooperSet to not build or install
1860e0e9604SEnji Cooper.Xr bootparamd 8 .
1870e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD
1880e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BOOTPD 278192 2015-02-04 10:19:32Z ngie
1890e0e9604SEnji CooperSet to not build or install
1900e0e9604SEnji Cooper.Xr bootpd 8 .
19193da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL
19293da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BSDINSTALL 277677 2015-01-25 04:43:13Z ngie
19393da8366SEnji CooperSet to not build
19493da8366SEnji Cooper.Xr bsdinstall 8 ,
19593da8366SEnji Cooper.Xr sade 8 ,
19693da8366SEnji Cooperand related programs.
19790be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO
19890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BSD_CPIO 179813 2008-06-16 05:48:15Z dougb
19990be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on
20090be798eSDimitry Andric.Xr libarchive 3 .
20190be798eSDimitry Andric.It Va WITH_BSD_GREP
20290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_BSD_GREP 222273 2011-05-25 01:04:12Z obrien
20390be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep.
20490be798eSDimitry Andric.It Va WITHOUT_BSNMP
20590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BSNMP 183306 2008-09-23 16:15:42Z sam
20690be798eSDimitry AndricSet to not build or install
20790be798eSDimitry Andric.Xr bsnmpd 1
20890be798eSDimitry Andricand related libraries and data files.
20990be798eSDimitry Andric.It Va WITHOUT_BZIP2
21090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2 174550 2007-12-12 16:43:17Z ru
21190be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system.
21290be798eSDimitry Andric.Bf -symbolic
21390be798eSDimitry AndricThe option has no effect yet.
21490be798eSDimitry Andric.Ef
21590be798eSDimitry AndricWhen set, it also enforces the following options:
21690be798eSDimitry Andric.Pp
21790be798eSDimitry Andric.Bl -item -compact
21890be798eSDimitry Andric.It
21990be798eSDimitry Andric.Va WITHOUT_BZIP2_SUPPORT
22090be798eSDimitry Andric.El
22190be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT
22290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2_SUPPORT 166255 2007-01-26 10:19:08Z delphij
22390be798eSDimitry AndricSet to build some programs without optional bzip2 support.
22490be798eSDimitry Andric.It Va WITHOUT_CALENDAR
22590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CALENDAR 156932 2006-03-21 07:50:50Z ru
22690be798eSDimitry AndricSet to not build
22790be798eSDimitry Andric.Xr calendar 1 .
22890be798eSDimitry Andric.It Va WITHOUT_CAPSICUM
22990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CAPSICUM 229319 2012-01-02 21:57:58Z rwatson
23090be798eSDimitry AndricSet to not build Capsicum support into system programs.
23190be798eSDimitry Andric.It Va WITHOUT_CASPER
23290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CASPER 258838 2013-12-02 08:21:28Z pjd
23390be798eSDimitry AndricSet to not build Casper program and related libraries.
2341c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD
2351c01e4f8SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_CCACHE_BUILD 290526 2015-11-08 00:50:18Z bdrewery
2361c01e4f8SBryan DrewerySet to use
2371c01e4f8SBryan Drewery.Xr ccache 1
2381c01e4f8SBryan Dreweryfor the build.
2391c01e4f8SBryan DreweryNo configuration is required except to install the
2401c01e4f8SBryan Drewery.Sy devel/ccache
2411c01e4f8SBryan Drewerypackage.
2421c01e4f8SBryan DreweryUsing with
2431c01e4f8SBryan Drewery.Xr distcc 1
2441c01e4f8SBryan Dreweryshould set
2451c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc .
2461c01e4f8SBryan DreweryThe default cache directory of
2471c01e4f8SBryan Drewery.Pa $HOME/.ccache
2481c01e4f8SBryan Drewerywill be used, which can be overridden by setting
2491c01e4f8SBryan Drewery.Sy CCACHE_DIR .
2501c01e4f8SBryan DreweryThe
2511c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK
2521c01e4f8SBryan Dreweryoption defaults to
2531c01e4f8SBryan Drewery.Sy content
2541c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler,
2551c01e4f8SBryan Dreweryand
2561c01e4f8SBryan Drewery.Sy mtime
2571c01e4f8SBryan Drewerywhen using an external compiler.
2581c01e4f8SBryan DreweryThe
2591c01e4f8SBryan Drewery.Sy CCACHE_CPP2
2601c01e4f8SBryan Dreweryoption is used for Clang but not GCC.
2611c01e4f8SBryan Dreweryccache works best when combined with the
2621c01e4f8SBryan Drewery.Sy WITH_FAST_DEPEND
2631c01e4f8SBryan Dreweryoption.
2641c01e4f8SBryan Drewery.Pp
2651c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout
2661c01e4f8SBryan Drewerysimilar to
2671c01e4f8SBryan Drewery.Pa /some/prefix/src
2681c01e4f8SBryan Drewery.Pa /some/prefix/obj
2691c01e4f8SBryan Dreweryand an environment such as:
2701c01e4f8SBryan Drewery.Bd -literal -offset indent
2711c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
2721c01e4f8SBryan Drewery.Ed
2731c01e4f8SBryan Drewery.Pp
2741c01e4f8SBryan DrewerySee
2751c01e4f8SBryan Drewery.Xr ccache 1
2761c01e4f8SBryan Dreweryfor more configuration options.
27793da8366SEnji Cooper.It Va WITHOUT_CCD
27893da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_CCD 277678 2015-01-25 04:52:48Z ngie
27993da8366SEnji CooperSet to not build
28093da8366SEnji Cooper.Xr geom_ccd 4
28193da8366SEnji Cooperand related utilities.
28290be798eSDimitry Andric.It Va WITHOUT_CDDL
28390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CDDL 163861 2006-11-01 09:02:11Z jb
28490be798eSDimitry AndricSet to not build code licensed under Sun's CDDL.
28590be798eSDimitry AndricWhen set, it also enforces the following options:
28690be798eSDimitry Andric.Pp
28790be798eSDimitry Andric.Bl -item -compact
28890be798eSDimitry Andric.It
28990be798eSDimitry Andric.Va WITHOUT_CTF
29090be798eSDimitry Andric.It
29190be798eSDimitry Andric.Va WITHOUT_ZFS
29290be798eSDimitry Andric.El
29390be798eSDimitry Andric.It Va WITHOUT_CLANG
29490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG 264660 2014-04-18 17:03:58Z imp
29590be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build.
29690be798eSDimitry Andric.Pp
29790be798eSDimitry AndricIt is a default setting on
29887964f0eSJung-uk Kimmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and sparc64/sparc64.
29990be798eSDimitry AndricWhen set, it also enforces the following options:
30090be798eSDimitry Andric.Pp
30190be798eSDimitry Andric.Bl -item -compact
30290be798eSDimitry Andric.It
30390be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
30490be798eSDimitry Andric.It
30590be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
30690be798eSDimitry Andric.El
30790be798eSDimitry Andric.It Va WITH_CLANG
30890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG 264660 2014-04-18 17:03:58Z imp
30990be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build.
31090be798eSDimitry Andric.Pp
31190be798eSDimitry AndricIt is a default setting on
3125be09b10SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
31390be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP
314a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
31590be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the bootstrap phase of the build.
316a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
317a0f6423bSEd Masteunless an alternative compiler is provided via
31890be798eSDimitry AndricXCC.
31990be798eSDimitry Andric.Pp
32090be798eSDimitry AndricIt is a default setting on
32187964f0eSJung-uk Kimmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
32290be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP
32390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
32490be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build.
32590be798eSDimitry Andric.Pp
32690be798eSDimitry AndricIt is a default setting on
3275be09b10SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
32890be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS
32990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_EXTRAS 231057 2012-02-05 23:56:22Z dim
33090be798eSDimitry AndricSet to build additional clang and llvm tools, such as bugpoint.
33190be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL
33290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_FULL 246259 2013-02-02 22:28:29Z dim
33390be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
33490be798eSDimitry Andricthe Clang C/C++ compiler.
33590be798eSDimitry Andric.Pp
33690be798eSDimitry AndricIt is a default setting on
33716f3fdf5SMark Johnstonmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and sparc64/sparc64.
33890be798eSDimitry Andric.It Va WITH_CLANG_FULL
33990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_FULL 246259 2013-02-02 22:28:29Z dim
34090be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
34190be798eSDimitry AndricClang C/C++ compiler.
34290be798eSDimitry Andric.Pp
34390be798eSDimitry AndricIt is a default setting on
34416f3fdf5SMark Johnstonamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
34590be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC
34690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_IS_CC 242629 2012-11-05 21:53:23Z brooks
34790be798eSDimitry AndricSet to install the GCC compiler as
34890be798eSDimitry Andric.Pa /usr/bin/cc ,
34990be798eSDimitry Andric.Pa /usr/bin/c++
35090be798eSDimitry Andricand
35190be798eSDimitry Andric.Pa /usr/bin/cpp .
35290be798eSDimitry Andric.Pp
35390be798eSDimitry AndricIt is a default setting on
35487964f0eSJung-uk Kimmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
35590be798eSDimitry Andric.It Va WITH_CLANG_IS_CC
35690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_IS_CC 235342 2012-05-12 16:12:36Z gjb
35790be798eSDimitry AndricSet to install the Clang C/C++ 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
36390be798eSDimitry AndricIt is a default setting on
3645be09b10SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
36590be798eSDimitry Andric.It Va WITHOUT_CPP
36690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CPP 156932 2006-03-21 07:50:50Z ru
36790be798eSDimitry AndricSet to not build
36890be798eSDimitry Andric.Xr cpp 1 .
36990be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER
370c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_CROSS_COMPILER 275138 2014-11-26 20:43:09Z gjb
37190be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld.
37290be798eSDimitry AndricIf you are compiling a different version of
37390be798eSDimitry Andric.Fx
37490be798eSDimitry Andricthan what is installed on the system, you will need to provide an alternate
37590be798eSDimitry Andriccompiler with XCC to ensure success.
37690be798eSDimitry AndricIf you are compiling with an identical version of
37790be798eSDimitry Andric.Fx
37890be798eSDimitry Andricto the host, this option may be safely used.
37990be798eSDimitry AndricThis option may also be safe when the host version of
38090be798eSDimitry Andric.Fx
38190be798eSDimitry Andricis close to the sources being built, but all bets are off if there have
38290be798eSDimitry Andricbeen any changes to the toolchain between the versions.
38390be798eSDimitry AndricWhen set, it also enforces the following options:
38490be798eSDimitry Andric.Pp
38590be798eSDimitry Andric.Bl -item -compact
38690be798eSDimitry Andric.It
38790be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP
38890be798eSDimitry Andric.It
38990be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP
39090be798eSDimitry Andric.It
391f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
392f972b8a4SBryan Drewery.It
39390be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP
39490be798eSDimitry Andric.El
39590be798eSDimitry Andric.It Va WITHOUT_CRYPT
39690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CRYPT 156932 2006-03-21 07:50:50Z ru
39790be798eSDimitry AndricSet to not build any crypto code.
39890be798eSDimitry AndricWhen set, it also enforces the following options:
39990be798eSDimitry Andric.Pp
40090be798eSDimitry Andric.Bl -item -compact
40190be798eSDimitry Andric.It
40290be798eSDimitry Andric.Va WITHOUT_KERBEROS
40390be798eSDimitry Andric.It
40490be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
40590be798eSDimitry Andric.It
40690be798eSDimitry Andric.Va WITHOUT_OPENSSH
40790be798eSDimitry Andric.It
40890be798eSDimitry Andric.Va WITHOUT_OPENSSL
40990be798eSDimitry Andric.El
41090be798eSDimitry Andric.Pp
41190be798eSDimitry AndricWhen set, the following options are also in effect:
41290be798eSDimitry Andric.Pp
41390be798eSDimitry Andric.Bl -inset -compact
41490be798eSDimitry Andric.It Va WITHOUT_GSSAPI
41590be798eSDimitry Andric(unless
41690be798eSDimitry Andric.Va WITH_GSSAPI
41790be798eSDimitry Andricis set explicitly)
41890be798eSDimitry Andric.El
41990be798eSDimitry Andric.It Va WITH_CTF
42090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CTF 228159 2011-11-30 18:22:44Z fjoe
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 Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CTM 183242 2008-09-21 22:02:26Z sam
42690be798eSDimitry AndricSet to not build
42790be798eSDimitry Andric.Xr ctm 1
42890be798eSDimitry Andricand related utilities.
42954d8c5d5SBryan Drewery.It Va WITHOUT_CUSE
43054d8c5d5SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_CUSE 270171 2014-08-19 15:40:26Z hselasky
43154d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries.
43290be798eSDimitry Andric.It Va WITHOUT_CXX
4334a62dc3aSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_CXX 281053 2015-04-03 23:55:04Z bdrewery
43490be798eSDimitry AndricSet to not build
4354a62dc3aSBryan Drewery.Xr c++ 1
43690be798eSDimitry Andricand related libraries.
43790be798eSDimitry AndricIt will also prevent building of
43890be798eSDimitry Andric.Xr gperf 1
43990be798eSDimitry Andricand
44090be798eSDimitry Andric.Xr devd 8 .
44190be798eSDimitry AndricWhen set, it also enforces the following options:
44290be798eSDimitry Andric.Pp
44390be798eSDimitry Andric.Bl -item -compact
44490be798eSDimitry Andric.It
44590be798eSDimitry Andric.Va WITHOUT_CLANG
44690be798eSDimitry Andric.It
44790be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
44890be798eSDimitry Andric.It
44990be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
45090be798eSDimitry Andric.It
45118c6fc4cSJulio Merino.Va WITHOUT_GNUCXX
45218c6fc4cSJulio Merino.It
45390be798eSDimitry Andric.Va WITHOUT_GROFF
45490be798eSDimitry Andric.El
45590be798eSDimitry Andric.It Va WITH_DEBUG_FILES
45690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_DEBUG_FILES 251512 2013-06-07 21:40:02Z emaste
45790be798eSDimitry AndricSet to strip debug info into a separate file for each executable binary
45890be798eSDimitry Andricand shared library.
45990be798eSDimitry AndricThe debug files will be placed in a subdirectory of
46090be798eSDimitry Andric.Pa /usr/lib/debug
46190be798eSDimitry Andricand are located automatically by
46290be798eSDimitry Andric.Xr gdb 1 .
46390be798eSDimitry Andric.It Va WITHOUT_DICT
46490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DICT 156932 2006-03-21 07:50:50Z ru
46590be798eSDimitry AndricSet to not build the Webster dictionary files.
46632b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD
46732b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_DIRDEPS_BUILD 290816 2015-11-14 03:24:48Z sjg
46832b5dc9aSSimon J. GerratyEnable building in meta mode.
46932b5dc9aSSimon J. GerratyThis is an experimental build feature.
47032b5dc9aSSimon J. GerratyFor details see
47132b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
47232b5dc9aSSimon J. Gerraty.Pp
47332b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using
47432b5dc9aSSimon J. Gerraty.Va DIRDEPS
47532b5dc9aSSimon J. Gerratystored in
47632b5dc9aSSimon J. GerratyMakefile.depend files found in each directory.
47732b5dc9aSSimon J. Gerraty.Pp
47832b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same.
47932b5dc9aSSimon J. GerratyThe initial instance of
48032b5dc9aSSimon J. Gerraty.Xr make 1
48132b5dc9aSSimon J. Gerratyrecursively reads
48232b5dc9aSSimon J. Gerraty.Va DIRDEPS
48332b5dc9aSSimon J. Gerratyfrom Makefile.depend
48432b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin.
48532b5dc9aSSimon J. GerratySetting
48632b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS
48732b5dc9aSSimon J. Gerratywill skip checking dirdep dependencies and will only build in the current
48832b5dc9aSSimon J. Gerratydirectory.
48932b5dc9aSSimon J. Gerraty.Pp
49032b5dc9aSSimon J. GerratyAs each target is made
49132b5dc9aSSimon J. Gerraty.Xr make 1
49232b5dc9aSSimon J. Gerratyproduces a meta file which is used to capture (and compare)
49332b5dc9aSSimon J. Gerratythe command line,
49432b5dc9aSSimon J. Gerratyas well as any command output.
49532b5dc9aSSimon J. GerratyIf
49632b5dc9aSSimon J. Gerraty.Xr filemon 4
49732b5dc9aSSimon J. Gerratyis available the meta file will also capture a record of files
49832b5dc9aSSimon J. Gerratyused to produce the target by tracking syscalls.
49932b5dc9aSSimon J. Gerraty.Pp
50032b5dc9aSSimon J. GerratyThe build will hide commands ran unless
50132b5dc9aSSimon J. Gerraty.Va NO_SILENT
50232b5dc9aSSimon J. Gerratyis defined.
50332b5dc9aSSimon J. Gerraty.Pp
50432b5dc9aSSimon J. GerratyWhen set, it also enforces the following options:
50532b5dc9aSSimon J. Gerraty.Pp
50632b5dc9aSSimon J. Gerraty.Bl -item -compact
50732b5dc9aSSimon J. Gerraty.It
50832b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER
50932b5dc9aSSimon J. Gerraty.El
51032b5dc9aSSimon J. Gerraty.Pp
51132b5dc9aSSimon J. GerratyWhen set, the following options are also in effect:
51232b5dc9aSSimon J. Gerraty.Pp
51332b5dc9aSSimon J. Gerraty.Bl -inset -compact
51432b5dc9aSSimon J. Gerraty.It Va WITH_AUTO_OBJ
51532b5dc9aSSimon J. Gerraty(unless
51632b5dc9aSSimon J. Gerraty.Va WITHOUT_AUTO_OBJ
51732b5dc9aSSimon J. Gerratyis set explicitly)
518*26b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE
519*26b79d5bSHajimu UMEMOTO(unless
520*26b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE
521*26b79d5bSHajimu UMEMOTOis set explicitly)
52232b5dc9aSSimon J. Gerraty.It Va WITH_STAGING
52332b5dc9aSSimon J. Gerraty(unless
52432b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING
52532b5dc9aSSimon J. Gerratyis set explicitly)
52632b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN
52732b5dc9aSSimon J. Gerraty(unless
52832b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN
52932b5dc9aSSimon J. Gerratyis set explicitly)
53032b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG
53132b5dc9aSSimon J. Gerraty(unless
53232b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG
53332b5dc9aSSimon J. Gerratyis set explicitly)
53432b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT
53532b5dc9aSSimon J. Gerraty(unless
53632b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT
53732b5dc9aSSimon J. Gerratyis set explicitly)
53832b5dc9aSSimon J. Gerraty.El
53932b5dc9aSSimon J. Gerraty.Pp
54032b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or
54132b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf ,
54232b5dc9aSSimon J. Gerratynot
54332b5dc9aSSimon J. Gerraty.Pa /etc/src.conf .
544cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE
54532b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_DIRDEPS_CACHE 290816 2015-11-14 03:24:48Z sjg
546cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time
547cc2520d2SSimon J. Gerratyfor subsequent builds.
548cc2520d2SSimon J. GerratyDepends on
54932b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
5500a70ef02SBryan Drewery.Pp
551ba852870SBryan DreweryThis must be set in the environment, make command line, or
5520a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
5530a70ef02SBryan Drewerynot
5540a70ef02SBryan Drewery.Pa /etc/src.conf .
55590be798eSDimitry Andric.It Va WITHOUT_DMAGENT
55690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DMAGENT 262335 2014-02-22 13:05:23Z bapt
55790be798eSDimitry AndricSet to not build dma Mail Transport Agent
55890be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS
55990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DOCCOMPRESS 266752 2014-05-27 15:52:27Z gjb
56090be798eSDimitry AndricSet to not to install compressed system documentation.
56190be798eSDimitry AndricOnly the uncompressed version will be installed.
56216f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS
56316f3fdf5SMark Johnston.\" from FreeBSD: head/tools/build/options/WITH_DTRACE_TESTS 286174 2015-08-02 00:37:33Z markj
56416f3fdf5SMark JohnstonSet to build and install the DTrace test suite in
56516f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace .
56616f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than
56716f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability.
56890be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT
56990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DYNAMICROOT 156932 2006-03-21 07:50:50Z ru
57090be798eSDimitry AndricSet this if you do not want to link
57190be798eSDimitry Andric.Pa /bin
57290be798eSDimitry Andricand
57390be798eSDimitry Andric.Pa /sbin
57490be798eSDimitry Andricdynamically.
57590be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO
57690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ED_CRYPTO 235660 2012-05-19 20:05:27Z marcel
57790be798eSDimitry AndricSet to build
57890be798eSDimitry Andric.Xr ed 1
57990be798eSDimitry Andricwithout support for encryption/decryption.
58093da8366SEnji Cooper.It Va WITHOUT_EE
58193da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_EE 277663 2015-01-25 00:03:44Z ngie
58293da8366SEnji CooperSet to not build and install
58393da8366SEnji Cooper.Xr edit 1 ,
58493da8366SEnji Cooper.Xr ee 1 ,
58593da8366SEnji Cooperand related programs.
58690be798eSDimitry Andric.It Va WITH_EISA
58790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_EISA 264654 2014-04-18 16:53:06Z imp
58890be798eSDimitry AndricSet to build EISA kernel modules.
5895be09b10SEd Maste.It Va WITHOUT_ELFCOPY_AS_OBJCOPY
5905be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_ELFCOPY_AS_OBJCOPY 286030 2015-07-29 18:45:38Z emaste
5915be09b10SEd MasteSet to build and install
5925be09b10SEd Maste.Xr objcopy 1
5935be09b10SEd Mastefrom GNU Binutils, instead of the one from ELF Tool Chain.
5945be09b10SEd Maste.Pp
5955be09b10SEd MasteIt is a default setting on
5965be09b10SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
5975be09b10SEd Maste.It Va WITH_ELFCOPY_AS_OBJCOPY
5985be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_ELFCOPY_AS_OBJCOPY 286030 2015-07-29 18:45:38Z emaste
5995be09b10SEd MasteSet to build and install ELF Tool Chain's elfcopy as
6005be09b10SEd Maste.Xr objcopy 1 ,
6015be09b10SEd Masteinstead of the one from GNU Binutils.
6025be09b10SEd Maste.Pp
6035be09b10SEd MasteIt is a default setting on
6045be09b10SEd Mastearm64/aarch64.
60590be798eSDimitry Andric.It Va WITHOUT_EXAMPLES
60690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 09:06:24Z ru
60790be798eSDimitry AndricSet to avoid installing examples to
60890be798eSDimitry Andric.Pa /usr/share/examples/ .
609e85d791cSBryan Drewery.It Va WITH_FAST_DEPEND
610e85d791cSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_FAST_DEPEND 290433 2015-11-06 04:45:29Z bdrewery
611e85d791cSBryan DrewerySet to generate
612e85d791cSBryan Drewery.Sy .depend
613e85d791cSBryan Dreweryfiles in the build during compilation instead of the
614e85d791cSBryan Dreweryhistorial
615e85d791cSBryan Drewery.Xr mkdep 1
616e85d791cSBryan Drewerycall during the "make depend" phase.
61790be798eSDimitry Andric.It Va WITHOUT_FDT
61890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FDT 221539 2011-05-06 19:10:27Z ru
61990be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system.
62090be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library.
6210e0e9604SEnji Cooper.It Va WITHOUT_FILE
6220e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FILE 278193 2015-02-04 10:24:40Z ngie
6230e0e9604SEnji CooperSet to not build
6240e0e9604SEnji Cooper.Xr file 1
6250e0e9604SEnji Cooperand related programs.
6260e0e9604SEnji Cooper.It Va WITHOUT_FINGER
6270e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FINGER 278192 2015-02-04 10:19:32Z ngie
6280e0e9604SEnji CooperSet to not build or install
6290e0e9604SEnji Cooper.Xr finger 1
6300e0e9604SEnji Cooperand
6310e0e9604SEnji Cooper.Xr fingerd 8 .
63290be798eSDimitry Andric.It Va WITHOUT_FLOPPY
63390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FLOPPY 221540 2011-05-06 19:13:03Z ru
63490be798eSDimitry AndricSet to not build or install programs
63590be798eSDimitry Andricfor operating floppy disk driver.
63690be798eSDimitry Andric.It Va WITHOUT_FMTREE
63790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FMTREE 261299 2014-01-30 21:37:43Z brooks
63890be798eSDimitry AndricSet to not build and install
63990be798eSDimitry Andric.Pa /usr/sbin/fmtree .
640a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS
641a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_FORMAT_EXTENSIONS 250658 2013-05-15 13:04:10Z brooks
642a0f6423bSEd MasteSet to not enable
643a0f6423bSEd Maste.Fl fformat-extensions
644a0f6423bSEd Mastewhen compiling the kernel.
645a0f6423bSEd MasteAlso disables all format checking.
64690be798eSDimitry Andric.It Va WITHOUT_FORTH
64790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FORTH 156932 2006-03-21 07:50:50Z ru
64890be798eSDimitry AndricSet to build bootloaders without Forth support.
64990be798eSDimitry Andric.It Va WITHOUT_FP_LIBC
65090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FP_LIBC 156932 2006-03-21 07:50:50Z ru
65190be798eSDimitry AndricSet to build
65290be798eSDimitry Andric.Nm libc
65390be798eSDimitry Andricwithout floating-point support.
65490be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE
65590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FREEBSD_UPDATE 183242 2008-09-21 22:02:26Z sam
65690be798eSDimitry AndricSet to not build
65790be798eSDimitry Andric.Xr freebsd-update 8 .
6580e0e9604SEnji Cooper.It Va WITHOUT_FTP
6590e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FTP 278192 2015-02-04 10:19:32Z ngie
6600e0e9604SEnji CooperSet to not build or install
6610e0e9604SEnji Cooper.Xr ftp 1
6620e0e9604SEnji Cooperand
6630e0e9604SEnji Cooper.Xr ftpd 8 .
66490be798eSDimitry Andric.It Va WITHOUT_GAMES
66590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GAMES 156932 2006-03-21 07:50:50Z ru
66690be798eSDimitry AndricSet to not build games.
66790be798eSDimitry Andric.It Va WITHOUT_GCC
66890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC 264660 2014-04-18 17:03:58Z imp
66990be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process.
67090be798eSDimitry Andric.Pp
67190be798eSDimitry AndricIt is a default setting on
6725be09b10SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
67390be798eSDimitry Andric.It Va WITH_GCC
67490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GCC 255326 2013-09-06 20:49:48Z zeising
67590be798eSDimitry AndricSet to build and install gcc and g++.
67690be798eSDimitry Andric.Pp
67790be798eSDimitry AndricIt is a default setting on
67887964f0eSJung-uk Kimmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
67990be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP
680a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
68190be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process.
682a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
683a0f6423bSEd Masteunless an alternative compiler is provided via
68490be798eSDimitry AndricXCC.
68590be798eSDimitry Andric.Pp
68690be798eSDimitry AndricIt is a default setting on
6875be09b10SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
68890be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP
68990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GCC_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
69090be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process.
69190be798eSDimitry Andric.Pp
69290be798eSDimitry AndricIt is a default setting on
69387964f0eSJung-uk Kimmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
69490be798eSDimitry Andric.It Va WITHOUT_GCOV
69590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GCOV 156932 2006-03-21 07:50:50Z ru
69690be798eSDimitry AndricSet to not build the
69790be798eSDimitry Andric.Xr gcov 1
69890be798eSDimitry Andrictool.
69990be798eSDimitry Andric.It Va WITHOUT_GDB
70090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GDB 156932 2006-03-21 07:50:50Z ru
70190be798eSDimitry AndricSet to not build
70290be798eSDimitry Andric.Xr gdb 1 .
7035be09b10SEd Maste.Pp
7045be09b10SEd MasteIt is a default setting on
7055be09b10SEd Mastearm64/aarch64.
70690be798eSDimitry Andric.It Va WITHOUT_GNU
70790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU 174550 2007-12-12 16:43:17Z ru
70890be798eSDimitry AndricSet to not build contributed GNU software as a part of the base system.
70990be798eSDimitry AndricThis option can be useful if the system built must not contain any code
71090be798eSDimitry Andriccovered by the GNU Public License due to legal reasons.
71190be798eSDimitry Andric.Bf -symbolic
71290be798eSDimitry AndricThe option has no effect yet.
71390be798eSDimitry Andric.Ef
71490be798eSDimitry AndricWhen set, it also enforces the following options:
71590be798eSDimitry Andric.Pp
71690be798eSDimitry Andric.Bl -item -compact
71790be798eSDimitry Andric.It
71890be798eSDimitry Andric.Va WITHOUT_GNU_SUPPORT
71990be798eSDimitry Andric.El
72090be798eSDimitry Andric.It Va WITHOUT_GNUCXX
72190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNUCXX 255321 2013-09-06 20:08:03Z theraven
72290be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++).
72390be798eSDimitry AndricThis is the default on platforms where clang is the system compiler.
72490be798eSDimitry Andric.Pp
72590be798eSDimitry AndricIt is a default setting on
7265be09b10SEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
72790be798eSDimitry Andric.It Va WITH_GNUCXX
72890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GNUCXX 255321 2013-09-06 20:08:03Z theraven
72990be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++).
73090be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler.
73190be798eSDimitry Andric.Pp
73290be798eSDimitry AndricIt is a default setting on
73387964f0eSJung-uk Kimmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
73490be798eSDimitry Andric.It Va WITHOUT_GNU_GREP_COMPAT
735c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT 273421 2014-10-21 20:44:33Z emaste
736c5d09a87SGlen BarberSet this option to omit the gnu extensions to grep from being included in
73790be798eSDimitry AndricBSD grep.
73890be798eSDimitry Andric.It Va WITHOUT_GNU_SUPPORT
73990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_SUPPORT 156932 2006-03-21 07:50:50Z ru
74090be798eSDimitry AndricSet to build some programs without optional GNU support.
74190be798eSDimitry Andric.It Va WITHOUT_GPIO
74290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GPIO 228081 2011-11-28 17:54:34Z dim
74390be798eSDimitry AndricSet to not build
74490be798eSDimitry Andric.Xr gpioctl 8
74590be798eSDimitry Andricas part of the base system.
74690be798eSDimitry Andric.It Va WITHOUT_GPL_DTC
74790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GPL_DTC 264515 2014-04-15 20:41:55Z imp
74890be798eSDimitry AndricSet to build the BSD licensed version of the device tree compiler, instead of the
74990be798eSDimitry AndricGPL'd one from elinux.org.
75090be798eSDimitry Andric.It Va WITHOUT_GROFF
75190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs
75290be798eSDimitry AndricSet to not build
75390be798eSDimitry Andric.Xr groff 1
75490be798eSDimitry Andricand
75590be798eSDimitry Andric.Xr vgrind 1 .
75690be798eSDimitry AndricYou should consider installing the textproc/groff port to not break
75790be798eSDimitry Andric.Xr man 1 .
75890be798eSDimitry Andric.It Va WITHOUT_GSSAPI
75990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GSSAPI 174548 2007-12-12 16:39:32Z ru
76090be798eSDimitry AndricSet to not build libgssapi.
76161940879SEnji Cooper.It Va WITHOUT_HAST
76261940879SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_HAST 277725 2015-01-26 06:27:07Z ngie
76361940879SEnji CooperSet to not build
76461940879SEnji Cooper.Xr hastd 8
76561940879SEnji Cooperand related utilities.
76690be798eSDimitry Andric.It Va WITH_HESIOD
76790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_HESIOD 156932 2006-03-21 07:50:50Z ru
76890be798eSDimitry AndricSet to build Hesiod support.
76990be798eSDimitry Andric.It Va WITHOUT_HTML
77090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_HTML 156932 2006-03-21 07:50:50Z ru
77190be798eSDimitry AndricSet to not build HTML docs.
7722c4b4abcSXin LI.It Va WITHOUT_HYPERV
7732c4b4abcSXin LI.\" from FreeBSD: head/tools/build/options/WITHOUT_HYPERV 271493 2014-09-13 02:15:31Z delphij
7742c4b4abcSXin LISet to not build or install HyperV utilities.
77590be798eSDimitry Andric.It Va WITHOUT_ICONV
77690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ICONV 254919 2013-08-26 17:15:56Z antoine
77790be798eSDimitry AndricSet to not build iconv as part of libc.
778c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES
779c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_INCLUDES 275138 2014-11-26 20:43:09Z gjb
780c5d09a87SGlen BarberSet to not install header files.
781c5d09a87SGlen BarberThis option used to be spelled
782c5d09a87SGlen Barber.Va NO_INCS .
783c5d09a87SGlen Barber.Bf -symbolic
784c5d09a87SGlen BarberThe option does not work for build targets.
785c5d09a87SGlen Barber.Ef
78690be798eSDimitry Andric.It Va WITHOUT_INET
78790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET 221266 2011-04-30 17:58:28Z bz
78890be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking.
78990be798eSDimitry AndricWhen set, it also enforces the following options:
79090be798eSDimitry Andric.Pp
79190be798eSDimitry Andric.Bl -item -compact
79290be798eSDimitry Andric.It
79390be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT
79490be798eSDimitry Andric.El
79590be798eSDimitry Andric.It Va WITHOUT_INET6
79690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6 156932 2006-03-21 07:50:50Z ru
79790be798eSDimitry AndricSet to not build
79890be798eSDimitry Andricprograms and libraries related to IPv6 networking.
79990be798eSDimitry AndricWhen set, it also enforces the following options:
80090be798eSDimitry Andric.Pp
80190be798eSDimitry Andric.Bl -item -compact
80290be798eSDimitry Andric.It
80390be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT
80490be798eSDimitry Andric.El
80590be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT
80690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6_SUPPORT 156932 2006-03-21 07:50:50Z ru
80790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support.
8080e0e9604SEnji Cooper.It Va WITHOUT_INETD
8090e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_INETD 278192 2015-02-04 10:19:32Z ngie
8100e0e9604SEnji CooperSet to not build
8110e0e9604SEnji Cooper.Xr inetd 8 .
81290be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT
81390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET_SUPPORT 221266 2011-04-30 17:58:28Z bz
81490be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support.
81590be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB
81690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INSTALLLIB 174497 2007-12-09 21:56:21Z dougb
81790be798eSDimitry AndricSet this if you do not want to install optional libraries.
81890be798eSDimitry AndricFor example when creating a
81990be798eSDimitry Andric.Xr nanobsd 8
82090be798eSDimitry Andricimage.
82190be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER
82290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_INSTALL_AS_USER 238021 2012-07-02 20:24:01Z marcel
82390be798eSDimitry AndricSet to make install targets succeed for non-root users by installing
82490be798eSDimitry Andricfiles with owner and group attributes set to that of the user running
82590be798eSDimitry Andricthe
82690be798eSDimitry Andric.Xr make 1
82790be798eSDimitry Andriccommand.
82890be798eSDimitry AndricThe user still has to set the
82990be798eSDimitry Andric.Va DESTDIR
83090be798eSDimitry Andricvariable to point to a directory where the user has write permissions.
83190be798eSDimitry Andric.It Va WITHOUT_IPFILTER
83290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFILTER 156932 2006-03-21 07:50:50Z ru
83390be798eSDimitry AndricSet to not build IP Filter package.
83490be798eSDimitry Andric.It Va WITHOUT_IPFW
83590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFW 183242 2008-09-21 22:02:26Z sam
83690be798eSDimitry AndricSet to not build IPFW tools.
83793da8366SEnji Cooper.It Va WITHOUT_ISCSI
83893da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_ISCSI 277675 2015-01-25 04:20:11Z ngie
83993da8366SEnji CooperSet to not build
84093da8366SEnji Cooper.Xr iscid 8
84193da8366SEnji Cooperand related utilities.
84290be798eSDimitry Andric.It Va WITHOUT_JAIL
84390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_JAIL 249966 2013-04-27 04:09:09Z eadler
84490be798eSDimitry AndricSet to not build tools for the support of jails; e.g.,
84590be798eSDimitry Andric.Xr jail 8 .
84690be798eSDimitry Andric.It Va WITHOUT_KDUMP
84790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KDUMP 240690 2012-09-19 11:38:37Z zeising
84890be798eSDimitry AndricSet to not build
84990be798eSDimitry Andric.Xr kdump 1
85090be798eSDimitry Andricand
85190be798eSDimitry Andric.Xr truss 1 .
85290be798eSDimitry Andric.It Va WITHOUT_KERBEROS
85390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS 174549 2007-12-12 16:42:03Z ru
85490be798eSDimitry AndricSet this if you do not want to build Kerberos 5 (KTH Heimdal).
85590be798eSDimitry AndricWhen set, it also enforces the following options:
85690be798eSDimitry Andric.Pp
85790be798eSDimitry Andric.Bl -item -compact
85890be798eSDimitry Andric.It
85990be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
86090be798eSDimitry Andric.El
86190be798eSDimitry Andric.Pp
86290be798eSDimitry AndricWhen set, the following options are also in effect:
86390be798eSDimitry Andric.Pp
86490be798eSDimitry Andric.Bl -inset -compact
86590be798eSDimitry Andric.It Va WITHOUT_GSSAPI
86690be798eSDimitry Andric(unless
86790be798eSDimitry Andric.Va WITH_GSSAPI
86890be798eSDimitry Andricis set explicitly)
86990be798eSDimitry Andric.El
87090be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT
87190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS_SUPPORT 251794 2013-06-15 20:29:07Z eadler
87290be798eSDimitry AndricSet to build some programs without Kerberos support, like
87390be798eSDimitry Andric.Xr ssh 1 ,
87490be798eSDimitry Andric.Xr telnet 1 ,
87590be798eSDimitry Andric.Xr sshd 8 ,
87690be798eSDimitry Andricand
87790be798eSDimitry Andric.Xr telnetd 8 .
878a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS
879a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS 222189 2011-05-22 18:23:17Z imp
880a0f6423bSEd MasteSet to not install kernel symbol files.
881a0f6423bSEd Maste.Bf -symbolic
882a0f6423bSEd MasteThis option is recommended for those people who have small root partitions.
883a0f6423bSEd Maste.Ef
88490be798eSDimitry Andric.It Va WITHOUT_KVM
88590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM 174550 2007-12-12 16:43:17Z ru
88690be798eSDimitry AndricSet to not build the
88790be798eSDimitry Andric.Nm libkvm
88890be798eSDimitry Andriclibrary as a part of the base system.
88990be798eSDimitry Andric.Bf -symbolic
89090be798eSDimitry AndricThe option has no effect yet.
89190be798eSDimitry Andric.Ef
89290be798eSDimitry AndricWhen set, it also enforces the following options:
89390be798eSDimitry Andric.Pp
89490be798eSDimitry Andric.Bl -item -compact
89590be798eSDimitry Andric.It
89690be798eSDimitry Andric.Va WITHOUT_KVM_SUPPORT
89790be798eSDimitry Andric.El
89890be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT
89990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM_SUPPORT 170644 2007-06-13 02:08:04Z sepotvin
90090be798eSDimitry AndricSet to build some programs without optional
90190be798eSDimitry Andric.Nm libkvm
90290be798eSDimitry Andricsupport.
90390be798eSDimitry Andric.It Va WITHOUT_LDNS
90490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS 255591 2013-09-15 13:11:13Z des
90590be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built.
90690be798eSDimitry AndricWhen set, it also enforces the following options:
90790be798eSDimitry Andric.Pp
90890be798eSDimitry Andric.Bl -item -compact
90990be798eSDimitry Andric.It
91090be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS
91190be798eSDimitry Andric.It
91290be798eSDimitry Andric.Va WITHOUT_UNBOUND
91390be798eSDimitry Andric.El
91490be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS
91590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS_UTILS 255850 2013-09-24 14:33:31Z des
91690be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities
91790be798eSDimitry Andric.Xr drill 1
91890be798eSDimitry Andricand
91990be798eSDimitry Andric.Xr host 1 .
92090be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE
92190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LEGACY_CONSOLE 249966 2013-04-27 04:09:09Z eadler
92290be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g.,
92390be798eSDimitry Andric.Xr kbdcontrol 8
92490be798eSDimitry Andricand
92590be798eSDimitry Andric.Xr vidcontrol 8 .
92690be798eSDimitry Andric.It Va WITHOUT_LIB32
927c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_LIB32 274664 2014-11-18 17:06:48Z imp
928c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a
92990be798eSDimitry Andric.Nm ld-elf32.so.1
93090be798eSDimitry Andricruntime linker.
93190be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS
93290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBCPLUSPLUS 246262 2013-02-02 22:42:46Z dim
93390be798eSDimitry AndricSet to avoid building libcxxrt and libc++.
93490be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD
93590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 188848 2009-02-20 11:09:55Z mtm
93690be798eSDimitry AndricSet to not build the
93790be798eSDimitry Andric.Nm libpthread
93890be798eSDimitry Andricproviding library,
93990be798eSDimitry Andric.Nm libthr .
94090be798eSDimitry AndricWhen set, it also enforces the following options:
94190be798eSDimitry Andric.Pp
94290be798eSDimitry Andric.Bl -item -compact
94390be798eSDimitry Andric.It
94490be798eSDimitry Andric.Va WITHOUT_LIBTHR
94590be798eSDimitry Andric.El
94690be798eSDimitry Andric.It Va WITHOUT_LIBTHR
94790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBTHR 156932 2006-03-21 07:50:50Z ru
94890be798eSDimitry AndricSet to not build the
94990be798eSDimitry Andric.Nm libthr
95090be798eSDimitry Andric(1:1 threading)
95190be798eSDimitry Andriclibrary.
95290be798eSDimitry Andric.It Va WITH_LLDB
95390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_LLDB 255722 2013-09-20 01:52:02Z emaste
95490be798eSDimitry AndricSet to build the LLDB debugger.
95590be798eSDimitry Andric.It Va WITHOUT_LOCALES
95690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCALES 156932 2006-03-21 07:50:50Z ru
95790be798eSDimitry AndricSet to not build localization files; see
95890be798eSDimitry Andric.Xr locale 1 .
95990be798eSDimitry Andric.It Va WITHOUT_LOCATE
96090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCATE 183242 2008-09-21 22:02:26Z sam
96190be798eSDimitry AndricSet to not build
96290be798eSDimitry Andric.Xr locate 1
96390be798eSDimitry Andricand related programs.
96490be798eSDimitry Andric.It Va WITHOUT_LPR
96590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LPR 156932 2006-03-21 07:50:50Z ru
96690be798eSDimitry AndricSet to not build
96790be798eSDimitry Andric.Xr lpr 1
96890be798eSDimitry Andricand related programs.
96990be798eSDimitry Andric.It Va WITHOUT_LS_COLORS
97090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LS_COLORS 235660 2012-05-19 20:05:27Z marcel
97190be798eSDimitry AndricSet to build
97290be798eSDimitry Andric.Xr ls 1
97390be798eSDimitry Andricwithout support for colors to distinguish file types.
97490be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT
97590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LZMA_SUPPORT 245171 2013-01-08 18:37:12Z obrien
97690be798eSDimitry AndricSet to build some programs without optional lzma compression support.
97790be798eSDimitry Andric.It Va WITHOUT_MAIL
97890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAIL 183242 2008-09-21 22:02:26Z sam
97990be798eSDimitry AndricSet to not build any mail support (MUA or MTA).
98090be798eSDimitry AndricWhen set, it also enforces the following options:
98190be798eSDimitry Andric.Pp
98290be798eSDimitry Andric.Bl -item -compact
98390be798eSDimitry Andric.It
98490be798eSDimitry Andric.Va WITHOUT_DMAGENT
98590be798eSDimitry Andric.It
98690be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER
98790be798eSDimitry Andric.It
98890be798eSDimitry Andric.Va WITHOUT_SENDMAIL
98990be798eSDimitry Andric.El
99090be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER
99190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAILWRAPPER 156932 2006-03-21 07:50:50Z ru
99290be798eSDimitry AndricSet to not build the
99390be798eSDimitry Andric.Xr mailwrapper 8
99490be798eSDimitry AndricMTA selector.
99590be798eSDimitry Andric.It Va WITHOUT_MAKE
99690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAKE 183242 2008-09-21 22:02:26Z sam
99790be798eSDimitry AndricSet to not install
99890be798eSDimitry Andric.Xr make 1
99990be798eSDimitry Andricand related support files.
100090be798eSDimitry Andric.It Va WITHOUT_MAN
100190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN 156932 2006-03-21 07:50:50Z ru
100290be798eSDimitry AndricSet to not build manual pages.
100390be798eSDimitry AndricWhen set, the following options are also in effect:
100490be798eSDimitry Andric.Pp
100590be798eSDimitry Andric.Bl -inset -compact
100690be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
100790be798eSDimitry Andric(unless
100890be798eSDimitry Andric.Va WITH_MAN_UTILS
100990be798eSDimitry Andricis set explicitly)
101090be798eSDimitry Andric.El
101190be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS
101290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MANCOMPRESS 266752 2014-05-27 15:52:27Z gjb
101390be798eSDimitry AndricSet to not to install compressed man pages.
101490be798eSDimitry AndricOnly the uncompressed versions will be installed.
101588546663SBaptiste Daroussin.It Va WITHOUT_MANDOCDB
101688546663SBaptiste Daroussin.\" from FreeBSD: head/tools/build/options/WITHOUT_MANDOCDB 283777 2015-05-30 17:41:37Z bapt
101788546663SBaptiste DaroussinUse the
101888546663SBaptiste Daroussin.Xr mandoc 1
101988546663SBaptiste Daroussinversion of
102088546663SBaptiste Daroussin.Xr makewhatis 8
102188546663SBaptiste Daroussindatabase and utilities.
102290be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
102390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN_UTILS 208322 2010-05-20 00:07:21Z jkim
102490be798eSDimitry AndricSet to not build utilities for manual pages,
102590be798eSDimitry Andric.Xr apropos 1 ,
102690be798eSDimitry Andric.Xr catman 1 ,
102790be798eSDimitry Andric.Xr makewhatis 1 ,
102890be798eSDimitry Andric.Xr man 1 ,
102990be798eSDimitry Andric.Xr whatis 1 ,
103090be798eSDimitry Andric.Xr manctl 8 ,
103190be798eSDimitry Andricand related support files.
1032cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE
103332b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_META_MODE 290816 2015-11-14 03:24:48Z sjg
103432b5dc9aSSimon J. GerratyCreate meta files when not doing DIRDEPS_BUILD.
103532b5dc9aSSimon J. GerratyThe meta files can be useful for debugging.
10360a70ef02SBryan Drewery.Pp
1037ba852870SBryan DreweryThis must be set in the environment, make command line, or
10380a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
10390a70ef02SBryan Drewerynot
10400a70ef02SBryan Drewery.Pa /etc/src.conf .
104190be798eSDimitry Andric.It Va WITH_NAND
104290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_NAND 235537 2012-05-17 10:11:18Z gber
104390be798eSDimitry AndricSet to build the NAND Flash components.
104490be798eSDimitry Andric.It Va WITHOUT_NDIS
104590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NDIS 183242 2008-09-21 22:02:26Z sam
104690be798eSDimitry AndricSet to not build programs and libraries
104790be798eSDimitry Andricrelated to NDIS emulation support.
104890be798eSDimitry Andric.It Va WITHOUT_NETCAT
104990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETCAT 156932 2006-03-21 07:50:50Z ru
105090be798eSDimitry AndricSet to not build
105190be798eSDimitry Andric.Xr nc 1
105290be798eSDimitry Andricutility.
105390be798eSDimitry Andric.It Va WITHOUT_NETGRAPH
105490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
105590be798eSDimitry AndricSet to not build applications to support
105690be798eSDimitry Andric.Xr netgraph 4 .
105790be798eSDimitry AndricWhen set, it also enforces the following options:
105890be798eSDimitry Andric.Pp
105990be798eSDimitry Andric.Bl -item -compact
106090be798eSDimitry Andric.It
106190be798eSDimitry Andric.Va WITHOUT_ATM
106290be798eSDimitry Andric.It
106390be798eSDimitry Andric.Va WITHOUT_BLUETOOTH
106490be798eSDimitry Andric.It
106590be798eSDimitry Andric.Va WITHOUT_NETGRAPH_SUPPORT
106690be798eSDimitry Andric.El
106790be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT
106890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH_SUPPORT 183305 2008-09-23 16:11:15Z sam
106990be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support.
107090be798eSDimitry Andric.It Va WITHOUT_NIS
107190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NIS 156932 2006-03-21 07:50:50Z ru
107290be798eSDimitry AndricSet to not build
107390be798eSDimitry Andric.Xr NIS 8
107490be798eSDimitry Andricsupport and related programs.
107590be798eSDimitry AndricIf set, you might need to adopt your
107690be798eSDimitry Andric.Xr nsswitch.conf 5
107790be798eSDimitry Andricand remove
107890be798eSDimitry Andric.Sq nis
107990be798eSDimitry Andricentries.
108090be798eSDimitry Andric.It Va WITHOUT_NLS
108190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
108290be798eSDimitry AndricSet to not build NLS catalogs.
108390be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS
108490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
108590be798eSDimitry AndricSet to not build NLS catalog support for
108690be798eSDimitry Andric.Xr csh 1 .
108790be798eSDimitry Andric.It Va WITHOUT_NS_CACHING
108890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
108990be798eSDimitry AndricSet to disable name caching in the
109090be798eSDimitry Andric.Pa nsswitch
109190be798eSDimitry Andricsubsystem.
109290be798eSDimitry AndricThe generic caching daemon,
109390be798eSDimitry Andric.Xr nscd 8 ,
109490be798eSDimitry Andricwill not be built either if this option is set.
109590be798eSDimitry Andric.It Va WITHOUT_NTP
109690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NTP 183242 2008-09-21 22:02:26Z sam
109790be798eSDimitry AndricSet to not build
109890be798eSDimitry Andric.Xr ntpd 8
109990be798eSDimitry Andricand related programs.
110090be798eSDimitry Andric.It Va WITH_OFED
110190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
110290be798eSDimitry AndricSet to build the
110390be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution"
110490be798eSDimitry AndricInfiniband software stack.
110590be798eSDimitry Andric.It Va WITH_OPENLDAP
110690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_OPENLDAP 264902 2014-04-24 23:17:31Z imp
110790be798eSDimitry AndricEnable building openldap support for kerberos.
110890be798eSDimitry Andric.It Va WITHOUT_OPENSSH
110990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSH 156932 2006-03-21 07:50:50Z ru
111090be798eSDimitry AndricSet to not build OpenSSH.
111190be798eSDimitry Andric.It Va WITHOUT_OPENSSL
111290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSL 156932 2006-03-21 07:50:50Z ru
111390be798eSDimitry AndricSet to not build OpenSSL.
111490be798eSDimitry AndricWhen set, it also enforces the following options:
111590be798eSDimitry Andric.Pp
111690be798eSDimitry Andric.Bl -item -compact
111790be798eSDimitry Andric.It
111890be798eSDimitry Andric.Va WITHOUT_KERBEROS
111990be798eSDimitry Andric.It
112090be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
112190be798eSDimitry Andric.It
112290be798eSDimitry Andric.Va WITHOUT_OPENSSH
112390be798eSDimitry Andric.El
112490be798eSDimitry Andric.Pp
112590be798eSDimitry AndricWhen set, the following options are also in effect:
112690be798eSDimitry Andric.Pp
112790be798eSDimitry Andric.Bl -inset -compact
112890be798eSDimitry Andric.It Va WITHOUT_GSSAPI
112990be798eSDimitry Andric(unless
113090be798eSDimitry Andric.Va WITH_GSSAPI
113190be798eSDimitry Andricis set explicitly)
113290be798eSDimitry Andric.El
113390be798eSDimitry Andric.It Va WITHOUT_PAM
113490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM 174550 2007-12-12 16:43:17Z ru
113590be798eSDimitry AndricSet to not build PAM library and modules.
113690be798eSDimitry Andric.Bf -symbolic
113790be798eSDimitry AndricThis option is deprecated and does nothing.
113890be798eSDimitry Andric.Ef
113990be798eSDimitry AndricWhen set, it also enforces the following options:
114090be798eSDimitry Andric.Pp
114190be798eSDimitry Andric.Bl -item -compact
114290be798eSDimitry Andric.It
114390be798eSDimitry Andric.Va WITHOUT_PAM_SUPPORT
114490be798eSDimitry Andric.El
114590be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT
114690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM_SUPPORT 156932 2006-03-21 07:50:50Z ru
114790be798eSDimitry AndricSet to build some programs without PAM support, particularly
114890be798eSDimitry Andric.Xr ftpd 8
114990be798eSDimitry Andricand
115090be798eSDimitry Andric.Xr ppp 8 .
115190be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL
115290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PC_SYSINSTALL 245606 2013-01-18 15:57:09Z eadler
115390be798eSDimitry AndricSet to not build
115490be798eSDimitry Andric.Xr pc-sysinstall 8
115590be798eSDimitry Andricand related programs.
115690be798eSDimitry Andric.It Va WITHOUT_PF
115790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
115890be798eSDimitry AndricSet to not build PF firewall package.
115990be798eSDimitry AndricWhen set, it also enforces the following options:
116090be798eSDimitry Andric.Pp
116190be798eSDimitry Andric.Bl -item -compact
116290be798eSDimitry Andric.It
116390be798eSDimitry Andric.Va WITHOUT_AUTHPF
116490be798eSDimitry Andric.El
116590be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP
116690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PKGBOOTSTRAP 258924 2013-12-04 15:58:42Z bdrewery
116790be798eSDimitry AndricSet to not build
116890be798eSDimitry Andric.Xr pkg 7
116990be798eSDimitry Andricbootstrap tool.
117090be798eSDimitry Andric.It Va WITHOUT_PMC
117190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
117290be798eSDimitry AndricSet to not build
117390be798eSDimitry Andric.Xr pmccontrol 8
117490be798eSDimitry Andricand related programs.
117590be798eSDimitry Andric.It Va WITHOUT_PORTSNAP
117690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
117790be798eSDimitry AndricSet to not build or install
117890be798eSDimitry Andric.Xr portsnap 8
117990be798eSDimitry Andricand related files.
118090be798eSDimitry Andric.It Va WITHOUT_PPP
118190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
118290be798eSDimitry AndricSet to not build
118390be798eSDimitry Andric.Xr ppp 8
118490be798eSDimitry Andricand related programs.
118590be798eSDimitry Andric.It Va WITHOUT_PROFILE
118690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
118790be798eSDimitry AndricSet to avoid compiling profiled libraries.
118890be798eSDimitry Andric.It Va WITHOUT_QUOTAS
118990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_QUOTAS 183242 2008-09-21 22:02:26Z sam
119090be798eSDimitry AndricSet to not build
119190be798eSDimitry Andric.Xr quota 8
119290be798eSDimitry Andricand related programs.
11930e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT
11940e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_RADIUS_SUPPORT 278182 2015-02-04 06:53:45Z ngie
11950e0e9604SEnji CooperSet to not build radius support into various applications, like
11960e0e9604SEnji Cooper.Xr pam_radius 8
11970e0e9604SEnji Cooperand
11980e0e9604SEnji Cooper.Xr ppp 8 .
11990e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD
12000e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_RBOOTD 278192 2015-02-04 10:19:32Z ngie
12010e0e9604SEnji CooperSet to not build or install
12020e0e9604SEnji Cooper.Xr rbootd 8 .
120390be798eSDimitry Andric.It Va WITHOUT_RCMDS
120490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_RCMDS 156932 2006-03-21 07:50:50Z ru
120590be798eSDimitry AndricDisable building of the
120690be798eSDimitry Andric.Bx
120790be798eSDimitry Andricr-commands.
120890be798eSDimitry AndricThis includes
120990be798eSDimitry Andric.Xr rlogin 1 ,
121090be798eSDimitry Andric.Xr rsh 1 ,
121190be798eSDimitry Andricetc.
121290be798eSDimitry Andric.It Va WITHOUT_RCS
1213c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_RCS 275138 2014-11-26 20:43:09Z gjb
121490be798eSDimitry AndricSet to not build
1215c5d09a87SGlen Barber.Xr rcs 1 ,
1216c5d09a87SGlen Barber.Xr etcupdate 8 ,
1217c5d09a87SGlen Barberand related utilities.
121890be798eSDimitry Andric.It Va WITHOUT_RESCUE
121990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
122090be798eSDimitry AndricSet to not build
122190be798eSDimitry Andric.Xr rescue 8 .
122290be798eSDimitry Andric.It Va WITHOUT_ROUTED
122390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
122490be798eSDimitry AndricSet to not build
122590be798eSDimitry Andric.Xr routed 8
122690be798eSDimitry Andricutility.
122790be798eSDimitry Andric.It Va WITHOUT_SENDMAIL
122890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
122990be798eSDimitry AndricSet to not build
123090be798eSDimitry Andric.Xr sendmail 8
123190be798eSDimitry Andricand related programs.
123290be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN
123390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
123490be798eSDimitry AndricSet this to disable the installation of
123590be798eSDimitry Andric.Xr login 1
123690be798eSDimitry Andricas a set-user-ID root program.
123790be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS
123890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
123990be798eSDimitry AndricSet to not build the
124090be798eSDimitry Andric.Bx 4.4
124190be798eSDimitry Andriclegacy docs.
124290be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN
124390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SHARED_TOOLCHAIN 235342 2012-05-12 16:12:36Z gjb
124490be798eSDimitry AndricSet to build the toolchain binaries shared.
124590be798eSDimitry AndricThe set includes
124690be798eSDimitry Andric.Xr cc 1 ,
124790be798eSDimitry Andric.Xr make 1
124890be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager.
124990be798eSDimitry Andric.It Va WITH_SORT_THREADS
125090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SORT_THREADS 264158 2014-04-05 18:00:45Z imp
125190be798eSDimitry AndricSet to enable threads in
125290be798eSDimitry Andric.Xr sort 1 .
125390be798eSDimitry Andric.It Va WITHOUT_SOURCELESS
125490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
125590be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
125690be798eSDimitry AndricWhen set, it also enforces the following options:
125790be798eSDimitry Andric.Pp
125890be798eSDimitry Andric.Bl -item -compact
125990be798eSDimitry Andric.It
126090be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST
126190be798eSDimitry Andric.It
126290be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE
126390be798eSDimitry Andric.El
126490be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST
126590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
126690be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU.
126790be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE
126890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
126990be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode.
127090be798eSDimitry Andric.It Va WITHOUT_SSP
127190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
127290be798eSDimitry AndricSet to not build world with propolice stack smashing protection.
1273cc2520d2SSimon J. Gerraty.It Va WITH_STAGING
127432b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_STAGING 290816 2015-11-14 03:24:48Z sjg
1275cc2520d2SSimon J. GerratyEnable staging of files to a stage tree.
1276cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to
1277cc2520d2SSimon J. Gerraty.Va DESTDIR
1278cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked.
1279cc2520d2SSimon J. GerratyDepends on
128032b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
1281cc2520d2SSimon J. GerratyWhen set, the following options are also in effect:
1282cc2520d2SSimon J. Gerraty.Pp
1283cc2520d2SSimon J. Gerraty.Bl -inset -compact
1284cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1285cc2520d2SSimon J. Gerraty(unless
1286cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN
1287cc2520d2SSimon J. Gerratyis set explicitly)
1288cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1289cc2520d2SSimon J. Gerraty(unless
1290cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG
1291cc2520d2SSimon J. Gerratyis set explicitly)
1292cc2520d2SSimon J. Gerraty.El
12930a70ef02SBryan Drewery.Pp
1294ba852870SBryan DreweryThis must be set in the environment, make command line, or
12950a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
12960a70ef02SBryan Drewerynot
12970a70ef02SBryan Drewery.Pa /etc/src.conf .
1298cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
12995be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STAGING_MAN 284708 2015-06-22 20:21:57Z sjg
1300cc2520d2SSimon J. GerratyEnable staging of MAN pages to stage tree.
1301cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
13025be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STAGING_PROG 284708 2015-06-22 20:21:57Z sjg
1303cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree.
1304cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED
13055be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STALE_STAGED 284708 2015-06-22 20:21:57Z sjg
1306cc2520d2SSimon J. GerratyCheck staged files are not stale.
130790be798eSDimitry Andric.It Va WITH_SVN
130890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SVN 252561 2013-07-03 12:36:47Z zeising
130990be798eSDimitry AndricSet to install
131090be798eSDimitry Andric.Xr svnlite 1
131190be798eSDimitry Andricas
131290be798eSDimitry Andric.Xr svn 1 .
131390be798eSDimitry Andric.It Va WITHOUT_SVNLITE
131490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SVNLITE 252561 2013-07-03 12:36:47Z zeising
131590be798eSDimitry AndricSet to not build
131690be798eSDimitry Andric.Xr svnlite 1
131790be798eSDimitry Andricand related programs.
131890be798eSDimitry Andric.It Va WITHOUT_SYMVER
131990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
132090be798eSDimitry AndricSet to disable symbol versioning when building shared libraries.
132190be798eSDimitry Andric.It Va WITHOUT_SYSCONS
132290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
132390be798eSDimitry AndricSet to not build
132490be798eSDimitry Andric.Xr syscons 4
132590be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps.
1326cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT
132732b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_SYSROOT 290816 2015-11-14 03:24:48Z sjg
1328cc2520d2SSimon J. GerratyEnable use of sysroot during build.
1329cc2520d2SSimon J. GerratyDepends on
133032b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
13310a70ef02SBryan Drewery.Pp
1332ba852870SBryan DreweryThis must be set in the environment, make command line, or
13330a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
13340a70ef02SBryan Drewerynot
13350a70ef02SBryan Drewery.Pa /etc/src.conf .
133693da8366SEnji Cooper.It Va WITHOUT_TALK
133793da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
133893da8366SEnji CooperSet to not build or install
133993da8366SEnji Cooper.Xr talk 1
134093da8366SEnji Cooperand
134193da8366SEnji Cooper.Xr talkd 8 .
13420e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS
13430e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TCP_WRAPPERS 278192 2015-02-04 10:19:32Z ngie
13440e0e9604SEnji CooperSet to not build or install
13450e0e9604SEnji Cooper.Xr tcpd 8 ,
13460e0e9604SEnji Cooperand related utilities.
134790be798eSDimitry Andric.It Va WITHOUT_TCSH
134890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
134990be798eSDimitry AndricSet to not build and install
135090be798eSDimitry Andric.Pa /bin/csh
135190be798eSDimitry Andric(which is
135290be798eSDimitry Andric.Xr tcsh 1 ) .
135390be798eSDimitry Andric.It Va WITHOUT_TELNET
135490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 183242 2008-09-21 22:02:26Z sam
135590be798eSDimitry AndricSet to not build
135690be798eSDimitry Andric.Xr telnet 8
135790be798eSDimitry Andricand related programs.
135818c6fc4cSJulio Merino.It Va WITHOUT_TESTS
135918c6fc4cSJulio Merino.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS 268778 2014-07-16 21:40:11Z jmmv
136018c6fc4cSJulio MerinoSet to not build nor install the
136190be798eSDimitry Andric.Fx
136290be798eSDimitry AndricTest Suite in
136390be798eSDimitry Andric.Pa /usr/tests/ .
136490be798eSDimitry AndricSee
136590be798eSDimitry Andric.Xr tests 7
136690be798eSDimitry Andricfor more details.
136718c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF.
1368c5d09a87SGlen BarberWhen set, it also enforces the following options:
1369c5d09a87SGlen Barber.Pp
1370c5d09a87SGlen Barber.Bl -item -compact
1371c5d09a87SGlen Barber.It
137216f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS
137316f3fdf5SMark Johnston.It
1374c5d09a87SGlen Barber.Va WITHOUT_TESTS_SUPPORT
1375c5d09a87SGlen Barber.El
1376c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT
1377c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS_SUPPORT 274665 2014-11-18 17:06:50Z imp
1378c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF.
137990be798eSDimitry Andric.It Va WITHOUT_TEXTPROC
138090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
138190be798eSDimitry AndricSet to not build
138290be798eSDimitry Andricprograms used for text processing.
138390be798eSDimitry AndricWhen set, it also enforces the following options:
138490be798eSDimitry Andric.Pp
138590be798eSDimitry Andric.Bl -item -compact
138690be798eSDimitry Andric.It
138790be798eSDimitry Andric.Va WITHOUT_GROFF
138890be798eSDimitry Andric.El
13890e0e9604SEnji Cooper.It Va WITHOUT_TFTP
13900e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TFTP 278192 2015-02-04 10:19:32Z ngie
13910e0e9604SEnji CooperSet to not build or install
13920e0e9604SEnji Cooper.Xr tftp 1
13930e0e9604SEnji Cooperand
13940e0e9604SEnji Cooper.Xr tftpd 8 .
13950e0e9604SEnji Cooper.It Va WITHOUT_TIMED
13960e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TIMED 278192 2015-02-04 10:19:32Z ngie
13970e0e9604SEnji CooperSet to not build or install
13980e0e9604SEnji Cooper.Xr timed 8 .
139990be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN
1400148bdd15SBrooks Davis.\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 273172 2014-10-16 15:55:13Z brooks
1401148bdd15SBrooks DavisSet to not install header or
140290be798eSDimitry Andricprograms used for program development,
140390be798eSDimitry Andriccompilers, debuggers etc.
140490be798eSDimitry Andric.Bf -symbolic
140590be798eSDimitry AndricThe option does not work for build targets.
140690be798eSDimitry Andric.Ef
140790be798eSDimitry AndricWhen set, it also enforces the following options:
140890be798eSDimitry Andric.Pp
140990be798eSDimitry Andric.Bl -item -compact
141090be798eSDimitry Andric.It
141190be798eSDimitry Andric.Va WITHOUT_BINUTILS
141290be798eSDimitry Andric.It
141390be798eSDimitry Andric.Va WITHOUT_CLANG
141490be798eSDimitry Andric.It
141590be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
141690be798eSDimitry Andric.It
141790be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
141890be798eSDimitry Andric.It
141990be798eSDimitry Andric.Va WITHOUT_GCC
142090be798eSDimitry Andric.It
142190be798eSDimitry Andric.Va WITHOUT_GDB
1422c5d09a87SGlen Barber.It
1423c5d09a87SGlen Barber.Va WITHOUT_INCLUDES
142490be798eSDimitry Andric.El
142590be798eSDimitry Andric.It Va WITHOUT_UNBOUND
142690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_UNBOUND 255597 2013-09-15 14:51:23Z des
142790be798eSDimitry AndricSet to not build
142890be798eSDimitry Andric.Xr unbound 8
142990be798eSDimitry Andricand related programs.
143090be798eSDimitry Andric.It Va WITHOUT_USB
143190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
143290be798eSDimitry AndricSet to not build USB-related programs and libraries.
1433c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES
1434c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_USB_GADGET_EXAMPLES 274665 2014-11-18 17:06:50Z imp
1435c5d09a87SGlen BarberSet to build USB gadget kernel modules.
143690be798eSDimitry Andric.It Va WITHOUT_UTMPX
143790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 231530 2012-02-11 20:28:42Z ed
143890be798eSDimitry AndricSet to not build user accounting tools such as
143990be798eSDimitry Andric.Xr last 1 ,
144090be798eSDimitry Andric.Xr users 1 ,
144190be798eSDimitry Andric.Xr who 1 ,
144290be798eSDimitry Andric.Xr ac 8 ,
144390be798eSDimitry Andric.Xr lastlogin 8
144490be798eSDimitry Andricand
144590be798eSDimitry Andric.Xr utx 8 .
144690be798eSDimitry Andric.It Va WITHOUT_VI
144790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_VI 264903 2014-04-24 23:17:40Z imp
144890be798eSDimitry AndricSet to not build and install vi, view, ex and related programs.
144990be798eSDimitry Andric.It Va WITHOUT_VT
145090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_VT 268022 2014-06-30 00:20:12Z emaste
145190be798eSDimitry AndricSet to not build
145290be798eSDimitry Andric.Xr vt 4
145390be798eSDimitry Andricsupport files (fonts and keymaps).
145490be798eSDimitry Andric.It Va WITHOUT_WARNS
14559da2c520SBaptiste Daroussin.\" from FreeBSD: head/tools/build/options/WITHOUT_WARNS 276559 2015-01-02 18:57:58Z bapt
145690be798eSDimitry AndricSet this to not add warning flags to the compiler invocations.
145790be798eSDimitry AndricUseful as a temporary workaround when code enters the tree
145890be798eSDimitry Andricwhich triggers warnings in environments that differ from the
1459559f9bfcSJens Schweikhardtoriginal developer.
146090be798eSDimitry Andric.It Va WITHOUT_WIRELESS
146190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
146290be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially
146390be798eSDimitry Andric.Xr wpa_supplicant 8
146490be798eSDimitry Andricand
146590be798eSDimitry Andric.Xr hostapd 8 .
146690be798eSDimitry AndricWhen set, it also enforces the following options:
146790be798eSDimitry Andric.Pp
146890be798eSDimitry Andric.Bl -item -compact
146990be798eSDimitry Andric.It
147090be798eSDimitry Andric.Va WITHOUT_WIRELESS_SUPPORT
147190be798eSDimitry Andric.El
147290be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT
147390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
147490be798eSDimitry AndricSet to build libraries, programs, and kernel modules without
147590be798eSDimitry Andric802.11 wireless support.
147690be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
147790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
147890be798eSDimitry AndricBuild
147990be798eSDimitry Andric.Xr wpa_supplicant 8
148090be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without
148190be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
148290be798eSDimitry Andricprotocols (usable only via 802.1X).
148390be798eSDimitry Andric.It Va WITHOUT_ZFS
148490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
148590be798eSDimitry AndricSet to not build ZFS file system.
148690be798eSDimitry Andric.It Va WITHOUT_ZONEINFO
148790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 235342 2012-05-12 16:12:36Z gjb
148890be798eSDimitry AndricSet to not build the timezone database.
148990be798eSDimitry Andric.El
149090be798eSDimitry Andric.Sh FILES
149190be798eSDimitry Andric.Bl -tag -compact -width Pa
149290be798eSDimitry Andric.It Pa /etc/src.conf
14930a70ef02SBryan Drewery.It Pa /etc/src-env.conf
149490be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk
149590be798eSDimitry Andric.El
149690be798eSDimitry Andric.Sh SEE ALSO
149790be798eSDimitry Andric.Xr make 1 ,
149890be798eSDimitry Andric.Xr make.conf 5 ,
149990be798eSDimitry Andric.Xr build 7 ,
150090be798eSDimitry Andric.Xr ports 7
150190be798eSDimitry Andric.Sh HISTORY
150290be798eSDimitry AndricThe
150390be798eSDimitry Andric.Nm
150490be798eSDimitry Andricfile appeared in
150590be798eSDimitry Andric.Fx 7.0 .
150690be798eSDimitry Andric.Sh AUTHORS
150790be798eSDimitry AndricThis manual page was autogenerated.
1508