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