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