xref: /freebsd/share/man/man5/make.conf.5 (revision 146b8183bcead8a2e6d390f716e451ba046a8236)
1786aa69aSBen Smithurst.\" Copyright (c) 2000
2786aa69aSBen Smithurst.\"	Mike W. Meyer
3786aa69aSBen Smithurst.\"
4786aa69aSBen Smithurst.\" Redistribution and use in source and binary forms, with or without
5786aa69aSBen Smithurst.\" modification, are permitted provided that the following conditions
6786aa69aSBen Smithurst.\" are met:
7786aa69aSBen Smithurst.\" 1. Redistributions of source code must retain the above copyright
8786aa69aSBen Smithurst.\"    notice, this list of conditions and the following disclaimer.
9786aa69aSBen Smithurst.\" 2. Redistributions in binary form must reproduce the above copyright
10786aa69aSBen Smithurst.\"    notice, this list of conditions and the following disclaimer in the
11786aa69aSBen Smithurst.\"    documentation and/or other materials provided with the distribution.
12786aa69aSBen Smithurst.\"
13786aa69aSBen Smithurst.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14786aa69aSBen Smithurst.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15786aa69aSBen Smithurst.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16786aa69aSBen Smithurst.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
17786aa69aSBen Smithurst.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18786aa69aSBen Smithurst.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19786aa69aSBen Smithurst.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20786aa69aSBen Smithurst.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21786aa69aSBen Smithurst.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22786aa69aSBen Smithurst.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23786aa69aSBen Smithurst.\" SUCH DAMAGE.
24786aa69aSBen Smithurst.\"
25786aa69aSBen Smithurst.\" $FreeBSD$
26786aa69aSBen Smithurst.\"
27d7b336c0SRuslan Ermilov.Dd November 3, 2000
28786aa69aSBen Smithurst.Dt MAKE.CONF 5
29786aa69aSBen Smithurst.Os
30786aa69aSBen Smithurst.Sh NAME
31786aa69aSBen Smithurst.Nm make.conf
329c488872SRuslan Ermilov.Nd system build information
33786aa69aSBen Smithurst.Sh DESCRIPTION
34786aa69aSBen SmithurstThe file
35786aa69aSBen Smithurst.Nm
369c488872SRuslan Ermilovcontains settings that control the compilation of the
379c488872SRuslan Ermilov.Fx
389c488872SRuslan Ermilovsources
399c488872SRuslan Ermilovand ported applications.
409c488872SRuslan ErmilovThe file
41786aa69aSBen Smithurst.Nm
42786aa69aSBen Smithurstis generally created by the system administrator when the values need
43786aa69aSBen Smithurstto be changed from their defaults.
44786aa69aSBen Smithurst.Pp
45786aa69aSBen SmithurstThe purpose of
46786aa69aSBen Smithurst.Nm
47786aa69aSBen Smithurstis not to run commands or perform compilation actions
489c488872SRuslan Ermilovdirectly.
499c488872SRuslan ErmilovInstead, it is included by the
50786aa69aSBen Smithurstvarious makefiles in
51786aa69aSBen Smithurst.Pa /usr/src ,
52786aa69aSBen Smithurst.Pa /usr/ports
53786aa69aSBen Smithurstand
54786aa69aSBen Smithurst.Pa /usr/doc
55786aa69aSBen Smithurstwhich conditionalize their
56786aa69aSBen Smithurstinternal actions according to the settings found there.
57786aa69aSBen Smithurst.Pp
58786aa69aSBen SmithurstThe
59786aa69aSBen Smithurst.Pa /etc/make.conf
60a910f192SDima Dorfmanfile is included from the appropriate
619c488872SRuslan Ermilov.Pa Makefile
62786aa69aSBen Smithurstwhich specifies the default settings for all the available options.
63786aa69aSBen SmithurstOptions need only be specified in
64786aa69aSBen Smithurst.Pa /etc/make.conf
65786aa69aSBen Smithurstwhen the system administrator wishes to override these defaults.
66786aa69aSBen Smithurst.Pp
67786aa69aSBen SmithurstThe build procedures occur in four broad areas: the world, the kernel,
689c488872SRuslan Ermilovdocumentations and ports.
699c488872SRuslan ErmilovVariables set in
70786aa69aSBen Smithurst.Nm
71786aa69aSBen Smithurstmay be applicable during builds in one, two, or all four of these
729c488872SRuslan Ermilovareas.
739c488872SRuslan ErmilovThey may be specified for a particular build via the
749c488872SRuslan Ermilov.Fl D
75786aa69aSBen Smithurstoption of
76786aa69aSBen Smithurst.Xr make 1 .
77786aa69aSBen Smithurst.Pp
789c488872SRuslan ErmilovThe following lists provide a name and short description for each
799c488872SRuslan Ermilovvariable you can use during the indicated builds.
809c488872SRuslan ErmilovThe values of
81786aa69aSBen Smithurstvariables flagged as
829c488872SRuslan Ermilov.Vt bool
83786aa69aSBen Smithurstare ignored; the variable being
84786aa69aSBen Smithurstset at all (even to
859c488872SRuslan Ermilov.Dq Li FALSE
86786aa69aSBen Smithurstor
879c488872SRuslan Ermilov.Dq Li NO )
88786aa69aSBen Smithurstcause it to
89786aa69aSBen Smithurstbe treated as if it were set.
90786aa69aSBen Smithurst.Pp
91786aa69aSBen SmithurstThe following list provides a name and short description for variables
92786aa69aSBen Smithurstthat are used for all builds, or are used by the
939c488872SRuslan Ermilov.Pa makefiles
949c488872SRuslan Ermilovfor things other than builds.
95786aa69aSBen Smithurst.Bl -tag -width Ar
969c488872SRuslan Ermilov.It Va CFLAGS
9734455342SDima Dorfman.Pq Vt str
989c488872SRuslan ErmilovControls the compiler setting when compiling C code.
99786aa69aSBen SmithurstOptimization levels above
100d489ec12SDima Dorfman.Fl O
101d489ec12SDima Dorfman.Pq Fl O2 , No ...
1029c488872SRuslan Ermilovare not supported.
1039c488872SRuslan Ermilov.Va BDECFLAGS
1049c488872SRuslan Ermilovis provided as a set of
1059c488872SRuslan Ermilov.Xr gcc 1
1069c488872SRuslan Ermilovsettings suggested by
1079c488872SRuslan Ermilov.An "Bruce Evans" Aq bde@FreeBSD.org
1089c488872SRuslan Ermilovfor developing and testing changes.
109d33a962dSAlexander LangerThey can be used, if set, by:
1109c488872SRuslan Ermilov.Pp
111786aa69aSBen Smithurst.Bd -literal -offset indent
112146b8183SDima DorfmanCFLAGS+=${BDECFLAGS}
113786aa69aSBen Smithurst.Ed
1149c488872SRuslan Ermilov.It Va CVS_UPDATE
11534455342SDima Dorfman.Pq Vt bool
1169c488872SRuslan ErmilovSet this to use
1179c488872SRuslan Ermilov.Xr cvs 1
1189c488872SRuslan Ermilovto update your ports with
1199c488872SRuslan Ermilov.Dq Li "make update" .
1209c488872SRuslan Ermilov.It Va CXXFLAGS
12134455342SDima Dorfman.Pq Vt str
1229c488872SRuslan ErmilovControls the compiler settings when compiling C++ code.
1239c488872SRuslan Ermilov.Va CXXFLAGS
1249c488872SRuslan Ermilovis initially set to the value of
1259c488872SRuslan Ermilov.Va CFLAGS .
1269c488872SRuslan ErmilovIf you want to
1279c488872SRuslan Ermilovadd to the
1289c488872SRuslan Ermilov.Va CXXFLAGS
1299c488872SRuslan Ermilovvalue, use
130786aa69aSBen Smithurst.Dq Li +=
131786aa69aSBen Smithurstinstead of
132786aa69aSBen Smithurst.Dq Li = .
1339c488872SRuslan Ermilov.It Va INSTALL
13434455342SDima Dorfman.Pq Vt str
1359c488872SRuslan Ermilovthe default install command.
1369c488872SRuslan ErmilovTo have commands compared before doing
137786aa69aSBen Smithurstthe install, use
138786aa69aSBen Smithurst.Bd -literal -offset indent
139786aa69aSBen SmithurstINSTALL="install -C"
140786aa69aSBen Smithurst.Ed
1419c488872SRuslan Ermilov.It Va LOCAL_DIRS
14234455342SDima Dorfman.Pq Vt str
1439c488872SRuslan ErmilovList any directories that should be entered when doing
144786aa69aSBen Smithurstmake's in
145786aa69aSBen Smithurst.Pa /usr/src
146786aa69aSBen Smithurstin this variable.
1479c488872SRuslan Ermilov.It Va MTREE_FOLLOWS_SYMLINKS
14834455342SDima Dorfman.Pq Vt str
1499c488872SRuslan ErmilovSet this to
1509c488872SRuslan Ermilov.Dq Fl L
1519c488872SRuslan Ermilovto cause
1529c488872SRuslan Ermilov.Xr mtree 8
1539c488872SRuslan Ermilovto follow symlinks.
1549c488872SRuslan Ermilov.It Va NO_DOCUPDATE
15534455342SDima Dorfman.Pq Vt bool
1569c488872SRuslan ErmilovSet this to not update the doc tree during
1579c488872SRuslan Ermilov.Dq Li "make update" .
1589c488872SRuslan Ermilov.It Va NO_PORTSUPDATE
15934455342SDima Dorfman.Pq Vt bool
1609c488872SRuslan ErmilovSet this to not update the ports tree during
1619c488872SRuslan Ermilov.Dq Li "make update" .
1629c488872SRuslan Ermilov.It Va SUP_UPDATE
16334455342SDima Dorfman.Pq Vt bool
1649c488872SRuslan ErmilovSet this to use
1659c488872SRuslan Ermilov.Xr cvsup 1
1669c488872SRuslan Ermilovto update your ports with
1679c488872SRuslan Ermilov.Dq Li "make update" .
1689c488872SRuslan Ermilov.It Va SUP
16934455342SDima Dorfman.Pq Vt str
1709c488872SRuslan ErmilovThe location of the
1719c488872SRuslan Ermilov.Xr cvsup 1
1729c488872SRuslan Ermilovcommand for
1739c488872SRuslan Ermilov.Dq Li "make update" .
1749c488872SRuslan Ermilov.It Va SUPFLAGS
17534455342SDima Dorfman.Pq Vt str
1769c488872SRuslan ErmilovThe flag for the
1779c488872SRuslan Ermilov.Xr sup 1
1789c488872SRuslan Ermilovcommand when doing
1799c488872SRuslan Ermilov.Dq Li "make update" .
180786aa69aSBen SmithurstThis defaults to
1819c488872SRuslan Ermilov.Op Fl g L Ar 2 .
1829c488872SRuslan Ermilov.It Va SUPHOST
18334455342SDima Dorfman.Pq Vt str
1849c488872SRuslan ErmilovThe hostname of the sup server to use when doing
1859c488872SRuslan Ermilov.Dq Li "make update" .
1869c488872SRuslan Ermilov.It Va SUPFILE
18734455342SDima Dorfman.Pq Vt str
1889c488872SRuslan ErmilovThe first
1899c488872SRuslan Ermilov.Ar supfile
1909c488872SRuslan Ermilovto use when doing a
1919c488872SRuslan Ermilov.Dq Li "make update" .
192786aa69aSBen SmithurstThis defaults to
1939c488872SRuslan Ermilov.Pa /usr/share/examples/cvsup/standard\-supfile .
1949c488872SRuslan Ermilov.It Va SUPFILE1
19534455342SDima Dorfman.Pq Vt str
1969c488872SRuslan ErmilovThe second
1979c488872SRuslan Ermilov.Ar supfile
1989c488872SRuslan Ermilovto use when doing a
1999c488872SRuslan Ermilov.Dq Li "make update" .
200786aa69aSBen SmithurstThis defaults to
2019c488872SRuslan Ermilov.Pa /usr/share/examples/cvsup/secure\-supfile .
2029c488872SRuslan Ermilov.It Va SUPFILE2
20334455342SDima Dorfman.Pq Vt str
2049c488872SRuslan ErmilovThe third
2059c488872SRuslan Ermilov.Ar supfile
2069c488872SRuslan Ermilovto use when doing a
2079c488872SRuslan Ermilov.Dq Li "make update" .
208786aa69aSBen SmithurstThis defaults to
2099c488872SRuslan Ermilov.Pa /usr/share/examples/cvsup/secure\-supfile .
2109c488872SRuslan Ermilov.It Va PORTSSUPFILE
21134455342SDima Dorfman.Pq Vt str
2129c488872SRuslan ErmilovThe ports
2139c488872SRuslan Ermilov.Ar supfile
2149c488872SRuslan Ermilovto use when doing a
2159c488872SRuslan Ermilov.Dq Li "make update" .
216786aa69aSBen SmithurstThis defaults to
2179c488872SRuslan Ermilov.Pa /usr/share/examples/cvsup/ports\-supfile .
2189c488872SRuslan Ermilov.It Va DOCSUPFILE
21934455342SDima Dorfman.Pq Vt str
2209c488872SRuslan ErmilovThe documentation
2219c488872SRuslan Ermilov.Ar supfile
2229c488872SRuslan Ermilovto use when doing a
2239c488872SRuslan Ermilov.Dq Li "make update" .
224786aa69aSBen SmithurstThis defaults to
2259c488872SRuslan Ermilov.Pa /usr/share/examples/cvsup/doc\-supfile .
226786aa69aSBen Smithurst.El
227786aa69aSBen Smithurst.Pp
228786aa69aSBen SmithurstThe following list provides a name and short description for variables
229786aa69aSBen Smithurstthat are only used doing a kernel build:
230786aa69aSBen Smithurst.Bl -tag -width Ar
2319c488872SRuslan Ermilov.It Va BOOT_COMCONSOLE_PORT
23234455342SDima Dorfman.Pq Vt str
2339c488872SRuslan ErmilovThe port address to use for the console if the boot blocks have
234786aa69aSBen Smithurstbeen configured to use a serial console instead of the keyboard/video card.
2359c488872SRuslan Ermilov.It Va BOOT_COMCONSOLE_SPEED
23634455342SDima Dorfman.Pq Vt int
2379c488872SRuslan ErmilovThe baud rate to use for the console if the boot blocks have
238786aa69aSBen Smithurstbeen configured to use a serial console instead of the keyboard/video card.
2399c488872SRuslan Ermilov.It Va BOOTWAIT
24034455342SDima Dorfman.Pq Vt int
2419c488872SRuslan ErmilovControls the amount of time the kernel waits for a console keypress
2429c488872SRuslan Ermilovbefore booting the default kernel.
2439c488872SRuslan ErmilovThe value is approximately milliseconds.
2449c488872SRuslan ErmilovKeypresses are accepted by the BIOS before booting from disk,
245786aa69aSBen Smithurstmaking it possible to give custom boot parameters even when this is
246786aa69aSBen Smithurstset to 0.
2479c488872SRuslan Ermilov.It Va COPTFLAGS
24834455342SDima Dorfman.Pq Vt str
2499c488872SRuslan ErmilovControls the compiler settings when building the
2509c488872SRuslan Ermilovkernel.
2519c488872SRuslan ErmilovOptimization levels above
2529c488872SRuslan Ermilov.Oo Fl O ( O2 , No ...\& ) Oc
253d5499896SDavid E. O'Brienare not guaranteed to work.
254061cae1bSJordan K. Hubbard.It Va KERNCONF
25534455342SDima Dorfman.Pq Vt str
2569c488872SRuslan ErmilovControls which kernel configurations will be
2576164dd81SBen Smithurstbuilt by
2589c488872SRuslan Ermilov.Dq Li "${MAKE} buildkernel"
2596164dd81SBen Smithurstand installed by
2609c488872SRuslan Ermilov.Dq Li "${MAKE} installkernel" .
2616164dd81SBen SmithurstFor example,
2626164dd81SBen Smithurst.Bd -literal -offset indent
263e52710beSDima DorfmanKERNCONF=MINE DEBUG GENERIC OTHERMACHINE
2646164dd81SBen Smithurst.Ed
2659c488872SRuslan Ermilov.Pp
266a910f192SDima Dorfmanwill build the kernels specified by the config files
2676164dd81SBen Smithurst.Pa MINE , DEBUG , GENERIC ,
2686164dd81SBen Smithurstand
2696164dd81SBen Smithurst.Pa OTHERMACHINE ,
2706164dd81SBen Smithurstand install the kernel specified by the config file
2716164dd81SBen Smithurst.Pa MINE .
2726164dd81SBen SmithurstIt defaults to
2736164dd81SBen Smithurst.Pa GENERIC .
2749c488872SRuslan Ermilov.It Va NO_KERNELCONFIG
27534455342SDima Dorfman.Pq Vt bool
2769c488872SRuslan ErmilovSet this to skip running
277786aa69aSBen Smithurst.Xr config 8
278786aa69aSBen Smithurstduring
2799c488872SRuslan Ermilov.Dq Li "${MAKE} buildkernel" .
2809c488872SRuslan Ermilov.It Va NO_KERNELDEPEND
28134455342SDima Dorfman.Pq Vt bool
2829c488872SRuslan ErmilovSet this to skip running
2839c488872SRuslan Ermilov.Dq Li "${MAKE} depend"
284786aa69aSBen Smithurstduring
2859c488872SRuslan Ermilov.Dq Li "${MAKE} buildkernel" .
2869c488872SRuslan Ermilov.It Va NO_MODULES
28734455342SDima Dorfman.Pq Vt bool
2889c488872SRuslan ErmilovSet to not build modules with the kernel.
2893a289cbaSRuslan Ermilov.It Va MODULES_OVERRIDE
2903a289cbaSRuslan Ermilov.Pq Vt str
2913a289cbaSRuslan ErmilovSet to a list of modules to build instead of all of them.
292786aa69aSBen Smithurst.El
293786aa69aSBen Smithurst.Pp
294786aa69aSBen SmithurstThe following list provides a name and short description for variables
295786aa69aSBen Smithurstthat are used during the world build:
296786aa69aSBen Smithurst.Bl -tag -width Ar
2979c488872SRuslan Ermilov.It Va COMPAT1X
29834455342SDima Dorfman.Pq Vt bool
2999c488872SRuslan ErmilovSet to install the
300786aa69aSBen Smithurst.Fx
301786aa69aSBen Smithurst1 compatibility libraries.
3029c488872SRuslan Ermilov.It Va COMPAT20
30334455342SDima Dorfman.Pq Vt bool
3049c488872SRuslan ErmilovSet to install the
305786aa69aSBen Smithurst.Fx 2.0
306786aa69aSBen Smithurstcompatibility libraries.
3079c488872SRuslan Ermilov.It Va COMPAT21
30834455342SDima Dorfman.Pq Vt bool
3099c488872SRuslan ErmilovSet to install the
310786aa69aSBen Smithurst.Fx 2.1
311786aa69aSBen Smithurstcompatibility libraries.
3129c488872SRuslan Ermilov.It Va COMPAT22
31334455342SDima Dorfman.Pq Vt bool
3149c488872SRuslan ErmilovSet to install the
315786aa69aSBen Smithurst.Fx 2.2
316786aa69aSBen Smithurstcompatibility libraries.
3179c488872SRuslan Ermilov.It Va COMPAT3X
31834455342SDima Dorfman.Pq Vt bool
3199c488872SRuslan ErmilovSet to install the
320786aa69aSBen Smithurst.Fx
3219c488872SRuslan Ermilov3
3229c488872SRuslan Ermilovcompatibility libraries.
32333c3bd0aSRuslan Ermilov.It Va COMPAT4X
32433c3bd0aSRuslan Ermilov.Pq Vt bool
32533c3bd0aSRuslan ErmilovSet to install the
32633c3bd0aSRuslan Ermilov.Fx
32733c3bd0aSRuslan Ermilov4
32833c3bd0aSRuslan Ermilovcompatibility libraries.
3299c488872SRuslan Ermilov.It Va ENABLE_SUIDPERL
33034455342SDima Dorfman.Pq Vt bool
3319c488872SRuslan ErmilovSet to enable the installation of an suid
3329c488872SRuslan Ermilov.Xr perl 1
3339c488872SRuslan Ermilovbinary.
3349c488872SRuslan Ermilov.It Va FETCH_CMD
33534455342SDima Dorfman.Pq Vt str
3369c488872SRuslan ErmilovCommand to use to fetch files.
3379c488872SRuslan ErmilovNormally
338786aa69aSBen Smithurst.Xr fetch 1 .
3399c488872SRuslan Ermilov.It Va MAKE_IDEA
34034455342SDima Dorfman.Pq Vt bool
3419c488872SRuslan ErmilovSet to build the IDEA encryption code.
3429c488872SRuslan ErmilovThis code is patented in the USA and many European countries.
3439c488872SRuslan ErmilovIt is
344786aa69aSBen Smithurst.Em "YOUR RESPONSIBILITY"
345786aa69aSBen Smithurstto determine if you can legally use IDEA.
3469c488872SRuslan Ermilov.It Va MAKE_KERBEROS4
34734455342SDima Dorfman.Pq Vt bool
3489c488872SRuslan ErmilovSet this to build KerberosIV (KTH eBones).
3499c488872SRuslan Ermilov.It Va MAKE_KERBEROS5
35034455342SDima Dorfman.Pq Vt bool
3519c488872SRuslan ErmilovSet this to build Kerberos5 (KTH Heimdal).
352786aa69aSBen Smithurst.Em WARNING !
3539c488872SRuslan ErmilovThis is still experimental code.
3549c488872SRuslan ErmilovIf you need stable Kerberos5, use the
355786aa69aSBen Smithurstport(s).
3569c488872SRuslan Ermilov.It Va MODULES_WITH_WORLD
35734455342SDima Dorfman.Pq Vt bool
3589c488872SRuslan ErmilovSet to build modules with the system instead of the kernel.
3599c488872SRuslan Ermilov.It Va NO_CVS
36034455342SDima Dorfman.Pq Vt bool
3619c488872SRuslan ErmilovSet to not build CVS.
3629c488872SRuslan Ermilov.It Va NO_BIND
36334455342SDima Dorfman.Pq Vt bool
3649c488872SRuslan ErmilovSet to not build BIND.
3659c488872SRuslan Ermilov.It Va NO_FORTRAN
36634455342SDima Dorfman.Pq Vt bool
3679c488872SRuslan ErmilovSet to not build
3689c488872SRuslan Ermilov.Xr g77 1
3699c488872SRuslan Ermilovand related libraries.
370f3bb47ccSRuslan Ermilov.It Va NO_I4B
371f3bb47ccSRuslan Ermilov.Pq Vt bool
372f3bb47ccSRuslan ErmilovSet to not build isdn4bsd package.
3737a43a96aSRuslan Ermilov.It Va NO_IPFILTER
3747a43a96aSRuslan Ermilov.Pq Vt bool
3757a43a96aSRuslan ErmilovSet to not build IP Filter package.
3769c488872SRuslan Ermilov.It Va NO_LPR
37734455342SDima Dorfman.Pq Vt bool
3789c488872SRuslan ErmilovSet to not build
3799c488872SRuslan Ermilov.Xr lpr 1
3809c488872SRuslan Ermilovand related programs.
3819c488872SRuslan Ermilov.It Va NO_MAILWRAPPER
38234455342SDima Dorfman.Pq Vt bool
3839c488872SRuslan ErmilovSet to not build the
3849c488872SRuslan Ermilov.Xr mailwrapper 8
3859c488872SRuslan ErmilovMTA selector.
386723f7e30SJeroen Ruigrok van der Werven.It Va NO_MAKEDEV_INSTALL
38734455342SDima Dorfman.Pq Vt bool
388c720f298SRuslan ErmilovSet to avoid installing
389c720f298SRuslan Ermilov.Pa MAKEDEV
390c720f298SRuslan Ermilovin
391723f7e30SJeroen Ruigrok van der Werven.Pa /dev .
392723f7e30SJeroen Ruigrok van der WervenThis implies the
393723f7e30SJeroen Ruigrok van der Werven.Va NO_MAKEDEV_RUN
394723f7e30SJeroen Ruigrok van der Wervenvariable.
395723f7e30SJeroen Ruigrok van der Werven.It Va NO_MAKEDEV_RUN
39634455342SDima Dorfman.Pq Vt bool
3979c488872SRuslan ErmilovSet to avoid running
3989c488872SRuslan Ermilov.Dq Li "MAKEDEV all"
3999c488872SRuslan Ermilovon
4009c488872SRuslan Ermilov.Pa /dev
4019c488872SRuslan Ermilovduring install.
4029c488872SRuslan Ermilov.It Va NO_OBJC
40334455342SDima Dorfman.Pq Vt bool
4049c488872SRuslan ErmilovSet to not build Objective C support.
4059c488872SRuslan Ermilov.It Va NO_OPENSSH
40634455342SDima Dorfman.Pq Vt bool
4079c488872SRuslan ErmilovSet to not build OpenSSH.
4089c488872SRuslan Ermilov.It Va NO_OPENSSL
40934455342SDima Dorfman.Pq Vt bool
4109c488872SRuslan ErmilovSet to not build OpenSSL (implies
4119c488872SRuslan Ermilov.Va NO_OPENSSH ) .
412589622caSMark Murray.It Va NO_PERL
413589622caSMark Murray.Pq Vt bool
414589622caSMark MurraySet to avoid building
415589622caSMark Murray.Xr perl 1 .
416589622caSMark Murray(Also disables OpenSSL optimizations.)
41723c2b90cSMaxim Konovalov.It Va NO_RCMNDS
41823c2b90cSMaxim Konovalov.Pq Vt bool
41923c2b90cSMaxim KonovalovSet to not build
42023c2b90cSMaxim Konovalov.Xr rcp 1 ,
42123c2b90cSMaxim Konovalov.Xr rlogin 1
42223c2b90cSMaxim Konovalovand
42323c2b90cSMaxim Konovalov.Xr rsh 1 .
4249c488872SRuslan Ermilov.It Va NO_SENDMAIL
42534455342SDima Dorfman.Pq Vt bool
4269c488872SRuslan ErmilovSet to not build
4279c488872SRuslan Ermilov.Xr sendmail 8
4289c488872SRuslan Ermilovand related programs.
4299c488872SRuslan Ermilov.It Va NO_SHAREDOCS
43034455342SDima Dorfman.Pq Vt bool
4319c488872SRuslan ErmilovSet to not build the
4329c488872SRuslan Ermilov.Bx 4.4
4339c488872SRuslan Ermilovlegacy docs.
4349c488872SRuslan Ermilov.It Va NO_TCSH
43534455342SDima Dorfman.Pq Vt bool
4369c488872SRuslan ErmilovSet to not build and install
4379c488872SRuslan Ermilov.Pa /bin/csh
4389c488872SRuslan Ermilov(which is
4399c488872SRuslan Ermilov.Xr tcsh 1 ) .
4409c488872SRuslan Ermilov.It Va NO_X
44134455342SDima Dorfman.Pq Vt bool
4429c488872SRuslan ErmilovSet to not compile in X\-Windows support (e.g.\&
4439c488872SRuslan Ermilov.Xr doscmd 1 ) .
4449c488872SRuslan Ermilov.It Va NOCLEAN
44534455342SDima Dorfman.Pq Vt bool
4469c488872SRuslan ErmilovSet this to disable cleaning during
4479c488872SRuslan Ermilov.Dq Li "make buildworld" .
448786aa69aSBen SmithurstThis should not be set unless you know what you are doing.
4499c488872SRuslan Ermilov.It Va NOCLEANDIR
45034455342SDima Dorfman.Pq Vt bool
4519c488872SRuslan ErmilovSet this to run
4529c488872SRuslan Ermilov.Dq Li "${MAKE} clean"
453786aa69aSBen Smithurstinstead of
4549c488872SRuslan Ermilov.Dq Li "${MAKE} cleandir" .
4559c488872SRuslan Ermilov.It Va NOCRYPT
45634455342SDima Dorfman.Pq Vt bool
4579c488872SRuslan ErmilovSet to not build any crypto code.
4589c488872SRuslan Ermilov.It Va NOGAMES
45934455342SDima Dorfman.Pq Vt bool
4609c488872SRuslan ErmilovSet to not build games.
4619c488872SRuslan Ermilov.It Va NOINFO
46234455342SDima Dorfman.Pq Vt bool
4639c488872SRuslan ErmilovSet to not make or install
4649c488872SRuslan Ermilov.Xr info 5
4659c488872SRuslan Ermilovfiles.
4669c488872SRuslan Ermilov.It Va NOLIBC_R
46734455342SDima Dorfman.Pq Vt bool
4689c488872SRuslan ErmilovSet to not build
4699c488872SRuslan Ermilov.Nm libc_r
4709c488872SRuslan Ermilov(reentrant version of
4719c488872SRuslan Ermilov.Nm libc ) .
4729c488872SRuslan Ermilov.It Va NOMANCOMPRESS
47334455342SDima Dorfman.Pq Vt bool
4749c488872SRuslan ErmilovSet to install man pages uncompressed.
4759c488872SRuslan Ermilov.It Va NOPERL
47634455342SDima Dorfman.Pq Vt bool
4779c488872SRuslan ErmilovSet to avoid building
4789c488872SRuslan Ermilov.Xr perl 1 .
479589622caSMark MurrayThis is deprecated in favour of
480bc37fc26SRuslan Ermilov.Va NO_PERL
481589622caSMark Murray(above).
4829c488872SRuslan Ermilov.It Va NOPROFILE
48334455342SDima Dorfman.Pq Vt bool
4849c488872SRuslan ErmilovSet to avoid compiling profiled libraries.
4859c488872SRuslan Ermilov.It Va NOSECURE
48634455342SDima Dorfman.Pq Vt bool
4879c488872SRuslan Ermilovset to not build crypto code in
4889c488872SRuslan Ermilov.Pa secure
4899c488872SRuslan Ermilovsubdir.
4909c488872SRuslan Ermilov.It Va NOSHARE
49134455342SDima Dorfman.Pq Vt bool
4929c488872SRuslan ErmilovSet to not build in the
4939c488872SRuslan Ermilov.Pa share
4949c488872SRuslan Ermilovsubdir.
4959c488872SRuslan Ermilov.It Va NOUUCP
49634455342SDima Dorfman.Pq Vt bool
4979c488872SRuslan ErmilovSet to not build
4989c488872SRuslan Ermilov.Xr uucp 1
4999c488872SRuslan Ermilovrelated programs.
5009c488872SRuslan Ermilov.It Va PERL_THREADED
50134455342SDima Dorfman.Pq Vt bool
5029c488872SRuslan ErmilovSet to enable the building and installation of
5039c488872SRuslan Ermilov.Xr perl 1
5049c488872SRuslan Ermilovwith thread
505786aa69aSBen Smithurstsupport.
5069c488872SRuslan Ermilov.It Va PPP_NOSUID
50734455342SDima Dorfman.Pq Vt bool
5089c488872SRuslan ErmilovSet to disable the installation of
5099c488872SRuslan Ermilov.Xr ppp 8
5109c488872SRuslan Ermilovas an suid root program.
51125219d25SGregory Neil Shapiro.It Va SENDMAIL_MC
51234455342SDima Dorfman.Pq Vt str
51325219d25SGregory Neil ShapiroThe default m4 configuration file to use at install time.
51401f72632SRuslan ErmilovThe value should include the full path to the
51501f72632SRuslan Ermilov.Pa .mc
51601f72632SRuslan Ermilovfile, e.g.,
517d1885c41SGregory Neil Shapiro.Pa /etc/mail/myconfig.mc .
51825219d25SGregory Neil ShapiroUse with caution as a make install will overwrite any existing
51925219d25SGregory Neil Shapiro.Pa /etc/mail/sendmail.cf .
52025219d25SGregory Neil ShapiroNote that
52125219d25SGregory Neil Shapiro.Va SENDMAIL_CF
52225219d25SGregory Neil Shapirois now deprecated.
523e6c77250SGregory Neil Shapiro.It Va SENDMAIL_ADDITIONAL_MC
52434455342SDima Dorfman.Pq Vt str
52501f72632SRuslan ErmilovAdditional
52601f72632SRuslan Ermilov.Pa .mc
52701f72632SRuslan Ermilovfiles which should be built into
52801f72632SRuslan Ermilov.Pa .cf
52901f72632SRuslan Ermilovfiles at build time.
53001f72632SRuslan ErmilovThe value should include the full path to the
53101f72632SRuslan Ermilov.Pa .mc
53201f72632SRuslan Ermilovfile(s), e.g.,
533e6c77250SGregory Neil Shapiro.Pa /etc/mail/foo.mc
534e6c77250SGregory Neil Shapiro.Pa /etc/mail/bar.mc .
535f4843be9SGregory Neil Shapiro.It Va SENDMAIL_M4_FLAGS
536f4843be9SGregory Neil Shapiro.Pq Vt str
53701f72632SRuslan ErmilovFlags passed to m4 when building a
53801f72632SRuslan Ermilov.Pa .cf
53901f72632SRuslan Ermilovfile from a
54001f72632SRuslan Ermilov.Pa .mc
54101f72632SRuslan Ermilovfile.
5429c488872SRuslan Ermilov.It Va SENDMAIL_CFLAGS
54334455342SDima Dorfman.Pq Vt str
5449c488872SRuslan ErmilovFlags to pass to the compile command when building
5459c488872SRuslan Ermilov.Xr sendmail 8 .
5469c488872SRuslan ErmilovThe
5479c488872SRuslan Ermilov.Va SENDMAIL_*
5489c488872SRuslan Ermilovflags can be used to provide SASL support with setting such as:
549786aa69aSBen Smithurst.Bd -literal -offset indent
550786aa69aSBen SmithurstSENDMAIL_CFLAGS=-I/usr/local/include -DSASL
551786aa69aSBen SmithurstSENDMAIL_LDFLAGS=-L/usr/local/lib
552786aa69aSBen SmithurstSENDMAIL_LDADD=-lsasl
553786aa69aSBen Smithurst.Ed
5549c488872SRuslan Ermilov.It Va SENDMAIL_LDFLAGS
55534455342SDima Dorfman.Pq Vt str
5569c488872SRuslan ErmilovFlags to pass to the
5579c488872SRuslan Ermilov.Xr ld 1
5589c488872SRuslan Ermilovcommand when building
5599c488872SRuslan Ermilov.Xr sendmail 8 .
5609c488872SRuslan Ermilov.It Va SENDMAIL_LDADD
56134455342SDima Dorfman.Pq Vt str
5629c488872SRuslan ErmilovFlags to add to the end of the
5639c488872SRuslan Ermilov.Xr ld 1
5649c488872SRuslan Ermilovcommand when building
5659c488872SRuslan Ermilov.Xr sendmail 8 .
5669c488872SRuslan Ermilov.It Va SENDMAIL_DPADD
56734455342SDima Dorfman.Pq Vt str
568474c81fdSGregory Neil ShapiroExtra dependencies to add when building
569474c81fdSGregory Neil Shapiro.Xr sendmail 8 .
570474c81fdSGregory Neil Shapiro.It Va SENDMAIL_SET_USER_ID
571474c81fdSGregory Neil Shapiro.Pq Vt bool
572474c81fdSGregory Neil ShapiroIf set, install
573474c81fdSGregory Neil Shapiro.Xr sendmail 8
574474c81fdSGregory Neil Shapiroas a set-user-ID root binary instead of a set-group-ID binary
575474c81fdSGregory Neil Shapiroand do not install
576474c81fdSGregory Neil Shapiro.Pa /etc/mail/submit.{cf,mc} .
577474c81fdSGregory Neil ShapiroUse of this flag is not recommended and the alternative advice in
578474c81fdSGregory Neil Shapiro.Pa /etc/mail/README
579bc37fc26SRuslan Ermilovshould be followed instead if at all possible.
580d5499896SDavid E. O'Brien.It Va WANT_FORCE_OPTIMIZATION_DOWNGRADE
581d5499896SDavid E. O'Brien.Pq Vt int
582d5499896SDavid E. O'BrienCauses the system compiler to be built such that it forces high optimization
583d5499896SDavid E. O'Brienlevels to a lower one.
58430b39270SRuslan Ermilov.Xr gcc 1
58530b39270SRuslan Ermilov.Fl O2
58630b39270SRuslan Ermilovand above is known to trigger known optimizer bugs at various
58730b39270SRuslan Ermilovtimes \(em this is worse on the Alpha platform.
588d5499896SDavid E. O'BrienThe value assigned is the highest optimization value used.
589786aa69aSBen Smithurst.El
590786aa69aSBen Smithurst.Pp
591786aa69aSBen SmithurstThe following list provides a name and short description for variables
592786aa69aSBen Smithurstthat are used when building documentation.
593786aa69aSBen Smithurst.Bl -tag -width Ar
5949c488872SRuslan Ermilov.It Va DISTDIR
59534455342SDima Dorfman.Pq Vt str
5969c488872SRuslan ErmilovWhere distfiles are kept.
5979c488872SRuslan ErmilovNormally, this is
598786aa69aSBen Smithurst.Pa distfiles
599786aa69aSBen Smithurstin
6009c488872SRuslan Ermilov.Va PORTSDIR .
6019c488872SRuslan Ermilov.It Va DOC_LANG
60234455342SDima Dorfman.Pq Vt str
6039c488872SRuslan ErmilovThe list of languages and encodings to build and install.
6049c488872SRuslan Ermilov.It Va PRINTERDEVICE
60534455342SDima Dorfman.Pq Vt str
6069c488872SRuslan ErmilovThe default format for system documentation, depends on your
6079c488872SRuslan Ermilovprinter.
6089c488872SRuslan ErmilovThis can be set to
609786aa69aSBen Smithurst.Dq Li ascii
610786aa69aSBen Smithurstfor simple printers or
611786aa69aSBen Smithurst.Dq Li ps
612786aa69aSBen Smithurstfor postscript or graphics printers with a ghostscript
613786aa69aSBen Smithurstfilter.
614786aa69aSBen Smithurst.El
615786aa69aSBen Smithurst.Sh FILES
6161ca805f2SRuslan Ermilov.Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact
617786aa69aSBen Smithurst.It Pa /etc/make.conf
618786aa69aSBen Smithurst.It Pa /usr/doc/Makefile
6191ca805f2SRuslan Ermilov.It Pa /usr/share/examples/etc/make.conf
620786aa69aSBen Smithurst.It Pa /usr/src/Makefile
621786aa69aSBen Smithurst.It Pa /usr/src/Makefile.inc1
6223136363fSRuslan Ermilov.El
623786aa69aSBen Smithurst.Sh SEE ALSO
624786aa69aSBen Smithurst.Xr gcc 1 ,
625786aa69aSBen Smithurst.Xr install 1 ,
626786aa69aSBen Smithurst.Xr make 1 ,
627786aa69aSBen Smithurst.Xr ports 7 ,
628180ddf32SDima Dorfman.Xr lpd 8 ,
629786aa69aSBen Smithurst.Xr sendmail 8
630786aa69aSBen Smithurst.Sh HISTORY
631786aa69aSBen SmithurstThe
632786aa69aSBen Smithurst.Nm
633786aa69aSBen Smithurstfile appeared sometime before
634786aa69aSBen Smithurst.Fx 4.0 .
635786aa69aSBen Smithurst.Sh AUTHORS
6369c488872SRuslan ErmilovThis
6379c488872SRuslan Ermilovmanual page was written by
638786aa69aSBen Smithurst.An Mike W. Meyer Aq mwm@mired.org .
639265733aaSBen Smithurst.Sh BUGS
640265733aaSBen SmithurstThis manual page may occasionally be out of date with respect to
641265733aaSBen Smithurstthe options currently available for use in
6423136363fSRuslan Ermilov.Nm .
643265733aaSBen SmithurstPlease check the
644d33a962dSAlexander Langer.Pa /usr/share/examples/etc/make.conf
645265733aaSBen Smithurstfile for the latest options which are available.
646