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