]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/src.conf.5
Merge ^/head r309804 through r309816.
[FreeBSD/FreeBSD.git] / share / man / man5 / src.conf.5
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 10, 2016
5 .Dt SRC.CONF 5
6 .Os
7 .Sh NAME
8 .Nm src.conf
9 .Nd "source build options"
10 .Sh DESCRIPTION
11 The
12 .Nm
13 file contains settings that will apply to every build involving the
14 .Fx
15 source tree; see
16 .Xr build 7 .
17 .Pp
18 The
19 .Nm
20 file uses the standard makefile syntax.
21 However,
22 .Nm
23 should not specify any dependencies to
24 .Xr make 1 .
25 Instead,
26 .Nm
27 is to set
28 .Xr make 1
29 variables that control the aspects of how the system builds.
30 .Pp
31 The default location of
32 .Nm
33 is
34 .Pa /etc/src.conf ,
35 though an alternative location can be specified in the
36 .Xr make 1
37 variable
38 .Va SRCCONF .
39 Overriding the location of
40 .Nm
41 may be necessary if the system-wide settings are not suitable
42 for a particular build.
43 For instance, setting
44 .Va SRCCONF
45 to
46 .Pa /dev/null
47 effectively resets all build controls to their defaults.
48 .Pp
49 The only purpose of
50 .Nm
51 is to control the compilation of the
52 .Fx
53 source code, which is usually located in
54 .Pa /usr/src .
55 As a rule, the system administrator creates
56 .Nm
57 when the values of certain control variables need to be changed
58 from their defaults.
59 .Pp
60 In addition, control variables can be specified
61 for a particular build via the
62 .Fl D
63 option of
64 .Xr make 1
65 or in its environment; see
66 .Xr environ 7 .
67 .Pp
68 The environment of
69 .Xr make 1
70 for the build can be controlled via the
71 .Va SRC_ENV_CONF
72 variable, which defaults to
73 .Pa /etc/src-env.conf .
74 Some examples that may only be set in this file are
75 .Va WITH_DIRDEPS_BUILD ,
76 and
77 .Va WITH_META_MODE
78 as they are environment-only variables.
79 Note that
80 .Va MAKEOBJDIRPREFIX
81 may be set here only when using
82 .Va WITH_DIRDEPS_BUILD .
83 .Pp
84 The values of variables are ignored regardless of their setting;
85 even if they would be set to
86 .Dq Li FALSE
87 or
88 .Dq Li NO .
89 Just the existence of an option will cause
90 it to be honoured by
91 .Xr make 1 .
92 .Pp
93 The following list provides a name and short description for variables
94 that 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
98 Set to not build process accounting tools such as
99 .Xr accton 8
100 and
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
104 Set to not build
105 .Xr acpiconf 8 ,
106 .Xr acpidump 8
107 and related programs.
108 .It Va WITHOUT_AMD
109 .\" from FreeBSD: head/tools/build/options/WITHOUT_AMD 183242 2008-09-21 22:02:26Z sam
110 Set to not build
111 .Xr amd 8 ,
112 and related programs.
113 .It Va WITHOUT_APM
114 .\" from FreeBSD: head/tools/build/options/WITHOUT_APM 183242 2008-09-21 22:02:26Z sam
115 Set to not build
116 .Xr apm 8 ,
117 .Xr apmd 8
118 and 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
121 Set to compile programs and libraries without the
122 .Xr assert 3
123 checks.
124 .It Va WITHOUT_AT
125 .\" from FreeBSD: head/tools/build/options/WITHOUT_AT 183242 2008-09-21 22:02:26Z sam
126 Set to not build
127 .Xr at 1
128 and related utilities.
129 .It Va WITHOUT_ATM
130 .\" from FreeBSD: head/tools/build/options/WITHOUT_ATM 156932 2006-03-21 07:50:50Z ru
131 Set to not build
132 programs 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
135 Set 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
138 Set 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
142 Set to not build
143 .Xr autofs 5
144 related 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
147 Enable automatic creation of objdirs.
148 .Pp
149 This must be set in the environment, make command line, or
150 .Pa /etc/src-env.conf ,
151 not
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
155 Set to not build or install
156 .Xr bhyve 8 ,
157 associated utilities, and examples.
158 .Pp
159 This 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
162 Set to not build or install binutils (as, ld, objcopy, and objdump ) as part
163 of the normal system build.
164 The resulting system cannot build programs from source.
165 .Pp
166 It is a default setting on
167 arm64/aarch64.
168 When 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
176 Set to build and install binutils (as, ld, objcopy, and objdump) as part
177 of the normal system build.
178 .Pp
179 It is a default setting on
180 amd64/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
183 Set to not build binutils (as, ld, objcopy and objdump)
184 as part of the bootstrap process.
185 .Bf -symbolic
186 The option does not work for build targets unless some alternative
187 toolchain is provided.
188 .Ef
189 .Pp
190 It is a default setting on
191 arm64/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
194 Set build binutils (as, ld, objcopy and objdump)
195 as part of the bootstrap process.
196 .Pp
197 It is a default setting on
198 amd64/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
201 Set this if you do not want to build blacklistd / blacklistctl.
202 When 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
210 Set to build some programs without blacklistd support, like
211 .Xr fingerd 8 ,
212 .Xr ftpd 8 ,
213 .Xr rlogind 8 ,
214 .Xr rshd 8 ,
215 and
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
219 Set 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
222 Set 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
225 Set 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
229 Set 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
233 Set to not build
234 .Xr bsdinstall 8 ,
235 .Xr sade 8 ,
236 and 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
239 Set 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
243 Install 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
246 Set to not build or install
247 .Xr bsnmpd 1
248 and 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
251 Set to not build contributed bzip2 software as a part of the base system.
252 .Bf -symbolic
253 The option has no effect yet.
254 .Ef
255 When 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
263 Set 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
266 Set 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
270 Set to not build Capsicum support into system programs.
271 When 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
279 Set 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
282 Set to use
283 .Xr ccache 1
284 for the build.
285 No configuration is required except to install the
286 .Sy devel/ccache
287 package.
288 Using with
289 .Xr distcc 1
290 should set
291 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
292 The default cache directory of
293 .Pa $HOME/.ccache
294 will be used, which can be overridden by setting
295 .Sy CCACHE_DIR .
296 The
297 .Sy CCACHE_COMPILERCHECK
298 option defaults to
299 .Sy content
300 when using the in-tree bootstrap compiler,
301 and
302 .Sy mtime
303 when using an external compiler.
304 The
305 .Sy CCACHE_CPP2
306 option is used for Clang but not GCC.
307 .Pp
308 Sharing a cache between multiple work directories requires using a layout
309 similar to
310 .Pa /some/prefix/src
311 .Pa /some/prefix/obj
312 and an environment such as:
313 .Bd -literal -offset indent
314 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
315 .Ed
316 .Pp
317 See
318 .Xr ccache 1
319 for 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
322 Set to not build
323 .Xr geom_ccd 4
324 and related utilities.
325 .It Va WITHOUT_CDDL
326 .\" from FreeBSD: head/tools/build/options/WITHOUT_CDDL 163861 2006-11-01 09:02:11Z jb
327 Set to not build code licensed under Sun's CDDL.
328 When 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
338 Set to not build the Clang C/C++ compiler during the regular phase of the build.
339 .Pp
340 It is a default setting on
341 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
342 When 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
352 Set to build the Clang C/C++ compiler during the normal phase of the build.
353 .Pp
354 It is a default setting on
355 amd64/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
358 Set to not build the Clang C/C++ compiler during the bootstrap phase of the build.
359 You must enable either gcc or clang bootstrap to be able to build the system,
360 unless an alternative compiler is provided via
361 XCC.
362 .Pp
363 It is a default setting on
364 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.
365 .It Va WITH_CLANG_BOOTSTRAP
366 .\" from FreeBSD: head/tools/build/options/WITH_CLANG_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
367 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
368 .Pp
369 It is a default setting on
370 amd64/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
373 Set 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
376 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
377 the Clang C/C++ compiler.
378 .Pp
379 It is a default setting on
380 mips/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
383 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
384 Clang C/C++ compiler.
385 .Pp
386 It is a default setting on
387 amd64/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
390 Set to install the GCC compiler as
391 .Pa /usr/bin/cc ,
392 .Pa /usr/bin/c++
393 and
394 .Pa /usr/bin/cpp .
395 .Pp
396 It is a default setting on
397 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.
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
400 Set to install the Clang C/C++ compiler as
401 .Pa /usr/bin/cc ,
402 .Pa /usr/bin/c++
403 and
404 .Pa /usr/bin/cpp .
405 .Pp
406 It is a default setting on
407 amd64/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
410 Set 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
414 Set to not build any cross compiler in the cross-tools stage of buildworld.
415 If you are compiling a different version of
416 .Fx
417 than what is installed on the system, you will need to provide an alternate
418 compiler with XCC to ensure success.
419 If you are compiling with an identical version of
420 .Fx
421 to the host, this option may be safely used.
422 This option may also be safe when the host version of
423 .Fx
424 is close to the sources being built, but all bets are off if there have
425 been any changes to the toolchain between the versions.
426 When 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
440 Set to not build any crypto code.
441 When 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
454 When 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
460 is 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
464 Set to compile with CTF (Compact C Type Format) data.
465 CTF data encapsulates a reduced form of debugging information
466 similar 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
469 Set to not build
470 .Xr ctm 1
471 and related utilities.
472 .It Va WITHOUT_CUSE
473 .\" from FreeBSD: head/tools/build/options/WITHOUT_CUSE 270171 2014-08-19 15:40:26Z hselasky
474 Set 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
477 Set to not build
478 .Xr c++ 1
479 and related libraries.
480 It will also prevent building of
481 .Xr gperf 1
482 and
483 .Xr devd 8 .
484 When 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
506 Set to avoid building or installing standalone debug files for each
507 executable 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
510 Set to not build dialog(1), dialog(1,3), and dpv(1,3).
511 When 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
519 Set 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
522 This is an experimental build system.
523 For details see
524 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
525 Build commands can be seen from the top-level with:
526 .Dl make show-valid-targets
527 The build is driven by dirdeps.mk using
528 .Va DIRDEPS
529 stored in
530 Makefile.depend files found in each directory.
531 .Pp
532 The build can be started from anywhere, and behaves the same.
533 The initial instance of
534 .Xr make 1 
535 recursively reads
536 .Va DIRDEPS
537 from Makefile.depend
538 computing a graph of tree dependencies from the current origin.
539 Setting
540 .Va NO_DIRDEPS
541 will skip checking dirdep dependencies and will only build in the current
542 and child directories.
543 .Va NO_DIRDEPS_BELOW
544 will skip building any dirdeps and only build the current directory.
545 .Pp
546 This also utilizes the
547 .Va WITH_META_MODE
548 logic for incremental builds.
549 .Pp
550 The build will hide commands ran unless
551 .Va NO_SILENT
552 is defined.
553 .Pp
554 Note that there is currently no mass install feature for this.
555 .Pp
556 When 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
563 When 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
569 is set explicitly)
570 .It Va WITH_META_MODE
571 (unless
572 .Va WITHOUT_META_MODE
573 is set explicitly)
574 .It Va WITH_STAGING
575 (unless
576 .Va WITHOUT_STAGING
577 is set explicitly)
578 .It Va WITH_STAGING_MAN
579 (unless
580 .Va WITHOUT_STAGING_MAN
581 is set explicitly)
582 .It Va WITH_STAGING_PROG
583 (unless
584 .Va WITHOUT_STAGING_PROG
585 is set explicitly)
586 .It Va WITH_SYSROOT
587 (unless
588 .Va WITHOUT_SYSROOT
589 is set explicitly)
590 .El
591 .Pp
592 This must be set in the environment, make command line, or
593 .Pa /etc/src-env.conf ,
594 not
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
598 Cache result of dirdeps.mk which can save significant time
599 for subsequent builds.
600 Depends on
601 .Va WITH_DIRDEPS_BUILD .
602 .Pp
603 This must be set in the environment, make command line, or
604 .Pa /etc/src-env.conf ,
605 not
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
609 Set 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
612 Set to not to install compressed system documentation.
613 Only 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
616 Set to build and install the DTrace test suite in
617 .Pa /usr/tests/cddl/usr.sbin/dtrace .
618 This test suite is considered experimental on architectures other than
619 amd64/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
622 Set this if you do not want to link
623 .Pa /bin
624 and
625 .Pa /sbin
626 dynamically.
627 .It Va WITHOUT_ED_CRYPTO
628 .\" from FreeBSD: head/tools/build/options/WITHOUT_ED_CRYPTO 235660 2012-05-19 20:05:27Z marcel
629 Set to build
630 .Xr ed 1
631 without 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
634 Set to not build and install
635 .Xr edit 1 ,
636 .Xr ee 1 ,
637 and related programs.
638 .It Va WITH_EISA
639 .\" from FreeBSD: head/tools/build/options/WITH_EISA 264654 2014-04-18 16:53:06Z imp
640 Set 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
643 Set to not build ELF Tool Chain tools
644 (addr2line, nm, size, strings and strip)
645 as part of the bootstrap process.
646 .Bf -symbolic
647 An 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
651 Set 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
655 Set 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
658 Set to not build Flattened Device Tree support as part of the base system.
659 This 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
662 Set to not build
663 .Xr file 1
664 and related programs.
665 .It Va WITHOUT_FINGER
666 .\" from FreeBSD: head/tools/build/options/WITHOUT_FINGER 278192 2015-02-04 10:19:32Z ngie
667 Set to not build or install
668 .Xr finger 1
669 and
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
673 Set to not build or install programs
674 for 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
677 Set 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
681 Set to not enable
682 .Fl fformat-extensions
683 when compiling the kernel.
684 Also 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
687 Set 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
690 Set to build
691 .Nm libc
692 without 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
695 Set 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
699 Set to not build or install
700 .Xr ftp 1
701 and
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
705 Set 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
708 Set to not build and install gcc and g++ as part of the normal build process.
709 .Pp
710 It is a default setting on
711 amd64/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
714 Set to build and install gcc and g++.
715 .Pp
716 It is a default setting on
717 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.
718 .It Va WITHOUT_GCC_BOOTSTRAP
719 .\" from FreeBSD: head/tools/build/options/WITHOUT_GCC_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
720 Set to not build gcc and g++ as part of the bootstrap process.
721 You must enable either gcc or clang bootstrap to be able to build the system,
722 unless an alternative compiler is provided via
723 XCC.
724 .Pp
725 It is a default setting on
726 amd64/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
729 Set to build gcc and g++ as part of the bootstrap process.
730 .Pp
731 It is a default setting on
732 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.
733 .It Va WITHOUT_GCOV
734 .\" from FreeBSD: head/tools/build/options/WITHOUT_GCOV 156932 2006-03-21 07:50:50Z ru
735 Set to not build the
736 .Xr gcov 1
737 tool.
738 .It Va WITHOUT_GDB
739 .\" from FreeBSD: head/tools/build/options/WITHOUT_GDB 156932 2006-03-21 07:50:50Z ru
740 Set to not build
741 .Xr gdb 1 .
742 .Pp
743 It is a default setting on
744 arm64/aarch64.
745 .It Va WITH_GDB
746 .\" from FreeBSD: head/tools/build/options/WITH_GDB 295493 2016-02-11 00:30:51Z emaste
747 Set to build
748 .Xr gdb 1 .
749 .Pp
750 It is a default setting on
751 amd64/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
754 Set to not build contributed GNU software as a part of the base system.
755 This option can be useful if the system built must not contain any code
756 covered by the GNU Public License due to legal reasons.
757 .Bf -symbolic
758 The option has no effect yet.
759 .Ef
760 When 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
768 Do not build the GNU C++ stack (g++, libstdc++).
769 This is the default on platforms where clang is the system compiler.
770 .Pp
771 It is a default setting on
772 amd64/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
775 Build the GNU C++ stack (g++, libstdc++).
776 This is the default on platforms where gcc is the system compiler.
777 .Pp
778 It is a default setting on
779 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.
780 .It Va WITHOUT_GNU_DIFF
781 .\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_DIFF 307674 2016-10-20 14:48:57Z emaste
782 Set to not build GNU
783 .Xr diff 1
784 and
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
788 Set 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
792 Set this option to omit the gnu extensions to grep from being included in
793 BSD 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
796 Set 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
799 Set to not build
800 .Xr gpioctl 8
801 as 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
804 Set to build the BSD licensed version of the device tree compiler, instead of the
805 GPL'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
808 Set to not build
809 .Xr groff 1
810 and
811 .Xr vgrind 1 .
812 You 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
816 Set 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
819 Set to not build
820 .Xr hastd 8
821 and related utilities.
822 .It Va WITH_HESIOD
823 .\" from FreeBSD: head/tools/build/options/WITH_HESIOD 156932 2006-03-21 07:50:50Z ru
824 Set 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
827 Set 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
830 Set 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
833 Set 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
836 Set to not install header files.
837 This option used to be spelled
838 .Va NO_INCS .
839 .Bf -symbolic
840 The 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
844 Set to not build programs and libraries related to IPv4 networking.
845 When 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
853 Set to not build
854 programs and libraries related to IPv6 networking.
855 When 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
863 Set 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
866 Set 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
870 Set 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
873 Set this if you do not want to install optional libraries.
874 For example when creating a
875 .Xr nanobsd 8
876 image.
877 .Bf -symbolic
878 The 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
882 Set to make install targets succeed for non-root users by installing
883 files with owner and group attributes set to that of the user running
884 the
885 .Xr make 1
886 command.
887 The user still has to set the
888 .Va DESTDIR
889 variable 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
892 Set 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
895 Set 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
898 Set to not build
899 .Xr iscid 8
900 and related utilities.
901 .It Va WITHOUT_JAIL
902 .\" from FreeBSD: head/tools/build/options/WITHOUT_JAIL 249966 2013-04-27 04:09:09Z eadler
903 Set 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
907 Set to not build
908 .Xr kdump 1
909 and
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
913 Set this if you do not want to build Kerberos 5 (KTH Heimdal).
914 When set, it also enforces the following options:
915 .Pp
916 .Bl -item -compact
917 .It
918 .Va WITHOUT_KERBEROS_SUPPORT
919 .El
920 .Pp
921 When 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
927 is 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
931 Set to build some programs without Kerberos support, like
932 .Xr ssh 1 ,
933 .Xr telnet 1 ,
934 .Xr sshd 8 ,
935 and
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
939 Set to not install kernel symbol files.
940 .Bf -symbolic
941 This 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
945 Set to not build the
946 .Nm libkvm
947 library as a part of the base system.
948 .Bf -symbolic
949 The option has no effect yet.
950 .Ef
951 When 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
959 Set to build some programs without optional
960 .Nm libkvm
961 support.
962 .It Va WITHOUT_LDNS
963 .\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS 255591 2013-09-15 13:11:13Z des
964 Setting this variable will prevent the LDNS library from being built.
965 When 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
975 Setting this variable will prevent building the LDNS utilities
976 .Xr drill 1
977 and
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
981 Set to not build programs that support a legacy PC console; e.g.,
982 .Xr kbdcontrol 1
983 and
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
987 On 64-bit platforms, set to not build 32-bit library set and a
988 .Nm ld-elf32.so.1
989 runtime linker.
990 .It Va WITHOUT_LIBCPLUSPLUS
991 .\" from FreeBSD: head/tools/build/options/WITHOUT_LIBCPLUSPLUS 246262 2013-02-02 22:42:46Z dim
992 Set 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
995 Set to not build the
996 .Nm libpthread
997 providing library,
998 .Nm libthr .
999 When 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
1007 On armv6 only, set to enable soft float ABI compatibility libraries.
1008 This 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
1011 Set to not build the
1012 .Nm libthr
1013 (1:1 threading)
1014 library.
1015 .It Va WITHOUT_LLD
1016 .\" from FreeBSD: head/tools/build/options/WITHOUT_LLD 309124 2016-11-24 22:54:55Z dim
1017 Set to not build LLVM's lld linker.
1018 .Pp
1019 It is a default setting on
1020 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.
1021 .It Va WITH_LLD
1022 .\" from FreeBSD: head/tools/build/options/WITH_LLD 309124 2016-11-24 22:54:55Z dim
1023 Set to build LLVM's lld linker.
1024 .Pp
1025 It is a default setting on
1026 amd64/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
1029 Set to not build the LLDB debugger.
1030 .Pp
1031 It is a default setting on
1032 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.
1033 .It Va WITH_LLDB
1034 .\" from FreeBSD: head/tools/build/options/WITH_LLDB 255722 2013-09-20 01:52:02Z emaste
1035 Set to build the LLDB debugger.
1036 .Pp
1037 It is a default setting on
1038 amd64/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
1041 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
1042 .Pp
1043 It is a default setting on
1044 amd64/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
1047 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
1048 .Pp
1049 It is a default setting on
1050 arm64/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
1053 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1054 .Pp
1055 It is a default setting on
1056 arm/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
1059 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1060 .Pp
1061 It is a default setting on
1062 amd64/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
1065 Set 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
1069 Set to not build
1070 .Xr locate 1
1071 and related programs.
1072 .It Va WITHOUT_LPR
1073 .\" from FreeBSD: head/tools/build/options/WITHOUT_LPR 156932 2006-03-21 07:50:50Z ru
1074 Set to not build
1075 .Xr lpr 1
1076 and 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
1079 Set to build
1080 .Xr ls 1
1081 without 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
1084 Set 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
1087 Set to not build any mail support (MUA or MTA).
1088 When 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
1100 Set to not build the
1101 .Xr mailwrapper 8
1102 MTA selector.
1103 .It Va WITHOUT_MAKE
1104 .\" from FreeBSD: head/tools/build/options/WITHOUT_MAKE 183242 2008-09-21 22:02:26Z sam
1105 Set to not install
1106 .Xr make 1
1107 and 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
1110 Set to not build manual pages.
1111 When 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
1117 is 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
1121 Set to not to install compressed man pages.
1122 Only 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
1125 Use the version of
1126 .Xr makewhatis 1
1127 introduced in
1128 .Fx 2.1 ,
1129 instead of the
1130 .Xr makewhatis 8
1131 database 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
1135 Set 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 ,
1142 and 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
1145 Creates
1146 .Xr make 1
1147 meta files when building, which can provide a reliable incremental build when
1148 using
1149 .Xr filemon 4 .
1150 The meta file is created in the OBJDIR as
1151 .Pa target.meta .
1152 These meta files track the command ran, its output, and the current directory.
1153 The
1154 .Xr filemon 4
1155 module is required unless
1156 .Va NO_FILEMON
1157 is defined.
1158 When the module is loaded, any files used by the commands executed will be
1159 tracked as
1160 dependencies for the target in its meta file.
1161 The target will be considered out-of-date and rebuilt if any of the following
1162 are true compared to the last build:
1163 .Bl -bullet -compact
1164 .It
1165 The command to execute changes.
1166 .It
1167 The current working directory changes.
1168 .It
1169 The target's meta file is missing.
1170 .It
1171 The target's meta file is missing filemon data when filemon is loaded
1172 and a previous run did not have it loaded.
1173 .It
1174 [requires
1175 .Xr filemon 4 ]
1176 Files read, executed or linked to are newer than the target.
1177 .It
1178 [requires
1179 .Xr filemon 4 ]
1180 Files read, written, executed or linked are missing.
1181 .El
1182 The meta files can also be useful for debugging.
1183 .Pp
1184 The build will hide commands ran unless
1185 .Va NO_SILENT
1186 is defined.
1187 Errors will cause
1188 .Xr make 1
1189 to show some of its environment for further debugging.
1190 .Pp
1191 The build operates as it normally would otherwise.
1192 This option originally invoked a different build system but that was renamed
1193 to
1194 .Va WITH_DIRDEPS_BUILD .
1195 .Pp
1196 This must be set in the environment, make command line, or
1197 .Pa /etc/src-env.conf ,
1198 not
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
1202 Set 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
1205 Set to not build programs and libraries
1206 related 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
1209 Set to not build
1210 .Xr nc 1
1211 utility.
1212 .It Va WITHOUT_NETGRAPH
1213 .\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
1214 Set to not build applications to support
1215 .Xr netgraph 4 .
1216 When 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
1228 Set 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
1231 Set to not build
1232 .Xr NIS 8
1233 support and related programs.
1234 If set, you might need to adopt your
1235 .Xr nsswitch.conf 5
1236 and remove
1237 .Sq nis
1238 entries.
1239 .It Va WITHOUT_NLS
1240 .\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
1241 Set 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
1244 Set 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
1248 Set to disable name caching in the
1249 .Pa nsswitch
1250 subsystem.
1251 The generic caching daemon,
1252 .Xr nscd 8 ,
1253 will 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
1256 Set to not build
1257 .Xr ntpd 8
1258 and related programs.
1259 .It Va WITH_OFED
1260 .\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
1261 Set to build the
1262 .Dq "OpenFabrics Enterprise Distribution"
1263 Infiniband software stack.
1264 .It Va WITH_OPENLDAP
1265 .\" from FreeBSD: head/tools/build/options/WITH_OPENLDAP 264902 2014-04-24 23:17:31Z imp
1266 Enable 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
1269 Set 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
1272 Set to not build OpenSSL.
1273 When 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
1284 When 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
1290 is 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
1294 Set to not build PAM library and modules.
1295 .Bf -symbolic
1296 This option is deprecated and does nothing.
1297 .Ef
1298 When 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
1306 Set to build some programs without PAM support, particularly
1307 .Xr ftpd 8
1308 and
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
1312 Set to not build
1313 .Xr pc-sysinstall 8
1314 and related programs.
1315 .It Va WITHOUT_PF
1316 .\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
1317 Set to not build PF firewall package.
1318 When 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
1326 Set to not build
1327 .Xr pkg 7
1328 bootstrap tool.
1329 .It Va WITHOUT_PMC
1330 .\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
1331 Set to not build
1332 .Xr pmccontrol 8
1333 and related programs.
1334 .It Va WITHOUT_PORTSNAP
1335 .\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
1336 Set to not build or install
1337 .Xr portsnap 8
1338 and related files.
1339 .It Va WITHOUT_PPP
1340 .\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
1341 Set to not build
1342 .Xr ppp 8
1343 and related programs.
1344 .It Va WITHOUT_PROFILE
1345 .\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
1346 Set 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
1349 Set to not build
1350 .Xr quota 1
1351 and 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
1354 Set to not build radius support into various applications, like
1355 .Xr pam_radius 8
1356 and
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
1360 Set 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
1364 Disable building of the
1365 .Bx
1366 r-commands.
1367 This includes
1368 .Xr rlogin 1 ,
1369 .Xr rsh 1 ,
1370 etc.
1371 .It Va WITHOUT_RESCUE
1372 .\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
1373 Set to not build
1374 .Xr rescue 8 .
1375 .It Va WITHOUT_ROUTED
1376 .\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
1377 Set to not build
1378 .Xr routed 8
1379 utility.
1380 .It Va WITHOUT_SENDMAIL
1381 .\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
1382 Set to not build
1383 .Xr sendmail 8
1384 and related programs.
1385 .It Va WITHOUT_SETUID_LOGIN
1386 .\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
1387 Set this to disable the installation of
1388 .Xr login 1
1389 as a set-user-ID root program.
1390 .It Va WITHOUT_SHAREDOCS
1391 .\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
1392 Set to not build the
1393 .Bx 4.4
1394 legacy docs.
1395 .It Va WITH_SHARED_TOOLCHAIN
1396 .\" from FreeBSD: head/tools/build/options/WITH_SHARED_TOOLCHAIN 235342 2012-05-12 16:12:36Z gjb
1397 Set to build the toolchain binaries shared.
1398 The set includes
1399 .Xr cc 1 ,
1400 .Xr make 1
1401 and necessary utilities like assembler, linker and library archive manager.
1402 .It Va WITH_SORT_THREADS
1403 .\" from FreeBSD: head/tools/build/options/WITH_SORT_THREADS 264158 2014-04-05 18:00:45Z imp
1404 Set to enable threads in
1405 .Xr sort 1 .
1406 .It Va WITHOUT_SOURCELESS
1407 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
1408 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1409 When set, it also enforces the following options:
1410 .Pp
1411 .Bl -item -compact
1412 .It
1413 .Va WITHOUT_SOURCELESS_HOST
1414 .It
1415 .Va WITHOUT_SOURCELESS_UCODE
1416 .El
1417 .It Va WITHOUT_SOURCELESS_HOST
1418 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
1419 Set to not build kernel modules that include sourceless native code for host CPU.
1420 .It Va WITHOUT_SOURCELESS_UCODE
1421 .\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
1422 Set to not build kernel modules that include sourceless microcode.
1423 .It Va WITHOUT_SSP
1424 .\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
1425 Set to not build world with propolice stack smashing protection.
1426 .Pp
1427 It is a default setting on
1428 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1429 .It Va WITH_STAGING
1430 .\" from FreeBSD: head/tools/build/options/WITH_STAGING 290816 2015-11-14 03:24:48Z sjg
1431 Enable staging of files to a stage tree.
1432 This can be best thought of as auto-install to
1433 .Va DESTDIR
1434 with some extra meta data to ensure dependencies can be tracked.
1435 Depends on
1436 .Va WITH_DIRDEPS_BUILD .
1437 When set, the following options are also in effect:
1438 .Pp
1439 .Bl -inset -compact
1440 .It Va WITH_STAGING_MAN
1441 (unless
1442 .Va WITHOUT_STAGING_MAN
1443 is set explicitly)
1444 .It Va WITH_STAGING_PROG
1445 (unless
1446 .Va WITHOUT_STAGING_PROG
1447 is set explicitly)
1448 .El
1449 .Pp
1450 This must be set in the environment, make command line, or
1451 .Pa /etc/src-env.conf ,
1452 not
1453 .Pa /etc/src.conf .
1454 .It Va WITH_STAGING_MAN
1455 .\" from FreeBSD: head/tools/build/options/WITH_STAGING_MAN 284708 2015-06-22 20:21:57Z sjg
1456 Enable staging of MAN pages to stage tree.
1457 .It Va WITH_STAGING_PROG
1458 .\" from FreeBSD: head/tools/build/options/WITH_STAGING_PROG 284708 2015-06-22 20:21:57Z sjg
1459 Enable staging of PROGs to stage tree.
1460 .It Va WITH_STALE_STAGED
1461 .\" from FreeBSD: head/tools/build/options/WITH_STALE_STAGED 284708 2015-06-22 20:21:57Z sjg
1462 Check staged files are not stale.
1463 .It Va WITH_SVN
1464 .\" from FreeBSD: head/tools/build/options/WITH_SVN 252561 2013-07-03 12:36:47Z zeising
1465 Set to install
1466 .Xr svnlite 1
1467 as
1468 .Xr svn 1 .
1469 .It Va WITHOUT_SVNLITE
1470 .\" from FreeBSD: head/tools/build/options/WITHOUT_SVNLITE 252561 2013-07-03 12:36:47Z zeising
1471 Set to not build
1472 .Xr svnlite 1
1473 and related programs.
1474 .It Va WITHOUT_SYMVER
1475 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
1476 Set to disable symbol versioning when building shared libraries.
1477 .It Va WITHOUT_SYSCONS
1478 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
1479 Set to not build
1480 .Xr syscons 4
1481 support files such as keyboard maps, fonts, and screen output maps.
1482 .It Va WITH_SYSROOT
1483 .\" from FreeBSD: head/tools/build/options/WITH_SYSROOT 290816 2015-11-14 03:24:48Z sjg
1484 Enable use of sysroot during build.
1485 Depends on
1486 .Va WITH_DIRDEPS_BUILD .
1487 .Pp
1488 This must be set in the environment, make command line, or
1489 .Pa /etc/src-env.conf ,
1490 not
1491 .Pa /etc/src.conf .
1492 .It Va WITHOUT_SYSTEM_COMPILER
1493 .\" from FreeBSD: head/tools/build/options/WITHOUT_SYSTEM_COMPILER 300354 2016-05-21 01:32:23Z bdrewery
1494 Set to not opportunistically skip building a cross-compiler during the
1495 bootstrap phase of the build.
1496 Normally, if the currently installed compiler matches the planned bootstrap
1497 compiler type and revision, then it will not be built.
1498 This does not prevent a compiler from being built for installation though,
1499 only for building one for the build itself.
1500 The
1501 .Va WITHOUT_CLANG
1502 and
1503 .Va WITHOUT_GCC
1504 options control those.
1505 .It Va WITHOUT_TALK
1506 .\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
1507 Set to not build or install
1508 .Xr talk 1
1509 and
1510 .Xr talkd 8 .
1511 .It Va WITHOUT_TCP_WRAPPERS
1512 .\" from FreeBSD: head/tools/build/options/WITHOUT_TCP_WRAPPERS 278192 2015-02-04 10:19:32Z ngie
1513 Set to not build or install
1514 .Xr tcpd 8 ,
1515 and related utilities.
1516 .It Va WITHOUT_TCSH
1517 .\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
1518 Set to not build and install
1519 .Pa /bin/csh
1520 (which is
1521 .Xr tcsh 1 ) .
1522 .It Va WITHOUT_TELNET
1523 .\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 296264 2016-03-01 11:36:10Z trasz
1524 Set to not build
1525 .Xr telnet 1
1526 and related programs.
1527 .It Va WITHOUT_TESTS
1528 .\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS 268778 2014-07-16 21:40:11Z jmmv
1529 Set to not build nor install the
1530 .Fx
1531 Test Suite in
1532 .Pa /usr/tests/ .
1533 See
1534 .Xr tests 7
1535 for more details.
1536 This also disables the build of all test-related dependencies, including ATF.
1537 When set, it also enforces the following options:
1538 .Pp
1539 .Bl -item -compact
1540 .It
1541 .Va WITHOUT_DTRACE_TESTS
1542 .It
1543 .Va WITHOUT_TESTS_SUPPORT
1544 .El
1545 .It Va WITHOUT_TESTS_SUPPORT
1546 .\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS_SUPPORT 274665 2014-11-18 17:06:50Z imp
1547 Set to disables the build of all test-related dependencies, including ATF.
1548 .It Va WITHOUT_TEXTPROC
1549 .\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
1550 Set to not build
1551 programs used for text processing.
1552 When set, it also enforces the following options:
1553 .Pp
1554 .Bl -item -compact
1555 .It
1556 .Va WITHOUT_GROFF
1557 .El
1558 .It Va WITHOUT_TFTP
1559 .\" from FreeBSD: head/tools/build/options/WITHOUT_TFTP 278192 2015-02-04 10:19:32Z ngie
1560 Set to not build or install
1561 .Xr tftp 1
1562 and
1563 .Xr tftpd 8 .
1564 .It Va WITHOUT_TIMED
1565 .\" from FreeBSD: head/tools/build/options/WITHOUT_TIMED 278192 2015-02-04 10:19:32Z ngie
1566 Set to not build or install
1567 .Xr timed 8 .
1568 .It Va WITHOUT_TOOLCHAIN
1569 .\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 297939 2016-04-13 20:55:05Z bdrewery
1570 Set to not install header or
1571 programs used for program development,
1572 compilers, debuggers etc.
1573 When set, it also enforces the following options:
1574 .Pp
1575 .Bl -item -compact
1576 .It
1577 .Va WITHOUT_BINUTILS
1578 .It
1579 .Va WITHOUT_CLANG
1580 .It
1581 .Va WITHOUT_CLANG_EXTRAS
1582 .It
1583 .Va WITHOUT_CLANG_FULL
1584 .It
1585 .Va WITHOUT_GCC
1586 .It
1587 .Va WITHOUT_GDB
1588 .It
1589 .Va WITHOUT_INCLUDES
1590 .It
1591 .Va WITHOUT_LLDB
1592 .El
1593 .It Va WITHOUT_UNBOUND
1594 .\" from FreeBSD: head/tools/build/options/WITHOUT_UNBOUND 255597 2013-09-15 14:51:23Z des
1595 Set to not build
1596 .Xr unbound 8
1597 and related programs.
1598 .It Va WITHOUT_USB
1599 .\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
1600 Set to not build USB-related programs and libraries.
1601 .It Va WITHOUT_USB_GADGET_EXAMPLES
1602 .\" from FreeBSD: head/tools/build/options/WITHOUT_USB_GADGET_EXAMPLES 274665 2014-11-18 17:06:50Z imp
1603 Set to build USB gadget kernel modules.
1604 .It Va WITHOUT_UTMPX
1605 .\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 231530 2012-02-11 20:28:42Z ed
1606 Set to not build user accounting tools such as
1607 .Xr last 1 ,
1608 .Xr users 1 ,
1609 .Xr who 1 ,
1610 .Xr ac 8 ,
1611 .Xr lastlogin 8
1612 and
1613 .Xr utx 8 .
1614 .It Va WITHOUT_VI
1615 .\" from FreeBSD: head/tools/build/options/WITHOUT_VI 264903 2014-04-24 23:17:40Z imp
1616 Set to not build and install vi, view, ex and related programs.
1617 .It Va WITHOUT_VT
1618 .\" from FreeBSD: head/tools/build/options/WITHOUT_VT 268022 2014-06-30 00:20:12Z emaste
1619 Set to not build
1620 .Xr vt 4
1621 support files (fonts and keymaps).
1622 .It Va WITHOUT_WARNS
1623 .\" from FreeBSD: head/tools/build/options/WITHOUT_WARNS 276559 2015-01-02 18:57:58Z bapt
1624 Set this to not add warning flags to the compiler invocations.
1625 Useful as a temporary workaround when code enters the tree
1626 which triggers warnings in environments that differ from the
1627 original developer.
1628 .It Va WITHOUT_WIRELESS
1629 .\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
1630 Set to not build programs used for 802.11 wireless networks; especially
1631 .Xr wpa_supplicant 8
1632 and
1633 .Xr hostapd 8 .
1634 When set, it also enforces the following options:
1635 .Pp
1636 .Bl -item -compact
1637 .It
1638 .Va WITHOUT_WIRELESS_SUPPORT
1639 .El
1640 .It Va WITHOUT_WIRELESS_SUPPORT
1641 .\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
1642 Set to build libraries, programs, and kernel modules without
1643 802.11 wireless support.
1644 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1645 .\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
1646 Build
1647 .Xr wpa_supplicant 8
1648 without support for the IEEE 802.1X protocol and without
1649 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1650 protocols (usable only via 802.1X).
1651 .It Va WITHOUT_ZFS
1652 .\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
1653 Set to not build ZFS file system.
1654 .It Va WITHOUT_ZONEINFO
1655 .\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 235342 2012-05-12 16:12:36Z gjb
1656 Set to not build the timezone database.
1657 .El
1658 .Sh FILES
1659 .Bl -tag -compact -width Pa
1660 .It Pa /etc/src.conf
1661 .It Pa /etc/src-env.conf
1662 .It Pa /usr/share/mk/bsd.own.mk
1663 .El
1664 .Sh SEE ALSO
1665 .Xr make 1 ,
1666 .Xr make.conf 5 ,
1667 .Xr build 7 ,
1668 .Xr ports 7
1669 .Sh HISTORY
1670 The
1671 .Nm
1672 file appeared in
1673 .Fx 7.0 .
1674 .Sh AUTHORS
1675 This manual page was autogenerated.