xref: /freebsd/share/man/man5/src.conf.5 (revision 5ec9cb893bd22bf2d47ab2fef29aae6ee5e1d131)
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 August 1, 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 286036 2015-07-29 20:02:20Z emaste
141Set to not build or install binutils (as, c++-filt,
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
277mips/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, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, 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 WITH_DTRACE_TESTS
418.\" from FreeBSD: head/tools/build/options/WITH_DTRACE_TESTS 286174 2015-08-02 00:37:33Z markj
419Set to build and install the DTrace test suite in
420.Pa /usr/tests/cddl/usr.sbin/dtrace .
421This test suite is considered experimental on architectures other than
422amd64/amd64 and running it may cause system instability.
423.It Va WITHOUT_DYNAMICROOT
424.\" from FreeBSD: head/tools/build/options/WITHOUT_DYNAMICROOT 156932 2006-03-21 07:50:50Z ru
425Set this if you do not want to link
426.Pa /bin
427and
428.Pa /sbin
429dynamically.
430.It Va WITHOUT_ED_CRYPTO
431.\" from FreeBSD: head/tools/build/options/WITHOUT_ED_CRYPTO 235660 2012-05-19 20:05:27Z marcel
432Set to build
433.Xr ed 1
434without support for encryption/decryption.
435.It Va WITHOUT_EE
436.\" from FreeBSD: head/tools/build/options/WITHOUT_EE 277663 2015-01-25 00:03:44Z ngie
437Set to not build and install
438.Xr edit 1 ,
439.Xr ee 1 ,
440and related programs.
441.It Va WITH_EISA
442.\" from FreeBSD: head/tools/build/options/WITH_EISA 264654 2014-04-18 16:53:06Z imp
443Set to build EISA kernel modules.
444.It Va WITHOUT_ELFCOPY_AS_OBJCOPY
445.\" from FreeBSD: head/tools/build/options/WITHOUT_ELFCOPY_AS_OBJCOPY 286030 2015-07-29 18:45:38Z emaste
446Set to build and install
447.Xr objcopy 1
448from GNU Binutils, instead of the one from ELF Tool Chain.
449.Pp
450It is a default setting on
451amd64/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.
452.It Va WITH_ELFCOPY_AS_OBJCOPY
453.\" from FreeBSD: head/tools/build/options/WITH_ELFCOPY_AS_OBJCOPY 286030 2015-07-29 18:45:38Z emaste
454Set to build and install ELF Tool Chain's elfcopy as
455.Xr objcopy 1 ,
456instead of the one from GNU Binutils.
457.Pp
458It is a default setting on
459arm64/aarch64.
460.It Va WITHOUT_ELFTOOLCHAIN_TOOLS
461.\" from FreeBSD: head/tools/build/options/WITHOUT_ELFTOOLCHAIN_TOOLS 286016 2015-07-29 15:42:22Z emaste
462Set to use
463.Xr addr2line 1 ,
464.Xr c++filt 1 ,
465.Xr nm 1 ,
466.Xr readelf 1 ,
467.Xr size 1 ,
468.Xr strings 1 ,
469and
470.Xr strip 1
471from GNU binutils instead of the ELF Tool Chain project.
472.It Va WITHOUT_EXAMPLES
473.\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 09:06:24Z ru
474Set to avoid installing examples to
475.Pa /usr/share/examples/ .
476.It Va WITHOUT_FDT
477.\" from FreeBSD: head/tools/build/options/WITHOUT_FDT 221539 2011-05-06 19:10:27Z ru
478Set to not build Flattened Device Tree support as part of the base system.
479This includes the device tree compiler (dtc) and libfdt support library.
480.It Va WITHOUT_FILE
481.\" from FreeBSD: head/tools/build/options/WITHOUT_FILE 278193 2015-02-04 10:24:40Z ngie
482Set to not build
483.Xr file 1
484and related programs.
485.It Va WITHOUT_FINGER
486.\" from FreeBSD: head/tools/build/options/WITHOUT_FINGER 278192 2015-02-04 10:19:32Z ngie
487Set to not build or install
488.Xr finger 1
489and
490.Xr fingerd 8 .
491.It Va WITHOUT_FLOPPY
492.\" from FreeBSD: head/tools/build/options/WITHOUT_FLOPPY 221540 2011-05-06 19:13:03Z ru
493Set to not build or install programs
494for operating floppy disk driver.
495.It Va WITHOUT_FMTREE
496.\" from FreeBSD: head/tools/build/options/WITHOUT_FMTREE 261299 2014-01-30 21:37:43Z brooks
497Set to not build and install
498.Pa /usr/sbin/fmtree .
499.It Va WITHOUT_FORMAT_EXTENSIONS
500.\" from FreeBSD: head/tools/build/options/WITHOUT_FORMAT_EXTENSIONS 250658 2013-05-15 13:04:10Z brooks
501Set to not enable
502.Fl fformat-extensions
503when compiling the kernel.
504Also disables all format checking.
505.It Va WITHOUT_FORTH
506.\" from FreeBSD: head/tools/build/options/WITHOUT_FORTH 156932 2006-03-21 07:50:50Z ru
507Set to build bootloaders without Forth support.
508.It Va WITHOUT_FP_LIBC
509.\" from FreeBSD: head/tools/build/options/WITHOUT_FP_LIBC 156932 2006-03-21 07:50:50Z ru
510Set to build
511.Nm libc
512without floating-point support.
513.It Va WITHOUT_FREEBSD_UPDATE
514.\" from FreeBSD: head/tools/build/options/WITHOUT_FREEBSD_UPDATE 183242 2008-09-21 22:02:26Z sam
515Set to not build
516.Xr freebsd-update 8 .
517.It Va WITHOUT_FTP
518.\" from FreeBSD: head/tools/build/options/WITHOUT_FTP 278192 2015-02-04 10:19:32Z ngie
519Set to not build or install
520.Xr ftp 1
521and
522.Xr ftpd 8 .
523.It Va WITHOUT_GAMES
524.\" from FreeBSD: head/tools/build/options/WITHOUT_GAMES 156932 2006-03-21 07:50:50Z ru
525Set to not build games.
526.It Va WITHOUT_GCC
527.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC 264660 2014-04-18 17:03:58Z imp
528Set to not build and install gcc and g++ as part of the normal build process.
529.Pp
530It is a default setting on
531amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
532.It Va WITH_GCC
533.\" from FreeBSD: head/tools/build/options/WITH_GCC 255326 2013-09-06 20:49:48Z zeising
534Set to build and install gcc and g++.
535.Pp
536It is a default setting on
537mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
538.It Va WITHOUT_GCC_BOOTSTRAP
539.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
540Set to not build gcc and g++ as part of the bootstrap process.
541You must enable either gcc or clang bootstrap to be able to build the system,
542unless an alternative compiler is provided via
543XCC.
544.Pp
545It is a default setting on
546amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
547.It Va WITH_GCC_BOOTSTRAP
548.\" from FreeBSD: head/tools/build/options/WITH_GCC_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
549Set to build gcc and g++ as part of the bootstrap process.
550.Pp
551It is a default setting on
552mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
553.It Va WITHOUT_GCOV
554.\" from FreeBSD: head/tools/build/options/WITHOUT_GCOV 156932 2006-03-21 07:50:50Z ru
555Set to not build the
556.Xr gcov 1
557tool.
558.It Va WITHOUT_GDB
559.\" from FreeBSD: head/tools/build/options/WITHOUT_GDB 156932 2006-03-21 07:50:50Z ru
560Set to not build
561.Xr gdb 1 .
562.Pp
563It is a default setting on
564arm64/aarch64.
565.It Va WITHOUT_GNU
566.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU 174550 2007-12-12 16:43:17Z ru
567Set to not build contributed GNU software as a part of the base system.
568This option can be useful if the system built must not contain any code
569covered by the GNU Public License due to legal reasons.
570.Bf -symbolic
571The option has no effect yet.
572.Ef
573When set, it also enforces the following options:
574.Pp
575.Bl -item -compact
576.It
577.Va WITHOUT_GNU_SUPPORT
578.El
579.It Va WITHOUT_GNUCXX
580.\" from FreeBSD: head/tools/build/options/WITHOUT_GNUCXX 255321 2013-09-06 20:08:03Z theraven
581Do not build the GNU C++ stack (g++, libstdc++).
582This is the default on platforms where clang is the system compiler.
583.Pp
584It is a default setting on
585amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv6hf, arm64/aarch64, i386/i386 and pc98/i386.
586.It Va WITH_GNUCXX
587.\" from FreeBSD: head/tools/build/options/WITH_GNUCXX 255321 2013-09-06 20:08:03Z theraven
588Build the GNU C++ stack (g++, libstdc++).
589This is the default on platforms where gcc is the system compiler.
590.Pp
591It is a default setting on
592mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
593.It Va WITHOUT_GNU_GREP_COMPAT
594.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT 273421 2014-10-21 20:44:33Z emaste
595Set this option to omit the gnu extensions to grep from being included in
596BSD grep.
597.It Va WITHOUT_GNU_SUPPORT
598.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_SUPPORT 156932 2006-03-21 07:50:50Z ru
599Set to build some programs without optional GNU support.
600.It Va WITHOUT_GPIO
601.\" from FreeBSD: head/tools/build/options/WITHOUT_GPIO 228081 2011-11-28 17:54:34Z dim
602Set to not build
603.Xr gpioctl 8
604as part of the base system.
605.It Va WITHOUT_GPL_DTC
606.\" from FreeBSD: head/tools/build/options/WITHOUT_GPL_DTC 264515 2014-04-15 20:41:55Z imp
607Set to build the BSD licensed version of the device tree compiler, instead of the
608GPL'd one from elinux.org.
609.It Va WITHOUT_GROFF
610.\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs
611Set to not build
612.Xr groff 1
613and
614.Xr vgrind 1 .
615You should consider installing the textproc/groff port to not break
616.Xr man 1 .
617.It Va WITHOUT_GSSAPI
618.\" from FreeBSD: head/tools/build/options/WITHOUT_GSSAPI 174548 2007-12-12 16:39:32Z ru
619Set to not build libgssapi.
620.It Va WITHOUT_HAST
621.\" from FreeBSD: head/tools/build/options/WITHOUT_HAST 277725 2015-01-26 06:27:07Z ngie
622Set to not build
623.Xr hastd 8
624and related utilities.
625.It Va WITH_HESIOD
626.\" from FreeBSD: head/tools/build/options/WITH_HESIOD 156932 2006-03-21 07:50:50Z ru
627Set to build Hesiod support.
628.It Va WITHOUT_HTML
629.\" from FreeBSD: head/tools/build/options/WITHOUT_HTML 156932 2006-03-21 07:50:50Z ru
630Set to not build HTML docs.
631.It Va WITHOUT_HYPERV
632.\" from FreeBSD: head/tools/build/options/WITHOUT_HYPERV 271493 2014-09-13 02:15:31Z delphij
633Set to not build or install HyperV utilities.
634.It Va WITHOUT_ICONV
635.\" from FreeBSD: head/tools/build/options/WITHOUT_ICONV 254919 2013-08-26 17:15:56Z antoine
636Set to not build iconv as part of libc.
637.It Va WITHOUT_INCLUDES
638.\" from FreeBSD: head/tools/build/options/WITHOUT_INCLUDES 275138 2014-11-26 20:43:09Z gjb
639Set to not install header files.
640This option used to be spelled
641.Va NO_INCS .
642.Bf -symbolic
643The option does not work for build targets.
644.Ef
645.It Va WITHOUT_INET
646.\" from FreeBSD: head/tools/build/options/WITHOUT_INET 221266 2011-04-30 17:58:28Z bz
647Set to not build programs and libraries related to IPv4 networking.
648When set, it also enforces the following options:
649.Pp
650.Bl -item -compact
651.It
652.Va WITHOUT_INET_SUPPORT
653.El
654.It Va WITHOUT_INET6
655.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6 156932 2006-03-21 07:50:50Z ru
656Set to not build
657programs and libraries related to IPv6 networking.
658When set, it also enforces the following options:
659.Pp
660.Bl -item -compact
661.It
662.Va WITHOUT_INET6_SUPPORT
663.El
664.It Va WITHOUT_INET6_SUPPORT
665.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6_SUPPORT 156932 2006-03-21 07:50:50Z ru
666Set to build libraries, programs, and kernel modules without IPv6 support.
667.It Va WITHOUT_INETD
668.\" from FreeBSD: head/tools/build/options/WITHOUT_INETD 278192 2015-02-04 10:19:32Z ngie
669Set to not build
670.Xr inetd 8 .
671.It Va WITHOUT_INET_SUPPORT
672.\" from FreeBSD: head/tools/build/options/WITHOUT_INET_SUPPORT 221266 2011-04-30 17:58:28Z bz
673Set to build libraries, programs, and kernel modules without IPv4 support.
674.It Va WITHOUT_INSTALLLIB
675.\" from FreeBSD: head/tools/build/options/WITHOUT_INSTALLLIB 174497 2007-12-09 21:56:21Z dougb
676Set this if you do not want to install optional libraries.
677For example when creating a
678.Xr nanobsd 8
679image.
680.It Va WITH_INSTALL_AS_USER
681.\" from FreeBSD: head/tools/build/options/WITH_INSTALL_AS_USER 238021 2012-07-02 20:24:01Z marcel
682Set to make install targets succeed for non-root users by installing
683files with owner and group attributes set to that of the user running
684the
685.Xr make 1
686command.
687The user still has to set the
688.Va DESTDIR
689variable to point to a directory where the user has write permissions.
690.It Va WITHOUT_IPFILTER
691.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFILTER 156932 2006-03-21 07:50:50Z ru
692Set to not build IP Filter package.
693.It Va WITHOUT_IPFW
694.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFW 183242 2008-09-21 22:02:26Z sam
695Set to not build IPFW tools.
696.It Va WITHOUT_ISCSI
697.\" from FreeBSD: head/tools/build/options/WITHOUT_ISCSI 277675 2015-01-25 04:20:11Z ngie
698Set to not build
699.Xr iscid 8
700and related utilities.
701.It Va WITHOUT_JAIL
702.\" from FreeBSD: head/tools/build/options/WITHOUT_JAIL 249966 2013-04-27 04:09:09Z eadler
703Set to not build tools for the support of jails; e.g.,
704.Xr jail 8 .
705.It Va WITHOUT_KDUMP
706.\" from FreeBSD: head/tools/build/options/WITHOUT_KDUMP 240690 2012-09-19 11:38:37Z zeising
707Set to not build
708.Xr kdump 1
709and
710.Xr truss 1 .
711.It Va WITHOUT_KERBEROS
712.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS 174549 2007-12-12 16:42:03Z ru
713Set this if you do not want to build Kerberos 5 (KTH Heimdal).
714When set, it also enforces the following options:
715.Pp
716.Bl -item -compact
717.It
718.Va WITHOUT_KERBEROS_SUPPORT
719.El
720.Pp
721When set, the following options are also in effect:
722.Pp
723.Bl -inset -compact
724.It Va WITHOUT_GSSAPI
725(unless
726.Va WITH_GSSAPI
727is set explicitly)
728.El
729.It Va WITHOUT_KERBEROS_SUPPORT
730.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS_SUPPORT 251794 2013-06-15 20:29:07Z eadler
731Set to build some programs without Kerberos support, like
732.Xr ssh 1 ,
733.Xr telnet 1 ,
734.Xr sshd 8 ,
735and
736.Xr telnetd 8 .
737.It Va WITHOUT_KERNEL_SYMBOLS
738.\" from FreeBSD: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS 222189 2011-05-22 18:23:17Z imp
739Set to not install kernel symbol files.
740.Bf -symbolic
741This option is recommended for those people who have small root partitions.
742.Ef
743.It Va WITHOUT_KVM
744.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM 174550 2007-12-12 16:43:17Z ru
745Set to not build the
746.Nm libkvm
747library as a part of the base system.
748.Bf -symbolic
749The option has no effect yet.
750.Ef
751When set, it also enforces the following options:
752.Pp
753.Bl -item -compact
754.It
755.Va WITHOUT_KVM_SUPPORT
756.El
757.It Va WITHOUT_KVM_SUPPORT
758.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM_SUPPORT 170644 2007-06-13 02:08:04Z sepotvin
759Set to build some programs without optional
760.Nm libkvm
761support.
762.It Va WITHOUT_LDNS
763.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS 255591 2013-09-15 13:11:13Z des
764Setting this variable will prevent the LDNS library from being built.
765When set, it also enforces the following options:
766.Pp
767.Bl -item -compact
768.It
769.Va WITHOUT_LDNS_UTILS
770.It
771.Va WITHOUT_UNBOUND
772.El
773.It Va WITHOUT_LDNS_UTILS
774.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS_UTILS 255850 2013-09-24 14:33:31Z des
775Setting this variable will prevent building the LDNS utilities
776.Xr drill 1
777and
778.Xr host 1 .
779.It Va WITHOUT_LEGACY_CONSOLE
780.\" from FreeBSD: head/tools/build/options/WITHOUT_LEGACY_CONSOLE 249966 2013-04-27 04:09:09Z eadler
781Set to not build programs that support a legacy PC console; e.g.,
782.Xr kbdcontrol 8
783and
784.Xr vidcontrol 8 .
785.It Va WITHOUT_LIB32
786.\" from FreeBSD: head/tools/build/options/WITHOUT_LIB32 274664 2014-11-18 17:06:48Z imp
787On 64-bit platforms, set to not build 32-bit library set and a
788.Nm ld-elf32.so.1
789runtime linker.
790.It Va WITHOUT_LIBCPLUSPLUS
791.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBCPLUSPLUS 246262 2013-02-02 22:42:46Z dim
792Set to avoid building libcxxrt and libc++.
793.It Va WITHOUT_LIBPTHREAD
794.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 188848 2009-02-20 11:09:55Z mtm
795Set to not build the
796.Nm libpthread
797providing library,
798.Nm libthr .
799When set, it also enforces the following options:
800.Pp
801.Bl -item -compact
802.It
803.Va WITHOUT_LIBTHR
804.El
805.It Va WITHOUT_LIBTHR
806.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBTHR 156932 2006-03-21 07:50:50Z ru
807Set to not build the
808.Nm libthr
809(1:1 threading)
810library.
811.It Va WITH_LLDB
812.\" from FreeBSD: head/tools/build/options/WITH_LLDB 255722 2013-09-20 01:52:02Z emaste
813Set to build the LLDB debugger.
814.It Va WITHOUT_LOCALES
815.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCALES 156932 2006-03-21 07:50:50Z ru
816Set to not build localization files; see
817.Xr locale 1 .
818.It Va WITHOUT_LOCATE
819.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCATE 183242 2008-09-21 22:02:26Z sam
820Set to not build
821.Xr locate 1
822and related programs.
823.It Va WITHOUT_LPR
824.\" from FreeBSD: head/tools/build/options/WITHOUT_LPR 156932 2006-03-21 07:50:50Z ru
825Set to not build
826.Xr lpr 1
827and related programs.
828.It Va WITHOUT_LS_COLORS
829.\" from FreeBSD: head/tools/build/options/WITHOUT_LS_COLORS 235660 2012-05-19 20:05:27Z marcel
830Set to build
831.Xr ls 1
832without support for colors to distinguish file types.
833.It Va WITHOUT_LZMA_SUPPORT
834.\" from FreeBSD: head/tools/build/options/WITHOUT_LZMA_SUPPORT 245171 2013-01-08 18:37:12Z obrien
835Set to build some programs without optional lzma compression support.
836.It Va WITHOUT_MAIL
837.\" from FreeBSD: head/tools/build/options/WITHOUT_MAIL 183242 2008-09-21 22:02:26Z sam
838Set to not build any mail support (MUA or MTA).
839When set, it also enforces the following options:
840.Pp
841.Bl -item -compact
842.It
843.Va WITHOUT_DMAGENT
844.It
845.Va WITHOUT_MAILWRAPPER
846.It
847.Va WITHOUT_SENDMAIL
848.El
849.It Va WITHOUT_MAILWRAPPER
850.\" from FreeBSD: head/tools/build/options/WITHOUT_MAILWRAPPER 156932 2006-03-21 07:50:50Z ru
851Set to not build the
852.Xr mailwrapper 8
853MTA selector.
854.It Va WITHOUT_MAKE
855.\" from FreeBSD: head/tools/build/options/WITHOUT_MAKE 183242 2008-09-21 22:02:26Z sam
856Set to not install
857.Xr make 1
858and related support files.
859.It Va WITHOUT_MAN
860.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN 156932 2006-03-21 07:50:50Z ru
861Set to not build manual pages.
862When set, the following options are also in effect:
863.Pp
864.Bl -inset -compact
865.It Va WITHOUT_MAN_UTILS
866(unless
867.Va WITH_MAN_UTILS
868is set explicitly)
869.El
870.It Va WITHOUT_MANCOMPRESS
871.\" from FreeBSD: head/tools/build/options/WITHOUT_MANCOMPRESS 266752 2014-05-27 15:52:27Z gjb
872Set to not to install compressed man pages.
873Only the uncompressed versions will be installed.
874.It Va WITHOUT_MANDOCDB
875.\" from FreeBSD: head/tools/build/options/WITHOUT_MANDOCDB 283777 2015-05-30 17:41:37Z bapt
876Use the
877.Xr mandoc 1
878version of
879.Xr makewhatis 8
880database and utilities.
881.It Va WITHOUT_MAN_UTILS
882.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN_UTILS 208322 2010-05-20 00:07:21Z jkim
883Set to not build utilities for manual pages,
884.Xr apropos 1 ,
885.Xr catman 1 ,
886.Xr makewhatis 1 ,
887.Xr man 1 ,
888.Xr whatis 1 ,
889.Xr manctl 8 ,
890and related support files.
891.It Va WITH_META_FILES
892.\" from FreeBSD: head/tools/build/options/WITH_META_FILES 284708 2015-06-22 20:21:57Z sjg
893Create meta files during non META_MODE build.
894The meta files can be useful for debugging.
895.It Va WITH_META_MODE
896.\" from FreeBSD: head/tools/build/options/WITH_META_MODE 284708 2015-06-22 20:21:57Z sjg
897Enable building in meta mode.
898.Pp
899The build is driven by dirdeps.mk using DIRDEPS stored in
900Makefile.depend files found in each directory.
901.Pp
902The build can be started from anywhere, and behaves the same.
903The initial instance of make recursively reads DIRDEPS from Makefile.depend
904computing a graph of tree dependencies from the current origin.
905See http://www.crufty.net/help/sjg/dirdeps.htm
906.Pp
907As each target is made
908.Xr make 1
909produces a meta file which is used to capture (and compare)
910the command line,
911as well as any command output.
912If
913.Xr filemon 4
914is available the meta file will also capture a record of syscalls
915used to produce the target.
916When set, it also enforces the following options:
917.Pp
918.Bl -item -compact
919.It
920.Va WITH_AUTO_OBJ
921.It
922.Va WITH_INSTALL_AS_USER
923.It
924.Va WITH_STAGING
925.It
926.Va WITH_SYSROOT
927.El
928.Pp
929When set, the following options are also in effect:
930.Pp
931.Bl -inset -compact
932.It Va WITH_STAGING_MAN
933(unless
934.Va WITHOUT_STAGING_MAN
935is set explicitly)
936.It Va WITH_STAGING_PROG
937(unless
938.Va WITHOUT_STAGING_PROG
939is set explicitly)
940.El
941.It Va WITH_NAND
942.\" from FreeBSD: head/tools/build/options/WITH_NAND 235537 2012-05-17 10:11:18Z gber
943Set to build the NAND Flash components.
944.It Va WITHOUT_NDIS
945.\" from FreeBSD: head/tools/build/options/WITHOUT_NDIS 183242 2008-09-21 22:02:26Z sam
946Set to not build programs and libraries
947related to NDIS emulation support.
948.It Va WITHOUT_NETCAT
949.\" from FreeBSD: head/tools/build/options/WITHOUT_NETCAT 156932 2006-03-21 07:50:50Z ru
950Set to not build
951.Xr nc 1
952utility.
953.It Va WITHOUT_NETGRAPH
954.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
955Set to not build applications to support
956.Xr netgraph 4 .
957When set, it also enforces the following options:
958.Pp
959.Bl -item -compact
960.It
961.Va WITHOUT_ATM
962.It
963.Va WITHOUT_BLUETOOTH
964.It
965.Va WITHOUT_NETGRAPH_SUPPORT
966.El
967.It Va WITHOUT_NETGRAPH_SUPPORT
968.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH_SUPPORT 183305 2008-09-23 16:11:15Z sam
969Set to build libraries, programs, and kernel modules without netgraph support.
970.It Va WITHOUT_NIS
971.\" from FreeBSD: head/tools/build/options/WITHOUT_NIS 156932 2006-03-21 07:50:50Z ru
972Set to not build
973.Xr NIS 8
974support and related programs.
975If set, you might need to adopt your
976.Xr nsswitch.conf 5
977and remove
978.Sq nis
979entries.
980.It Va WITHOUT_NLS
981.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
982Set to not build NLS catalogs.
983.It Va WITHOUT_NLS_CATALOGS
984.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
985Set to not build NLS catalog support for
986.Xr csh 1 .
987.It Va WITHOUT_NS_CACHING
988.\" from FreeBSD: head/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
989Set to disable name caching in the
990.Pa nsswitch
991subsystem.
992The generic caching daemon,
993.Xr nscd 8 ,
994will not be built either if this option is set.
995.It Va WITHOUT_NTP
996.\" from FreeBSD: head/tools/build/options/WITHOUT_NTP 183242 2008-09-21 22:02:26Z sam
997Set to not build
998.Xr ntpd 8
999and related programs.
1000.It Va WITH_OFED
1001.\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
1002Set to build the
1003.Dq "OpenFabrics Enterprise Distribution"
1004Infiniband software stack.
1005.It Va WITH_OPENLDAP
1006.\" from FreeBSD: head/tools/build/options/WITH_OPENLDAP 264902 2014-04-24 23:17:31Z imp
1007Enable building openldap support for kerberos.
1008.It Va WITHOUT_OPENSSH
1009.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSH 156932 2006-03-21 07:50:50Z ru
1010Set to not build OpenSSH.
1011.It Va WITH_OPENSSH_NONE_CIPHER
1012.\" from FreeBSD: head/tools/build/options/WITH_OPENSSH_NONE_CIPHER 245527 2013-01-17 01:51:04Z bz
1013Set to include the "None" cipher support in OpenSSH and its libraries.
1014Additional adjustments may need to be done to system configuration
1015files, such as
1016.Xr sshd_config 5 ,
1017to enable this cipher.
1018Please see
1019.Pa /usr/src/crypto/openssh/README.hpn
1020for full details.
1021.It Va WITHOUT_OPENSSL
1022.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSL 156932 2006-03-21 07:50:50Z ru
1023Set to not build OpenSSL.
1024When set, it also enforces the following options:
1025.Pp
1026.Bl -item -compact
1027.It
1028.Va WITHOUT_KERBEROS
1029.It
1030.Va WITHOUT_KERBEROS_SUPPORT
1031.It
1032.Va WITHOUT_OPENSSH
1033.El
1034.Pp
1035When set, the following options are also in effect:
1036.Pp
1037.Bl -inset -compact
1038.It Va WITHOUT_GSSAPI
1039(unless
1040.Va WITH_GSSAPI
1041is set explicitly)
1042.El
1043.It Va WITHOUT_PAM
1044.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM 174550 2007-12-12 16:43:17Z ru
1045Set to not build PAM library and modules.
1046.Bf -symbolic
1047This option is deprecated and does nothing.
1048.Ef
1049When set, it also enforces the following options:
1050.Pp
1051.Bl -item -compact
1052.It
1053.Va WITHOUT_PAM_SUPPORT
1054.El
1055.It Va WITHOUT_PAM_SUPPORT
1056.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM_SUPPORT 156932 2006-03-21 07:50:50Z ru
1057Set to build some programs without PAM support, particularly
1058.Xr ftpd 8
1059and
1060.Xr ppp 8 .
1061.It Va WITHOUT_PC_SYSINSTALL
1062.\" from FreeBSD: head/tools/build/options/WITHOUT_PC_SYSINSTALL 245606 2013-01-18 15:57:09Z eadler
1063Set to not build
1064.Xr pc-sysinstall 8
1065and related programs.
1066.It Va WITHOUT_PF
1067.\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
1068Set to not build PF firewall package.
1069When set, it also enforces the following options:
1070.Pp
1071.Bl -item -compact
1072.It
1073.Va WITHOUT_AUTHPF
1074.El
1075.It Va WITHOUT_PKGBOOTSTRAP
1076.\" from FreeBSD: head/tools/build/options/WITHOUT_PKGBOOTSTRAP 258924 2013-12-04 15:58:42Z bdrewery
1077Set to not build
1078.Xr pkg 7
1079bootstrap tool.
1080.It Va WITHOUT_PMC
1081.\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
1082Set to not build
1083.Xr pmccontrol 8
1084and related programs.
1085.It Va WITHOUT_PORTSNAP
1086.\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
1087Set to not build or install
1088.Xr portsnap 8
1089and related files.
1090.It Va WITHOUT_PPP
1091.\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
1092Set to not build
1093.Xr ppp 8
1094and related programs.
1095.It Va WITHOUT_PROFILE
1096.\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
1097Set to avoid compiling profiled libraries.
1098.It Va WITHOUT_QUOTAS
1099.\" from FreeBSD: head/tools/build/options/WITHOUT_QUOTAS 183242 2008-09-21 22:02:26Z sam
1100Set to not build
1101.Xr quota 8
1102and related programs.
1103.It Va WITHOUT_RADIUS_SUPPORT
1104.\" from FreeBSD: head/tools/build/options/WITHOUT_RADIUS_SUPPORT 278182 2015-02-04 06:53:45Z ngie
1105Set to not build radius support into various applications, like
1106.Xr pam_radius 8
1107and
1108.Xr ppp 8 .
1109.It Va WITHOUT_RBOOTD
1110.\" from FreeBSD: head/tools/build/options/WITHOUT_RBOOTD 278192 2015-02-04 10:19:32Z ngie
1111Set to not build or install
1112.Xr rbootd 8 .
1113.It Va WITHOUT_RCMDS
1114.\" from FreeBSD: head/tools/build/options/WITHOUT_RCMDS 156932 2006-03-21 07:50:50Z ru
1115Disable building of the
1116.Bx
1117r-commands.
1118This includes
1119.Xr rlogin 1 ,
1120.Xr rsh 1 ,
1121etc.
1122.It Va WITHOUT_RCS
1123.\" from FreeBSD: head/tools/build/options/WITHOUT_RCS 275138 2014-11-26 20:43:09Z gjb
1124Set to not build
1125.Xr rcs 1 ,
1126.Xr etcupdate 8 ,
1127and related utilities.
1128.It Va WITHOUT_RESCUE
1129.\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
1130Set to not build
1131.Xr rescue 8 .
1132.It Va WITHOUT_ROUTED
1133.\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
1134Set to not build
1135.Xr routed 8
1136utility.
1137.It Va WITHOUT_SENDMAIL
1138.\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
1139Set to not build
1140.Xr sendmail 8
1141and related programs.
1142.It Va WITHOUT_SETUID_LOGIN
1143.\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
1144Set this to disable the installation of
1145.Xr login 1
1146as a set-user-ID root program.
1147.It Va WITHOUT_SHAREDOCS
1148.\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
1149Set to not build the
1150.Bx 4.4
1151legacy docs.
1152.It Va WITH_SHARED_TOOLCHAIN
1153.\" from FreeBSD: head/tools/build/options/WITH_SHARED_TOOLCHAIN 235342 2012-05-12 16:12:36Z gjb
1154Set to build the toolchain binaries shared.
1155The set includes
1156.Xr cc 1 ,
1157.Xr make 1
1158and necessary utilities like assembler, linker and library archive manager.
1159.It Va WITH_SORT_THREADS
1160.\" from FreeBSD: head/tools/build/options/WITH_SORT_THREADS 264158 2014-04-05 18:00:45Z imp
1161Set to enable threads in
1162.Xr sort 1 .
1163.It Va WITHOUT_SOURCELESS
1164.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
1165Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1166When set, it also enforces the following options:
1167.Pp
1168.Bl -item -compact
1169.It
1170.Va WITHOUT_SOURCELESS_HOST
1171.It
1172.Va WITHOUT_SOURCELESS_UCODE
1173.El
1174.It Va WITHOUT_SOURCELESS_HOST
1175.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
1176Set to not build kernel modules that include sourceless native code for host CPU.
1177.It Va WITHOUT_SOURCELESS_UCODE
1178.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
1179Set to not build kernel modules that include sourceless microcode.
1180.It Va WITHOUT_SSP
1181.\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
1182Set to not build world with propolice stack smashing protection.
1183.It Va WITH_STAGING
1184.\" from FreeBSD: head/tools/build/options/WITH_STAGING 284708 2015-06-22 20:21:57Z sjg
1185Enable staging of files to a stage tree.
1186This can be best thought of as auto-install to
1187.Va DESTDIR
1188with some extra meta data to ensure dependencies can be tracked.
1189Depends on
1190.Va WITH_META_MODE .
1191When set, the following options are also in effect:
1192.Pp
1193.Bl -inset -compact
1194.It Va WITH_STAGING_MAN
1195(unless
1196.Va WITHOUT_STAGING_MAN
1197is set explicitly)
1198.It Va WITH_STAGING_PROG
1199(unless
1200.Va WITHOUT_STAGING_PROG
1201is set explicitly)
1202.El
1203.It Va WITH_STAGING_MAN
1204.\" from FreeBSD: head/tools/build/options/WITH_STAGING_MAN 284708 2015-06-22 20:21:57Z sjg
1205Enable staging of MAN pages to stage tree.
1206.It Va WITH_STAGING_PROG
1207.\" from FreeBSD: head/tools/build/options/WITH_STAGING_PROG 284708 2015-06-22 20:21:57Z sjg
1208Enable staging of PROGs to stage tree.
1209.It Va WITH_STALE_STAGED
1210.\" from FreeBSD: head/tools/build/options/WITH_STALE_STAGED 284708 2015-06-22 20:21:57Z sjg
1211Check staged files are not stale.
1212.It Va WITH_SVN
1213.\" from FreeBSD: head/tools/build/options/WITH_SVN 252561 2013-07-03 12:36:47Z zeising
1214Set to install
1215.Xr svnlite 1
1216as
1217.Xr svn 1 .
1218.It Va WITHOUT_SVNLITE
1219.\" from FreeBSD: head/tools/build/options/WITHOUT_SVNLITE 252561 2013-07-03 12:36:47Z zeising
1220Set to not build
1221.Xr svnlite 1
1222and related programs.
1223.It Va WITHOUT_SYMVER
1224.\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
1225Set to disable symbol versioning when building shared libraries.
1226.It Va WITHOUT_SYSCONS
1227.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
1228Set to not build
1229.Xr syscons 4
1230support files such as keyboard maps, fonts, and screen output maps.
1231.It Va WITHOUT_SYSINSTALL
1232.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSINSTALL 183242 2008-09-21 22:02:26Z sam
1233Set to not build
1234.Xr sysinstall 8
1235and related programs.
1236.It Va WITH_SYSROOT
1237.\" from FreeBSD: head/tools/build/options/WITH_SYSROOT 284708 2015-06-22 20:21:57Z sjg
1238Enable use of sysroot during build.
1239Depends on
1240.Va WITH_META_MODE .
1241.It Va WITHOUT_TALK
1242.\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
1243Set to not build or install
1244.Xr talk 1
1245and
1246.Xr talkd 8 .
1247.It Va WITHOUT_TCP_WRAPPERS
1248.\" from FreeBSD: head/tools/build/options/WITHOUT_TCP_WRAPPERS 278192 2015-02-04 10:19:32Z ngie
1249Set to not build or install
1250.Xr tcpd 8 ,
1251and related utilities.
1252.It Va WITHOUT_TCSH
1253.\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
1254Set to not build and install
1255.Pa /bin/csh
1256(which is
1257.Xr tcsh 1 ) .
1258.It Va WITHOUT_TELNET
1259.\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 183242 2008-09-21 22:02:26Z sam
1260Set to not build
1261.Xr telnet 8
1262and related programs.
1263.It Va WITHOUT_TESTS
1264.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS 268778 2014-07-16 21:40:11Z jmmv
1265Set to not build nor install the
1266.Fx
1267Test Suite in
1268.Pa /usr/tests/ .
1269See
1270.Xr tests 7
1271for more details.
1272This also disables the build of all test-related dependencies, including ATF.
1273When set, it also enforces the following options:
1274.Pp
1275.Bl -item -compact
1276.It
1277.Va WITHOUT_DTRACE_TESTS
1278.It
1279.Va WITHOUT_TESTS_SUPPORT
1280.El
1281.It Va WITHOUT_TESTS_SUPPORT
1282.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS_SUPPORT 274665 2014-11-18 17:06:50Z imp
1283Set to disables the build of all test-related dependencies, including ATF.
1284.It Va WITHOUT_TEXTPROC
1285.\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
1286Set to not build
1287programs used for text processing.
1288When set, it also enforces the following options:
1289.Pp
1290.Bl -item -compact
1291.It
1292.Va WITHOUT_GROFF
1293.El
1294.It Va WITHOUT_TFTP
1295.\" from FreeBSD: head/tools/build/options/WITHOUT_TFTP 278192 2015-02-04 10:19:32Z ngie
1296Set to not build or install
1297.Xr tftp 1
1298and
1299.Xr tftpd 8 .
1300.It Va WITHOUT_TIMED
1301.\" from FreeBSD: head/tools/build/options/WITHOUT_TIMED 278192 2015-02-04 10:19:32Z ngie
1302Set to not build or install
1303.Xr timed 8 .
1304.It Va WITHOUT_TOOLCHAIN
1305.\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 273172 2014-10-16 15:55:13Z brooks
1306Set to not install header or
1307programs used for program development,
1308compilers, debuggers etc.
1309.Bf -symbolic
1310The option does not work for build targets.
1311.Ef
1312When set, it also enforces the following options:
1313.Pp
1314.Bl -item -compact
1315.It
1316.Va WITHOUT_BINUTILS
1317.It
1318.Va WITHOUT_CLANG
1319.It
1320.Va WITHOUT_CLANG_EXTRAS
1321.It
1322.Va WITHOUT_CLANG_FULL
1323.It
1324.Va WITHOUT_GCC
1325.It
1326.Va WITHOUT_GDB
1327.It
1328.Va WITHOUT_INCLUDES
1329.El
1330.It Va WITHOUT_UNBOUND
1331.\" from FreeBSD: head/tools/build/options/WITHOUT_UNBOUND 255597 2013-09-15 14:51:23Z des
1332Set to not build
1333.Xr unbound 8
1334and related programs.
1335.It Va WITHOUT_USB
1336.\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
1337Set to not build USB-related programs and libraries.
1338.It Va WITHOUT_USB_GADGET_EXAMPLES
1339.\" from FreeBSD: head/tools/build/options/WITHOUT_USB_GADGET_EXAMPLES 274665 2014-11-18 17:06:50Z imp
1340Set to build USB gadget kernel modules.
1341.It Va WITHOUT_UTMPX
1342.\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 231530 2012-02-11 20:28:42Z ed
1343Set to not build user accounting tools such as
1344.Xr last 1 ,
1345.Xr users 1 ,
1346.Xr who 1 ,
1347.Xr ac 8 ,
1348.Xr lastlogin 8
1349and
1350.Xr utx 8 .
1351.It Va WITHOUT_VI
1352.\" from FreeBSD: head/tools/build/options/WITHOUT_VI 264903 2014-04-24 23:17:40Z imp
1353Set to not build and install vi, view, ex and related programs.
1354.It Va WITHOUT_VT
1355.\" from FreeBSD: head/tools/build/options/WITHOUT_VT 268022 2014-06-30 00:20:12Z emaste
1356Set to not build
1357.Xr vt 4
1358support files (fonts and keymaps).
1359.It Va WITHOUT_WARNS
1360.\" from FreeBSD: head/tools/build/options/WITHOUT_WARNS 276559 2015-01-02 18:57:58Z bapt
1361Set this to not add warning flags to the compiler invocations.
1362Useful as a temporary workaround when code enters the tree
1363which triggers warnings in environments that differ from the
1364original developer.
1365.It Va WITHOUT_WIRELESS
1366.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
1367Set to not build programs used for 802.11 wireless networks; especially
1368.Xr wpa_supplicant 8
1369and
1370.Xr hostapd 8 .
1371When set, it also enforces the following options:
1372.Pp
1373.Bl -item -compact
1374.It
1375.Va WITHOUT_WIRELESS_SUPPORT
1376.El
1377.It Va WITHOUT_WIRELESS_SUPPORT
1378.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
1379Set to build libraries, programs, and kernel modules without
1380802.11 wireless support.
1381.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1382.\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
1383Build
1384.Xr wpa_supplicant 8
1385without support for the IEEE 802.1X protocol and without
1386support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1387protocols (usable only via 802.1X).
1388.It Va WITHOUT_ZFS
1389.\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
1390Set to not build ZFS file system.
1391.It Va WITHOUT_ZONEINFO
1392.\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 235342 2012-05-12 16:12:36Z gjb
1393Set to not build the timezone database.
1394.El
1395.Sh FILES
1396.Bl -tag -compact -width Pa
1397.It Pa /etc/src.conf
1398.It Pa /usr/share/mk/bsd.own.mk
1399.El
1400.Sh SEE ALSO
1401.Xr make 1 ,
1402.Xr make.conf 5 ,
1403.Xr build 7 ,
1404.Xr ports 7
1405.Sh HISTORY
1406The
1407.Nm
1408file appeared in
1409.Fx 7.0 .
1410.Sh AUTHORS
1411This manual page was autogenerated.
1412