xref: /freebsd/share/man/man5/src.conf.5 (revision 9ccc37e32070303fb293a2a1697ffa71eeb49b25)
1.\" DO NOT EDIT-- this file is automatically generated.
2.\" from FreeBSD: head/tools/build/options/makeman 221733 2011-05-10 13:01:11Z ru
3.\" $FreeBSD$
4.Dd February 6, 2012
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_BIND
125.\" from FreeBSD: head/tools/build/options/WITHOUT_BIND 156932 2006-03-21 07:50:50Z ru
126Setting this variable will prevent any part of BIND from being built.
127When set, it also enforces the following options:
128.Pp
129.Bl -item -compact
130.It
131.Va WITHOUT_BIND_DNSSEC
132.It
133.Va WITHOUT_BIND_ETC
134.It
135.Va WITHOUT_BIND_LIBS
136.It
137.Va WITHOUT_BIND_LIBS_LWRES
138.It
139.Va WITHOUT_BIND_MTREE
140.It
141.Va WITHOUT_BIND_NAMED
142.It
143.Va WITHOUT_BIND_UTILS
144.El
145.It Va WITHOUT_BIND_DNSSEC
146.\" from FreeBSD: head/tools/build/options/WITHOUT_BIND_DNSSEC 156932 2006-03-21 07:50:50Z ru
147Set to avoid building or installing the DNSSEC related binaries,
148.Xr dnssec-keygen 8
149and
150.Xr dnssec-signzone 8 .
151.It Va WITHOUT_BIND_ETC
152.\" from FreeBSD: head/tools/build/options/WITHOUT_BIND_ETC 156932 2006-03-21 07:50:50Z ru
153Set to avoid installing the default files to
154.Pa /var/named/etc/namedb .
155.It Va WITH_BIND_IDN
156.\" from FreeBSD: head/tools/build/options/WITH_BIND_IDN 193280 2009-06-01 21:58:59Z dougb
157Set to enable IDN support for dig, host, and nslookup.
158This requires ports/dns/idnkit to be installed in /usr/local.
159.It Va WITH_BIND_LARGE_FILE
160.\" from FreeBSD: head/tools/build/options/WITH_BIND_LARGE_FILE 193280 2009-06-01 21:58:59Z dougb
161Set to enable 64-bit file support.
162.It Va WITH_BIND_LIBS
163.\" from FreeBSD: head/tools/build/options/WITH_BIND_LIBS 193280 2009-06-01 21:58:59Z dougb
164Set to install BIND libraries and include files.
165.It Va WITHOUT_BIND_LIBS_LWRES
166.\" from FreeBSD: head/tools/build/options/WITHOUT_BIND_LIBS_LWRES 156932 2006-03-21 07:50:50Z ru
167Set to avoid installing the lightweight resolver library in
168.Pa /usr/lib .
169.It Va WITHOUT_BIND_MTREE
170.\" from FreeBSD: head/tools/build/options/WITHOUT_BIND_MTREE 157717 2006-04-13 10:37:29Z ru
171Set to avoid running
172.Xr mtree 8
173to create the chroot directory structure under
174.Pa /var/named ,
175and avoid creating an
176.Pa /etc/namedb
177symlink to the chroot directory.
178When set, it also enforces the following options:
179.Pp
180.Bl -item -compact
181.It
182.Va WITHOUT_BIND_ETC
183.El
184.It Va WITHOUT_BIND_NAMED
185.\" from FreeBSD: head/tools/build/options/WITHOUT_BIND_NAMED 156932 2006-03-21 07:50:50Z ru
186Set to avoid building or installing
187.Xr named 8 ,
188.Xr named.reload 8 ,
189.Xr named-checkconf 8 ,
190.Xr named-checkzone 8 ,
191.Xr rndc 8 ,
192and
193.Xr rndc-confgen 8 .
194.It Va WITH_BIND_SIGCHASE
195.\" from FreeBSD: head/tools/build/options/WITH_BIND_SIGCHASE 193280 2009-06-01 21:58:59Z dougb
196Set to enable DNSSEC validation support for dig, host, and nslookup.
197.It Va WITHOUT_BIND_UTILS
198.\" from FreeBSD: head/tools/build/options/WITHOUT_BIND_UTILS 156932 2006-03-21 07:50:50Z ru
199Set to avoid building or installing the BIND userland utilities,
200.Xr dig 1 ,
201.Xr host 1 ,
202.Xr nslookup 1 ,
203and
204.Xr nsupdate 8 .
205.It Va WITH_BIND_XML
206.\" from FreeBSD: head/tools/build/options/WITH_BIND_XML 193280 2009-06-01 21:58:59Z dougb
207Set to enable the http statistics interface for named.
208This requires ports/textproc/libxml2 to be installed in /usr/local.
209.It Va WITHOUT_BINUTILS
210.\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS 222090 2011-05-19 05:13:25Z imp
211Set to not install binutils (as, c++-filt, gconv, gnu-ar, gnu-randlib,
212ld, nm, objcopy, objdump, readelf, size and strip)
213.Bf -symbolic
214The option does not generally work for build targets, unless some alternative
215toolchain is enabled.
216.Ef
217.It Va WITHOUT_BLUETOOTH
218.\" from FreeBSD: head/tools/build/options/WITHOUT_BLUETOOTH 156932 2006-03-21 07:50:50Z ru
219Set to not build Bluetooth related kernel modules, programs and libraries.
220.It Va WITHOUT_BOOT
221.\" from FreeBSD: head/tools/build/options/WITHOUT_BOOT 156932 2006-03-21 07:50:50Z ru
222Set to not build the boot blocks and loader.
223.It Va WITHOUT_BSD_CPIO
224.\" from FreeBSD: head/tools/build/options/WITHOUT_BSD_CPIO 179813 2008-06-16 05:48:15Z dougb
225Set to not build the BSD licensed version of cpio based on
226.Xr libarchive 3 .
227.It Va WITH_BSD_GREP
228.\" from FreeBSD: head/tools/build/options/WITH_BSD_GREP 222273 2011-05-25 01:04:12Z obrien
229Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
230.It Va WITHOUT_BSNMP
231.\" from FreeBSD: head/tools/build/options/WITHOUT_BSNMP 183306 2008-09-23 16:15:42Z sam
232Set to not build or install
233.Xr bsnmpd 1
234and related libraries and data files.
235.It Va WITHOUT_BZIP2
236.\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2 174550 2007-12-12 16:43:17Z ru
237Set to not build contributed bzip2 software as a part of the base system.
238.Bf -symbolic
239The option has no effect yet.
240.Ef
241When set, it also enforces the following options:
242.Pp
243.Bl -item -compact
244.It
245.Va WITHOUT_BZIP2_SUPPORT
246.El
247.It Va WITHOUT_BZIP2_SUPPORT
248.\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2_SUPPORT 166255 2007-01-26 10:19:08Z delphij
249Set to build some programs without optional bzip2 support.
250.It Va WITHOUT_CALENDAR
251.\" from FreeBSD: head/tools/build/options/WITHOUT_CALENDAR 156932 2006-03-21 07:50:50Z ru
252Set to not build
253.Xr calendar 1 .
254.It Va WITHOUT_CAPSICUM
255.\" from FreeBSD: head/tools/build/options/WITHOUT_CAPSICUM 229319 2012-01-02 21:57:58Z rwatson
256Set to not build Capsicum support into system programs.
257.It Va WITHOUT_CDDL
258.\" from FreeBSD: head/tools/build/options/WITHOUT_CDDL 163861 2006-11-01 09:02:11Z jb
259Set to not build code licensed under Sun's CDDL.
260When set, it also enforces the following options:
261.Pp
262.Bl -item -compact
263.It
264.Va WITHOUT_CTF
265.It
266.Va WITHOUT_ZFS
267.El
268.It Va WITHOUT_CLANG
269.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG 208971 2010-06-10 06:20:26Z ed
270Set to not build the Clang C/C++ compiler.
271.Pp
272It is a default setting on
273arm/arm, arm/armeb, ia64/ia64, mips/mipsel, mips/mipseb, mips/mips64el, mips/mips64eb, mips/mipsn32eb and sparc64/sparc64.
274When set, it also enforces the following options:
275.Pp
276.Bl -item -compact
277.It
278.Va WITHOUT_CLANG_EXTRAS
279.El
280.It Va WITH_CLANG
281.\" from FreeBSD: head/tools/build/options/WITH_CLANG 221730 2011-05-10 11:14:40Z ru
282Set to build the Clang C/C++ compiler.
283.Pp
284It is a default setting on
285amd64/amd64, i386/i386, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
286.It Va WITH_CLANG_EXTRAS
287.\" $FreeBSD$
288Set to build additional clang and llvm tools, such as bugpoint.
289.It Va WITHOUT_CPP
290.\" from FreeBSD: head/tools/build/options/WITHOUT_CPP 156932 2006-03-21 07:50:50Z ru
291Set to not build
292.Xr cpp 1 .
293.It Va WITHOUT_CRYPT
294.\" from FreeBSD: head/tools/build/options/WITHOUT_CRYPT 156932 2006-03-21 07:50:50Z ru
295Set to not build any crypto code.
296When set, it also enforces the following options:
297.Pp
298.Bl -item -compact
299.It
300.Va WITHOUT_KERBEROS
301.It
302.Va WITHOUT_KERBEROS_SUPPORT
303.It
304.Va WITHOUT_OPENSSH
305.It
306.Va WITHOUT_OPENSSL
307.El
308.Pp
309When set, the following options are also in effect:
310.Pp
311.Bl -inset -compact
312.It Va WITHOUT_GSSAPI
313(unless
314.Va WITH_GSSAPI
315is set explicitly)
316.El
317.It Va WITH_CTF
318.\" from FreeBSD: head/tools/build/options/WITH_CTF 228159 2011-11-30 18:22:44Z fjoe
319Set to compile with CTF (Compact C Type Format) data.
320CTF data encapsulates a reduced form of debugging information
321similar to DWARF and the venerable stabs and is required for DTrace.
322.It Va WITHOUT_CTM
323.\" from FreeBSD: head/tools/build/options/WITHOUT_CTM 183242 2008-09-21 22:02:26Z sam
324Set to not build
325.Xr ctm 1
326and related utilities.
327.It Va WITHOUT_CVS
328.\" from FreeBSD: head/tools/build/options/WITHOUT_CVS 156932 2006-03-21 07:50:50Z ru
329Set to not build CVS.
330.It Va WITHOUT_CXX
331.\" from FreeBSD: head/tools/build/options/WITHOUT_CXX 220402 2011-04-06 20:19:07Z uqs
332Set to not build
333.Xr g++ 1
334and related libraries.
335It will also prevent building of
336.Xr gperf 1
337and
338.Xr devd 8 .
339When set, it also enforces the following options:
340.Pp
341.Bl -item -compact
342.It
343.Va WITHOUT_CLANG
344.It
345.Va WITHOUT_GROFF
346.El
347.It Va WITHOUT_DICT
348.\" from FreeBSD: head/tools/build/options/WITHOUT_DICT 156932 2006-03-21 07:50:50Z ru
349Set to not build the Webster dictionary files.
350.It Va WITHOUT_DYNAMICROOT
351.\" from FreeBSD: head/tools/build/options/WITHOUT_DYNAMICROOT 156932 2006-03-21 07:50:50Z ru
352Set this if you do not want to link
353.Pa /bin
354and
355.Pa /sbin
356dynamically.
357.It Va WITHOUT_EXAMPLES
358.\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 09:06:24Z ru
359Set to avoid installing examples to
360.Pa /usr/share/examples/ .
361.It Va WITHOUT_FDT
362.\" from FreeBSD: head/tools/build/options/WITHOUT_FDT 221539 2011-05-06 19:10:27Z ru
363Set to not build Flattened Device Tree support as part of the base system.
364This includes the device tree compiler (dtc) and libfdt support library.
365.Pp
366It is a default setting on
367amd64/amd64, i386/i386, ia64/ia64, pc98/i386 and sparc64/sparc64.
368.It Va WITH_FDT
369.\" from FreeBSD: head/tools/build/options/WITH_FDT 221730 2011-05-10 11:14:40Z ru
370Set to build Flattened Device Tree support as part of the base system.
371This includes the device tree compiler (dtc) and libfdt support library.
372.Pp
373It is a default setting on
374arm/arm, arm/armeb, mips/mipsel, mips/mipseb, mips/mips64el, mips/mips64eb, mips/mipsn32eb, powerpc/powerpc and powerpc/powerpc64.
375.It Va WITHOUT_FLOPPY
376.\" from FreeBSD: head/tools/build/options/WITHOUT_FLOPPY 221540 2011-05-06 19:13:03Z ru
377Set to not build or install programs
378for operating floppy disk driver.
379.It Va WITHOUT_FORTH
380.\" from FreeBSD: head/tools/build/options/WITHOUT_FORTH 156932 2006-03-21 07:50:50Z ru
381Set to build bootloaders without Forth support.
382.It Va WITHOUT_FP_LIBC
383.\" from FreeBSD: head/tools/build/options/WITHOUT_FP_LIBC 156932 2006-03-21 07:50:50Z ru
384Set to build
385.Nm libc
386without floating-point support.
387.It Va WITHOUT_FREEBSD_UPDATE
388.\" from FreeBSD: head/tools/build/options/WITHOUT_FREEBSD_UPDATE 183242 2008-09-21 22:02:26Z sam
389Set to not build
390.Xr freebsd-update 8 .
391.It Va WITHOUT_GAMES
392.\" from FreeBSD: head/tools/build/options/WITHOUT_GAMES 156932 2006-03-21 07:50:50Z ru
393Set to not build games.
394.It Va WITHOUT_GCC
395.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC 222090 2011-05-19 05:13:25Z imp
396Set to not install gcc and g++.
397.Bf -symbolic
398The option does not generally work for build targets, unless some alternative
399toolchain is enabled.
400.Ef
401.It Va WITHOUT_GCOV
402.\" from FreeBSD: head/tools/build/options/WITHOUT_GCOV 156932 2006-03-21 07:50:50Z ru
403Set to not build the
404.Xr gcov 1
405tool.
406.It Va WITHOUT_GDB
407.\" from FreeBSD: head/tools/build/options/WITHOUT_GDB 156932 2006-03-21 07:50:50Z ru
408Set to not build
409.Xr gdb 1 .
410.It Va WITHOUT_GNU
411.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU 174550 2007-12-12 16:43:17Z ru
412Set to not build contributed GNU software as a part of the base system.
413This option can be useful if the system built must not contain any code
414covered by the GNU Public License due to legal reasons.
415.Bf -symbolic
416The option has no effect yet.
417.Ef
418When set, it also enforces the following options:
419.Pp
420.Bl -item -compact
421.It
422.Va WITHOUT_GNU_SUPPORT
423.El
424.It Va WITHOUT_GNU_SUPPORT
425.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_SUPPORT 156932 2006-03-21 07:50:50Z ru
426Set to build some programs without optional GNU support.
427.It Va WITHOUT_GPIB
428.\" from FreeBSD: head/tools/build/options/WITHOUT_GPIB 156932 2006-03-21 07:50:50Z ru
429Set to not build GPIB bus support.
430.It Va WITHOUT_GPIO
431.\" from FreeBSD: head/tools/build/options/WITHOUT_GPIO 228081 2011-11-28 17:54:34Z dim
432Set to not build
433.Xr gpioctl 8
434as part of the base system.
435.It Va WITHOUT_GROFF
436.\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs
437Set to not build
438.Xr groff 1
439and
440.Xr vgrind 1 .
441You should consider installing the textproc/groff port to not break
442.Xr man 1 .
443.It Va WITHOUT_GSSAPI
444.\" from FreeBSD: head/tools/build/options/WITHOUT_GSSAPI 174548 2007-12-12 16:39:32Z ru
445Set to not build libgssapi.
446.It Va WITH_HESIOD
447.\" from FreeBSD: head/tools/build/options/WITH_HESIOD 156932 2006-03-21 07:50:50Z ru
448Set to build Hesiod support.
449.It Va WITHOUT_HTML
450.\" from FreeBSD: head/tools/build/options/WITHOUT_HTML 156932 2006-03-21 07:50:50Z ru
451Set to not build HTML docs.
452.It Va WITH_ICONV
453.\" from FreeBSD: head/tools/build/options/WITH_ICONV 219020 2011-02-25 00:10:26Z gabor
454Set to build iconv as part of libc.
455.It Va WITH_IDEA
456.\" from FreeBSD: head/tools/build/options/WITH_IDEA 156932 2006-03-21 07:50:50Z ru
457Set to build the IDEA encryption code.
458This code is patented in the USA and many European countries.
459It is
460.Em "YOUR RESPONSIBILITY"
461to determine if you can legally use IDEA.
462.It Va WITHOUT_INET
463.\" from FreeBSD: head/tools/build/options/WITHOUT_INET 221266 2011-04-30 17:58:28Z bz
464Set to not build programs and libraries related to IPv4 networking.
465When set, it also enforces the following options:
466.Pp
467.Bl -item -compact
468.It
469.Va WITHOUT_INET_SUPPORT
470.El
471.It Va WITHOUT_INET6
472.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6 156932 2006-03-21 07:50:50Z ru
473Set to not build
474programs and libraries related to IPv6 networking.
475When set, it also enforces the following options:
476.Pp
477.Bl -item -compact
478.It
479.Va WITHOUT_INET6_SUPPORT
480.El
481.It Va WITHOUT_INET6_SUPPORT
482.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6_SUPPORT 156932 2006-03-21 07:50:50Z ru
483Set to build libraries, programs, and kernel modules without IPv6 support.
484.It Va WITHOUT_INET_SUPPORT
485.\" from FreeBSD: head/tools/build/options/WITHOUT_INET_SUPPORT 221266 2011-04-30 17:58:28Z bz
486Set to build libraries, programs, and kernel modules without IPv4 support.
487.It Va WITHOUT_INFO
488.\" from FreeBSD: head/tools/build/options/WITHOUT_INFO 156932 2006-03-21 07:50:50Z ru
489Set to not make or install
490.Xr info 5
491files.
492.It Va WITHOUT_INSTALLLIB
493.\" from FreeBSD: head/tools/build/options/WITHOUT_INSTALLLIB 174497 2007-12-09 21:56:21Z dougb
494Set this if you do not want to install optional libraries.
495For example when creating a
496.Xr nanobsd 8
497image.
498.It Va WITHOUT_IPFILTER
499.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFILTER 156932 2006-03-21 07:50:50Z ru
500Set to not build IP Filter package.
501.It Va WITHOUT_IPFW
502.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFW 183242 2008-09-21 22:02:26Z sam
503Set to not build IPFW tools.
504.It Va WITHOUT_IPX
505.\" from FreeBSD: head/tools/build/options/WITHOUT_IPX 156932 2006-03-21 07:50:50Z ru
506Set to not build programs and libraries related to IPX networking.
507When set, it also enforces the following options:
508.Pp
509.Bl -item -compact
510.It
511.Va WITHOUT_IPX_SUPPORT
512.It
513.Va WITHOUT_NCP
514.El
515.It Va WITHOUT_IPX_SUPPORT
516.\" from FreeBSD: head/tools/build/options/WITHOUT_IPX_SUPPORT 156932 2006-03-21 07:50:50Z ru
517Set to build some programs without IPX support.
518.It Va WITHOUT_JAIL
519.\" from FreeBSD: head/tools/build/options/WITHOUT_JAIL 183242 2008-09-21 22:02:26Z sam
520Set to not build tools for the support of jails; e.g.
521.Xr jail 8 .
522.It Va WITHOUT_KERBEROS
523.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS 174549 2007-12-12 16:42:03Z ru
524Set this if you do not want to build Kerberos 5 (KTH Heimdal).
525When set, it also enforces the following options:
526.Pp
527.Bl -item -compact
528.It
529.Va WITHOUT_KERBEROS_SUPPORT
530.El
531.Pp
532When set, the following options are also in effect:
533.Pp
534.Bl -inset -compact
535.It Va WITHOUT_GSSAPI
536(unless
537.Va WITH_GSSAPI
538is set explicitly)
539.El
540.It Va WITHOUT_KERBEROS_SUPPORT
541.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS_SUPPORT 156932 2006-03-21 07:50:50Z ru
542Set to build some programs without Kerberos support, like
543.Xr cvs 1 ,
544.Xr ssh 1 ,
545.Xr telnet 1 ,
546.Xr sshd 8 ,
547and
548.Xr telnetd 8 .
549.It Va WITHOUT_KERNEL_SYMBOLS
550.\" from FreeBSD: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS 222189 2011-05-22 18:23:17Z imp
551Set to not install kernel symbol files.
552.Bf -symbolic
553This option is recommended for those people who have small root partitions.
554.Ef
555.It Va WITHOUT_KVM
556.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM 174550 2007-12-12 16:43:17Z ru
557Set to not build the
558.Nm libkvm
559library as a part of the base system.
560.Bf -symbolic
561The option has no effect yet.
562.Ef
563When set, it also enforces the following options:
564.Pp
565.Bl -item -compact
566.It
567.Va WITHOUT_KVM_SUPPORT
568.El
569.It Va WITHOUT_KVM_SUPPORT
570.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM_SUPPORT 170644 2007-06-13 02:08:04Z sepotvin
571Set to build some programs without optional
572.Nm libkvm
573support.
574.It Va WITHOUT_LEGACY_CONSOLE
575.\" from FreeBSD: head/tools/build/options/WITHOUT_LEGACY_CONSOLE 183242 2008-09-21 22:02:26Z sam
576Set to not build programs that support a legacy PC console; e.g.
577.Xr kbdcontrol 8
578and
579.Xr vidcontrol 8 .
580.It Va WITHOUT_LIB32
581.\" from FreeBSD: head/tools/build/options/WITHOUT_LIB32 156932 2006-03-21 07:50:50Z ru
582On amd64, set to not build 32-bit library set and a
583.Nm ld-elf32.so.1
584runtime linker.
585.It Va WITH_LIBCPLUSPLUS
586.\" from FreeBSD: head/tools/build/options/WITH_LIBCPLUSPLUS 228082 2011-11-28 17:56:46Z dim
587Set to build libcxxrt and libc++.
588.It Va WITHOUT_LIBPTHREAD
589.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 188848 2009-02-20 11:09:55Z mtm
590Set to not build the
591.Nm libpthread
592providing library,
593.Nm libthr .
594When set, it also enforces the following options:
595.Pp
596.Bl -item -compact
597.It
598.Va WITHOUT_BIND
599.It
600.Va WITHOUT_BIND_DNSSEC
601.It
602.Va WITHOUT_BIND_ETC
603.It
604.Va WITHOUT_BIND_LIBS
605.It
606.Va WITHOUT_BIND_LIBS_LWRES
607.It
608.Va WITHOUT_BIND_MTREE
609.It
610.Va WITHOUT_BIND_NAMED
611.It
612.Va WITHOUT_BIND_UTILS
613.It
614.Va WITHOUT_LIBTHR
615.El
616.It Va WITHOUT_LIBTHR
617.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBTHR 156932 2006-03-21 07:50:50Z ru
618Set to not build the
619.Nm libthr
620(1:1 threading)
621library.
622When set, it also enforces the following options:
623.Pp
624.Bl -item -compact
625.It
626.Va WITHOUT_BIND
627.It
628.Va WITHOUT_BIND_DNSSEC
629.It
630.Va WITHOUT_BIND_ETC
631.It
632.Va WITHOUT_BIND_LIBS
633.It
634.Va WITHOUT_BIND_LIBS_LWRES
635.It
636.Va WITHOUT_BIND_MTREE
637.It
638.Va WITHOUT_BIND_NAMED
639.It
640.Va WITHOUT_BIND_UTILS
641.El
642.It Va WITHOUT_LOCALES
643.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCALES 156932 2006-03-21 07:50:50Z ru
644Set to not build localization files; see
645.Xr locale 1 .
646.It Va WITHOUT_LOCATE
647.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCATE 183242 2008-09-21 22:02:26Z sam
648Set to not build
649.Xr locate 1
650and related programs.
651.It Va WITHOUT_LPR
652.\" from FreeBSD: head/tools/build/options/WITHOUT_LPR 156932 2006-03-21 07:50:50Z ru
653Set to not build
654.Xr lpr 1
655and related programs.
656.It Va WITHOUT_MAIL
657.\" from FreeBSD: head/tools/build/options/WITHOUT_MAIL 183242 2008-09-21 22:02:26Z sam
658Set to not build any mail support (MUA or MTA).
659When set, it also enforces the following options:
660.Pp
661.Bl -item -compact
662.It
663.Va WITHOUT_MAILWRAPPER
664.It
665.Va WITHOUT_SENDMAIL
666.El
667.It Va WITHOUT_MAILWRAPPER
668.\" from FreeBSD: head/tools/build/options/WITHOUT_MAILWRAPPER 156932 2006-03-21 07:50:50Z ru
669Set to not build the
670.Xr mailwrapper 8
671MTA selector.
672.It Va WITHOUT_MAKE
673.\" from FreeBSD: head/tools/build/options/WITHOUT_MAKE 183242 2008-09-21 22:02:26Z sam
674Set to not install
675.Xr make 1
676and related support files.
677.It Va WITHOUT_MAN
678.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN 156932 2006-03-21 07:50:50Z ru
679Set to not build manual pages.
680When set, the following options are also in effect:
681.Pp
682.Bl -inset -compact
683.It Va WITHOUT_MAN_UTILS
684(unless
685.Va WITH_MAN_UTILS
686is set explicitly)
687.El
688.It Va WITHOUT_MAN_UTILS
689.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN_UTILS 208322 2010-05-20 00:07:21Z jkim
690Set to not build utilities for manual pages,
691.Xr apropos 1 ,
692.Xr catman 1 ,
693.Xr makewhatis 1 ,
694.Xr man 1 ,
695.Xr whatis 1 ,
696.Xr manctl 8 ,
697and related support files.
698.It Va WITHOUT_NCP
699.\" from FreeBSD: head/tools/build/options/WITHOUT_NCP 156932 2006-03-21 07:50:50Z ru
700Set to not build programs, libraries, and kernel modules
701related to NetWare Core protocol.
702.It Va WITHOUT_NDIS
703.\" from FreeBSD: head/tools/build/options/WITHOUT_NDIS 183242 2008-09-21 22:02:26Z sam
704Set to not build programs and libraries
705related to NDIS emulation support.
706.It Va WITHOUT_NETCAT
707.\" from FreeBSD: head/tools/build/options/WITHOUT_NETCAT 156932 2006-03-21 07:50:50Z ru
708Set to not build
709.Xr nc 1
710utility.
711.It Va WITHOUT_NETGRAPH
712.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
713Set to not build applications to support
714.Xr netgraph 4 .
715When set, it also enforces the following options:
716.Pp
717.Bl -item -compact
718.It
719.Va WITHOUT_ATM
720.It
721.Va WITHOUT_BLUETOOTH
722.It
723.Va WITHOUT_NETGRAPH_SUPPORT
724.El
725.It Va WITHOUT_NETGRAPH_SUPPORT
726.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH_SUPPORT 183305 2008-09-23 16:11:15Z sam
727Set to build libraries, programs, and kernel modules without netgraph support.
728.It Va WITHOUT_NIS
729.\" from FreeBSD: head/tools/build/options/WITHOUT_NIS 156932 2006-03-21 07:50:50Z ru
730Set to not build
731.Xr NIS 8
732support and related programs.
733If set, you might need to adopt your
734.Xr nsswitch.conf 5
735and remove
736.Sq nis
737entries.
738.It Va WITHOUT_NLS
739.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
740Set to not build NLS catalogs.
741.It Va WITHOUT_NLS_CATALOGS
742.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
743Set to not build NLS catalog support for
744.Xr csh 1 .
745.It Va WITHOUT_NS_CACHING
746.\" from FreeBSD: head/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
747Set to disable name caching in the
748.Pa nsswitch
749subsystem.
750The generic caching daemon,
751.Xr nscd 8 ,
752will not be built either if this option is set.
753.It Va WITHOUT_NTP
754.\" from FreeBSD: head/tools/build/options/WITHOUT_NTP 183242 2008-09-21 22:02:26Z sam
755Set to not build
756.Xr ntpd 8
757and related programs.
758.It Va WITH_OFED
759.\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
760Set to build the
761.Dq "OpenFabrics Enterprise Distribution"
762Infiniband software stack.
763.It Va WITHOUT_OPENSSH
764.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSH 156932 2006-03-21 07:50:50Z ru
765Set to not build OpenSSH.
766.It Va WITHOUT_OPENSSL
767.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSL 156932 2006-03-21 07:50:50Z ru
768Set to not build OpenSSL.
769When set, it also enforces the following options:
770.Pp
771.Bl -item -compact
772.It
773.Va WITHOUT_KERBEROS
774.It
775.Va WITHOUT_KERBEROS_SUPPORT
776.It
777.Va WITHOUT_OPENSSH
778.El
779.Pp
780When set, the following options are also in effect:
781.Pp
782.Bl -inset -compact
783.It Va WITHOUT_GSSAPI
784(unless
785.Va WITH_GSSAPI
786is set explicitly)
787.El
788.It Va WITHOUT_PAM
789.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM 174550 2007-12-12 16:43:17Z ru
790Set to not build PAM library and modules.
791.Bf -symbolic
792This option is deprecated and does nothing.
793.Ef
794When set, it also enforces the following options:
795.Pp
796.Bl -item -compact
797.It
798.Va WITHOUT_PAM_SUPPORT
799.El
800.It Va WITHOUT_PAM_SUPPORT
801.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM_SUPPORT 156932 2006-03-21 07:50:50Z ru
802Set to build some programs without PAM support, particularly
803.Xr ftpd 8
804and
805.Xr ppp 8 .
806.It Va WITHOUT_PF
807.\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
808Set to not build PF firewall package.
809When set, it also enforces the following options:
810.Pp
811.Bl -item -compact
812.It
813.Va WITHOUT_AUTHPF
814.El
815.It Va WITHOUT_PKGTOOLS
816.\" from FreeBSD: head/tools/build/options/WITHOUT_PKGTOOLS 183242 2008-09-21 22:02:26Z sam
817Set to not build
818.Xr pkg_add 8
819and related programs.
820.It Va WITHOUT_PMC
821.\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
822Set to not build
823.Xr pmccontrol 8
824and related programs.
825.It Va WITHOUT_PORTSNAP
826.\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
827Set to not build or install
828.Xr portsnap 8
829and related files.
830.It Va WITHOUT_PPP
831.\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
832Set to not build
833.Xr ppp 8
834and related programs.
835.It Va WITHOUT_PROFILE
836.\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
837Set to avoid compiling profiled libraries.
838.It Va WITHOUT_QUOTAS
839.\" from FreeBSD: head/tools/build/options/WITHOUT_QUOTAS 183242 2008-09-21 22:02:26Z sam
840Set to not build
841.Xr quota 8
842and related programs.
843.It Va WITHOUT_RCMDS
844.\" from FreeBSD: head/tools/build/options/WITHOUT_RCMDS 156932 2006-03-21 07:50:50Z ru
845Disable building of the
846.Bx
847r-commands.
848This includes
849.Xr rlogin 1 ,
850.Xr rsh 1 ,
851etc.
852.It Va WITHOUT_RCS
853.\" from FreeBSD: head/tools/build/options/WITHOUT_RCS 156932 2006-03-21 07:50:50Z ru
854Set to not build
855.Xr rcs 1
856and related utilities.
857.It Va WITHOUT_RESCUE
858.\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
859Set to not build
860.Xr rescue 8 .
861.It Va WITHOUT_ROUTED
862.\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
863Set to not build
864.Xr routed 8
865utility.
866.It Va WITHOUT_SENDMAIL
867.\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
868Set to not build
869.Xr sendmail 8
870and related programs.
871.It Va WITHOUT_SETUID_LOGIN
872.\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
873Set this to disable the installation of
874.Xr login 1
875as a set-user-ID root program.
876.It Va WITHOUT_SHAREDOCS
877.\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
878Set to not build the
879.Bx 4.4
880legacy docs.
881.It Va WITHOUT_SOURCELESS
882.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
883Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
884When set, it also enforces the following options:
885.Pp
886.Bl -item -compact
887.It
888.Va WITHOUT_SOURCELESS_HOST
889.It
890.Va WITHOUT_SOURCELESS_UCODE
891.El
892.It Va WITHOUT_SOURCELESS_HOST
893.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
894Set to not build kernel modules that include sourceless native code for host CPU.
895.It Va WITHOUT_SOURCELESS_UCODE
896.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
897Set to not build kernel modules that include sourceless microcode.
898.It Va WITHOUT_SSP
899.\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
900Set to not build world with propolice stack smashing protection.
901.It Va WITHOUT_SYMVER
902.\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
903Set to disable symbol versioning when building shared libraries.
904.It Va WITHOUT_SYSCONS
905.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
906Set to not build
907.Xr syscons 4
908support files such as keyboard maps, fonts, and screen output maps.
909.It Va WITHOUT_SYSINSTALL
910.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSINSTALL 183242 2008-09-21 22:02:26Z sam
911Set to not build
912.Xr sysinstall 8
913and related programs.
914.It Va WITHOUT_TCSH
915.\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
916Set to not build and install
917.Pa /bin/csh
918(which is
919.Xr tcsh 1 ) .
920.It Va WITHOUT_TELNET
921.\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 183242 2008-09-21 22:02:26Z sam
922Set to not build
923.Xr telnet 8
924and related programs.
925.It Va WITHOUT_TEXTPROC
926.\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
927Set to not build
928programs used for text processing.
929When set, it also enforces the following options:
930.Pp
931.Bl -item -compact
932.It
933.Va WITHOUT_GROFF
934.El
935.It Va WITHOUT_TOOLCHAIN
936.\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 174550 2007-12-12 16:43:17Z ru
937Set to not install
938programs used for program development,
939compilers, debuggers etc.
940.Bf -symbolic
941The option does not work for build targets.
942.Ef
943When set, it also enforces the following options:
944.Pp
945.Bl -item -compact
946.It
947.Va WITHOUT_BINUTILS
948.It
949.Va WITHOUT_CLANG
950.It
951.Va WITHOUT_GCC
952.It
953.Va WITHOUT_GDB
954.El
955.It Va WITHOUT_USB
956.\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
957Set to not build USB-related programs and libraries.
958.It Va WITHOUT_UTMPX
959.\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 230060 2012-01-13 15:40:49Z ed
960Set to not build user accounting tools such as
961.Xr last 1 ,
962.Xr users 1 ,
963.Xr who 1 ,
964.Xr ac 8 ,
965.Xr lastlogin 8
966and
967.Xr utxrm 8 .
968.It Va WITHOUT_WIRELESS
969.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
970Set to not build programs used for 802.11 wireless networks; especially
971.Xr wpa_supplicant 8
972and
973.Xr hostapd 8 .
974When set, it also enforces the following options:
975.Pp
976.Bl -item -compact
977.It
978.Va WITHOUT_WIRELESS_SUPPORT
979.El
980.It Va WITHOUT_WIRELESS_SUPPORT
981.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
982Set to build libraries, programs, and kernel modules without
983802.11 wireless support.
984.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
985.\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
986Build
987.Xr wpa_supplicant 8
988without support for the IEEE 802.1X protocol and without
989support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
990protocols (usable only via 802.1X).
991.It Va WITHOUT_ZFS
992.\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
993Set to not build ZFS file system.
994.It Va WITHOUT_ZONEINFO
995.\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 171994 2007-08-27 20:01:08Z remko
996Set to not build the timezone database
997.El
998.Sh FILES
999.Bl -tag -compact
1000.It Pa /etc/src.conf
1001.It Pa /usr/share/mk/bsd.own.mk
1002.El
1003.Sh SEE ALSO
1004.Xr make 1 ,
1005.Xr make.conf 5 ,
1006.Xr build 7 ,
1007.Xr ports 7
1008.Sh HISTORY
1009The
1010.Nm
1011file appeared in
1012.Fx 7.0 .
1013.Sh AUTHORS
1014This manual page was autogenerated.
1015