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