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