2000-11-22 14:04:26 +00:00
|
|
|
.\" Copyright (c) 2000
|
|
|
|
.\" Mike W. Meyer
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2005-10-12 19:05:22 +00:00
|
|
|
.Dd October 12, 2005
|
2000-11-22 14:04:26 +00:00
|
|
|
.Dt MAKE.CONF 5
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm make.conf
|
2001-01-18 09:42:50 +00:00
|
|
|
.Nd system build information
|
2000-11-22 14:04:26 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The file
|
|
|
|
.Nm
|
2005-10-10 14:49:55 +00:00
|
|
|
contains system-wide settings that will apply to every build using
|
|
|
|
.Xr make 1
|
|
|
|
and the standard
|
|
|
|
.Pa sys.mk
|
|
|
|
file.
|
|
|
|
This is achieved as follows:
|
|
|
|
.Xr make 1
|
|
|
|
processes the system makefile
|
|
|
|
.Pa sys.mk
|
|
|
|
before any other file by default, and
|
|
|
|
.Pa sys.mk
|
|
|
|
includes
|
|
|
|
.Nm .
|
|
|
|
.Pp
|
2001-01-18 09:42:50 +00:00
|
|
|
The file
|
2000-11-22 14:04:26 +00:00
|
|
|
.Nm
|
2005-10-10 14:49:55 +00:00
|
|
|
uses the standard makefile syntax.
|
|
|
|
However,
|
|
|
|
.Nm
|
|
|
|
should not specify any dependencies to
|
|
|
|
.Xr make 1 .
|
|
|
|
Instead,
|
|
|
|
.Nm
|
|
|
|
is to set
|
|
|
|
.Xr make 1
|
|
|
|
variables that control the actions of other makefiles.
|
|
|
|
.Pp
|
|
|
|
The default location of
|
|
|
|
.Nm
|
|
|
|
is
|
|
|
|
.Pa /etc/make.conf ,
|
|
|
|
though an alternative location can be specified in the
|
|
|
|
.Xr make 1
|
|
|
|
variable
|
|
|
|
.Va __MAKE_CONF .
|
|
|
|
You may need to override the location of
|
|
|
|
.Nm
|
|
|
|
if the system-wide settings are not suitable for a particular build.
|
|
|
|
For instance, setting
|
|
|
|
.Va __MAKE_CONF
|
|
|
|
to
|
|
|
|
.Pa /dev/null
|
|
|
|
effectively resets all build controls to their defaults.
|
2000-11-22 14:04:26 +00:00
|
|
|
.Pp
|
2005-10-10 14:49:55 +00:00
|
|
|
The primary purpose of
|
2000-11-22 14:04:26 +00:00
|
|
|
.Nm
|
2005-10-10 14:49:55 +00:00
|
|
|
is to control the compilation of the
|
|
|
|
.Fx
|
|
|
|
sources, documentation, and ported applications,
|
|
|
|
which are usually found in
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pa /usr/src ,
|
2005-10-10 14:49:55 +00:00
|
|
|
.Pa /usr/doc ,
|
2000-11-22 14:04:26 +00:00
|
|
|
and
|
2005-10-10 14:49:55 +00:00
|
|
|
.Pa /usr/ports .
|
|
|
|
As a rule, the system administrator creates
|
|
|
|
.Nm
|
|
|
|
when the values of certain control variables need to be changed
|
|
|
|
from their defaults.
|
2000-11-22 14:04:26 +00:00
|
|
|
.Pp
|
2005-10-10 14:49:55 +00:00
|
|
|
The system build procedures occur in four broad areas:
|
|
|
|
the world, the kernel, documentation and ports.
|
2001-01-18 09:42:50 +00:00
|
|
|
Variables set in
|
2000-11-22 14:04:26 +00:00
|
|
|
.Nm
|
2005-10-10 14:49:55 +00:00
|
|
|
may be applicable in one, two, or all four of these areas.
|
|
|
|
In addition, control variables can be specified
|
|
|
|
for a particular build via the
|
2001-01-18 09:42:50 +00:00
|
|
|
.Fl D
|
2000-11-22 14:04:26 +00:00
|
|
|
option of
|
2005-10-10 14:49:55 +00:00
|
|
|
.Xr make 1
|
|
|
|
or in
|
|
|
|
.Xr environ 7 .
|
2000-11-22 14:04:26 +00:00
|
|
|
.Pp
|
2001-01-18 09:42:50 +00:00
|
|
|
The following lists provide a name and short description for each
|
|
|
|
variable you can use during the indicated builds.
|
|
|
|
The values of
|
2000-11-22 14:04:26 +00:00
|
|
|
variables flagged as
|
2001-01-18 09:42:50 +00:00
|
|
|
.Vt bool
|
2000-11-22 14:04:26 +00:00
|
|
|
are ignored; the variable being
|
2001-07-14 19:41:16 +00:00
|
|
|
set at all (even to
|
2001-01-18 09:42:50 +00:00
|
|
|
.Dq Li FALSE
|
2000-11-22 14:04:26 +00:00
|
|
|
or
|
2001-01-18 09:42:50 +00:00
|
|
|
.Dq Li NO )
|
2002-05-14 14:30:48 +00:00
|
|
|
causes it to
|
2000-11-22 14:04:26 +00:00
|
|
|
be treated as if it were set.
|
|
|
|
.Pp
|
|
|
|
The following list provides a name and short description for variables
|
|
|
|
that are used for all builds, or are used by the
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pa makefiles
|
|
|
|
for things other than builds.
|
2000-11-22 14:04:26 +00:00
|
|
|
.Bl -tag -width Ar
|
2003-08-28 04:03:13 +00:00
|
|
|
.It Va ALWAYS_CHECK_MAKE
|
|
|
|
.Pq Vt bool
|
|
|
|
Instructs the top-level makefile in the source tree (normally
|
|
|
|
.Pa /usr/src )
|
|
|
|
to always check if
|
|
|
|
.Xr make 1
|
|
|
|
is up-to-date.
|
|
|
|
Normally this is only done for the world and buildworld targets to handle
|
|
|
|
upgrades from older versions of
|
|
|
|
.Fx .
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va CFLAGS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Controls the compiler setting when compiling C code.
|
2004-07-07 19:57:16 +00:00
|
|
|
Optimization levels other than
|
2001-08-17 21:42:15 +00:00
|
|
|
.Fl O
|
2004-07-02 17:06:19 +00:00
|
|
|
and
|
|
|
|
.Fl O2
|
2001-01-18 09:42:50 +00:00
|
|
|
are not supported.
|
|
|
|
.Va BDECFLAGS
|
|
|
|
is provided as a set of
|
|
|
|
.Xr gcc 1
|
|
|
|
settings suggested by
|
|
|
|
.An "Bruce Evans" Aq bde@FreeBSD.org
|
|
|
|
for developing and testing changes.
|
2001-08-30 22:44:51 +00:00
|
|
|
They can be used, if set, by:
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pp
|
2000-11-22 14:04:26 +00:00
|
|
|
.Bd -literal -offset indent
|
2002-04-13 09:07:22 +00:00
|
|
|
CFLAGS+=${BDECFLAGS}
|
2000-11-22 14:04:26 +00:00
|
|
|
.Ed
|
2002-11-22 18:27:59 +00:00
|
|
|
.It Va CPUTYPE
|
|
|
|
.Pq Vt str
|
|
|
|
Controls which processor should be targeted for generated
|
2002-11-29 11:39:20 +00:00
|
|
|
code.
|
|
|
|
This controls processor-specific optimizations in
|
2002-11-22 18:27:59 +00:00
|
|
|
certain code (currently only OpenSSL) as well as modifying
|
|
|
|
the value of
|
|
|
|
.Va CFLAGS
|
|
|
|
and
|
|
|
|
.Va COPTFLAGS
|
|
|
|
to contain the appropriate optimization directive to
|
|
|
|
.Xr gcc 1 .
|
|
|
|
The automatic setting of
|
|
|
|
.Va CFLAGS
|
|
|
|
and
|
|
|
|
.Va COPTFLAGS
|
|
|
|
may be overridden using the
|
|
|
|
.Va NO_CPU_CFLAGS
|
|
|
|
and
|
|
|
|
.Va NO_CPU_COPTFLAGS
|
2002-11-29 11:39:20 +00:00
|
|
|
variables, respectively.
|
|
|
|
Refer to
|
2002-11-22 18:27:59 +00:00
|
|
|
.Pa /usr/share/examples/etc/make.conf
|
|
|
|
for a list of recognized
|
|
|
|
.Va CPUTYPE
|
|
|
|
options.
|
2002-12-14 15:53:32 +00:00
|
|
|
.It Va NO_CPU_CFLAGS
|
|
|
|
.Pq Vt str
|
2002-12-23 14:59:07 +00:00
|
|
|
Setting this variable will prevent CPU specific compiler flags
|
2002-12-14 15:53:32 +00:00
|
|
|
from being automatically added to
|
|
|
|
.Va CFLAGS
|
2002-12-23 14:59:07 +00:00
|
|
|
during compile time.
|
2002-12-14 15:53:32 +00:00
|
|
|
.It Va NO_CPU_COPTFLAGS
|
|
|
|
.Pq Vt str
|
2002-12-23 14:59:07 +00:00
|
|
|
Setting this variable will prevent CPU specific compiler flags
|
2002-12-14 15:53:32 +00:00
|
|
|
from being automatically added to
|
|
|
|
.Va COPTFLAGS
|
2002-12-23 14:59:07 +00:00
|
|
|
during compile time.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va CVS_UPDATE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to use
|
|
|
|
.Xr cvs 1
|
|
|
|
to update your ports with
|
|
|
|
.Dq Li "make update" .
|
|
|
|
.It Va CXXFLAGS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Controls the compiler settings when compiling C++ code.
|
|
|
|
.Va CXXFLAGS
|
|
|
|
is initially set to the value of
|
|
|
|
.Va CFLAGS .
|
|
|
|
If you want to
|
|
|
|
add to the
|
|
|
|
.Va CXXFLAGS
|
|
|
|
value, use
|
2000-11-22 14:04:26 +00:00
|
|
|
.Dq Li +=
|
|
|
|
instead of
|
|
|
|
.Dq Li = .
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va INSTALL
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
the default install command.
|
2003-09-15 16:11:41 +00:00
|
|
|
To install only files for which the target differs or does not exist, use
|
2000-11-22 14:04:26 +00:00
|
|
|
.Bd -literal -offset indent
|
2002-07-29 08:51:04 +00:00
|
|
|
INSTALL="install -C"
|
2000-11-22 14:04:26 +00:00
|
|
|
.Ed
|
2003-09-15 16:11:41 +00:00
|
|
|
Note that some makefiles (including those in
|
|
|
|
.Pa /usr/share/mk )
|
|
|
|
may hardcode options for the supplied install command.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va LOCAL_DIRS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
List any directories that should be entered when doing
|
2000-11-22 14:04:26 +00:00
|
|
|
make's in
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pa /usr/src
|
2000-11-22 14:04:26 +00:00
|
|
|
in this variable.
|
2002-11-22 18:27:59 +00:00
|
|
|
.It Va MAKE_SHELL
|
|
|
|
.Pq Vt str
|
|
|
|
Controls the shell used internally by
|
|
|
|
.Xr make 1
|
|
|
|
to process the command scripts in makefiles.
|
|
|
|
.Xr sh 1 ,
|
2002-11-29 11:39:20 +00:00
|
|
|
.Xr ksh 1 ,
|
2002-11-22 18:27:59 +00:00
|
|
|
and
|
|
|
|
.Xr csh 1
|
|
|
|
all currently supported.
|
2002-11-29 11:39:20 +00:00
|
|
|
.Pp
|
|
|
|
.Dl "MAKE_SHELL?=sh"
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va MTREE_FOLLOWS_SYMLINKS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to
|
|
|
|
.Dq Fl L
|
|
|
|
to cause
|
|
|
|
.Xr mtree 8
|
|
|
|
to follow symlinks.
|
|
|
|
.It Va NO_DOCUPDATE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to not update the doc tree during
|
|
|
|
.Dq Li "make update" .
|
|
|
|
.It Va NO_PORTSUPDATE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to not update the ports tree during
|
|
|
|
.Dq Li "make update" .
|
|
|
|
.It Va SUP_UPDATE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to use
|
|
|
|
.Xr cvsup 1
|
|
|
|
to update your ports with
|
|
|
|
.Dq Li "make update" .
|
|
|
|
.It Va SUP
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The location of the
|
|
|
|
.Xr cvsup 1
|
|
|
|
command for
|
|
|
|
.Dq Li "make update" .
|
|
|
|
.It Va SUPFLAGS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The flag for the
|
|
|
|
.Xr sup 1
|
|
|
|
command when doing
|
|
|
|
.Dq Li "make update" .
|
2000-11-22 14:04:26 +00:00
|
|
|
This defaults to
|
2001-01-18 09:42:50 +00:00
|
|
|
.Op Fl g L Ar 2 .
|
|
|
|
.It Va SUPHOST
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The hostname of the sup server to use when doing
|
|
|
|
.Dq Li "make update" .
|
|
|
|
.It Va SUPFILE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The first
|
|
|
|
.Ar supfile
|
|
|
|
to use when doing a
|
|
|
|
.Dq Li "make update" .
|
2000-11-22 14:04:26 +00:00
|
|
|
This defaults to
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pa /usr/share/examples/cvsup/standard\-supfile .
|
|
|
|
.It Va SUPFILE1
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The second
|
|
|
|
.Ar supfile
|
|
|
|
to use when doing a
|
|
|
|
.Dq Li "make update" .
|
2000-11-22 14:04:26 +00:00
|
|
|
This defaults to
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pa /usr/share/examples/cvsup/secure\-supfile .
|
|
|
|
.It Va SUPFILE2
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The third
|
|
|
|
.Ar supfile
|
|
|
|
to use when doing a
|
|
|
|
.Dq Li "make update" .
|
2000-11-22 14:04:26 +00:00
|
|
|
This defaults to
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pa /usr/share/examples/cvsup/secure\-supfile .
|
|
|
|
.It Va PORTSSUPFILE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The ports
|
|
|
|
.Ar supfile
|
|
|
|
to use when doing a
|
|
|
|
.Dq Li "make update" .
|
2000-11-22 14:04:26 +00:00
|
|
|
This defaults to
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pa /usr/share/examples/cvsup/ports\-supfile .
|
|
|
|
.It Va DOCSUPFILE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The documentation
|
|
|
|
.Ar supfile
|
|
|
|
to use when doing a
|
|
|
|
.Dq Li "make update" .
|
|
|
|
This defaults to
|
|
|
|
.Pa /usr/share/examples/cvsup/doc\-supfile .
|
2000-11-22 14:04:26 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following list provides a name and short description for variables
|
|
|
|
that are only used doing a kernel build:
|
|
|
|
.Bl -tag -width Ar
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va BOOT_COMCONSOLE_PORT
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The port address to use for the console if the boot blocks have
|
2000-11-22 14:04:26 +00:00
|
|
|
been configured to use a serial console instead of the keyboard/video card.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va BOOT_COMCONSOLE_SPEED
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt int
|
2001-01-18 09:42:50 +00:00
|
|
|
The baud rate to use for the console if the boot blocks have
|
2000-11-22 14:04:26 +00:00
|
|
|
been configured to use a serial console instead of the keyboard/video card.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va BOOTWAIT
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt int
|
2001-01-18 09:42:50 +00:00
|
|
|
Controls the amount of time the kernel waits for a console keypress
|
|
|
|
before booting the default kernel.
|
|
|
|
The value is approximately milliseconds.
|
|
|
|
Keypresses are accepted by the BIOS before booting from disk,
|
2000-11-22 14:04:26 +00:00
|
|
|
making it possible to give custom boot parameters even when this is
|
|
|
|
set to 0.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va COPTFLAGS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Controls the compiler settings when building the
|
|
|
|
kernel.
|
|
|
|
Optimization levels above
|
|
|
|
.Oo Fl O ( O2 , No ...\& ) Oc
|
2001-08-16 06:05:18 +00:00
|
|
|
are not guaranteed to work.
|
2001-08-22 23:43:19 +00:00
|
|
|
.It Va KERNCONF
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Controls which kernel configurations will be
|
2001-01-17 11:51:43 +00:00
|
|
|
built by
|
2001-01-18 09:42:50 +00:00
|
|
|
.Dq Li "${MAKE} buildkernel"
|
|
|
|
and installed by
|
|
|
|
.Dq Li "${MAKE} installkernel" .
|
2001-01-17 11:51:43 +00:00
|
|
|
For example,
|
|
|
|
.Bd -literal -offset indent
|
2001-08-23 21:17:28 +00:00
|
|
|
KERNCONF=MINE DEBUG GENERIC OTHERMACHINE
|
2001-01-17 11:51:43 +00:00
|
|
|
.Ed
|
2001-01-18 09:42:50 +00:00
|
|
|
.Pp
|
2001-06-24 01:34:38 +00:00
|
|
|
will build the kernels specified by the config files
|
2001-01-17 11:51:43 +00:00
|
|
|
.Pa MINE , DEBUG , GENERIC ,
|
|
|
|
and
|
|
|
|
.Pa OTHERMACHINE ,
|
|
|
|
and install the kernel specified by the config file
|
|
|
|
.Pa MINE .
|
|
|
|
It defaults to
|
|
|
|
.Pa GENERIC .
|
2002-11-22 18:27:59 +00:00
|
|
|
.It Va LOADER_TFTP_SUPPORT
|
|
|
|
.Pq Vt bool
|
|
|
|
While not a buildkernel-affected option, there is no better place for this.
|
|
|
|
By default the
|
|
|
|
.Xr pxeboot 8
|
|
|
|
loader retrieves the kernel via NFS.
|
|
|
|
Defining this and recompiling
|
|
|
|
.Pa /usr/src/sys/boot
|
|
|
|
will cause it to retrieve the kernel via TFTP.
|
2002-11-29 11:39:20 +00:00
|
|
|
This allows
|
|
|
|
.Xr pxeboot 8
|
|
|
|
to load a custom BOOTP diskless kernel yet
|
2002-11-22 18:27:59 +00:00
|
|
|
still mount the server's
|
|
|
|
.Pa /
|
|
|
|
rather than load the server's kernel.
|
|
|
|
.It Va MODULES_OVERRIDE
|
|
|
|
.Pq Vt str
|
|
|
|
Set to a list of modules to build instead of all of them.
|
2005-01-21 03:51:07 +00:00
|
|
|
.It Va WITHOUT_MODULES
|
|
|
|
.Pq Vt str
|
2005-01-21 07:55:17 +00:00
|
|
|
Set to a list of modules to exclude from the build.
|
|
|
|
This provides a
|
2005-01-21 03:51:07 +00:00
|
|
|
somewhat easier way to exclude modules you are certain you will never
|
2005-01-21 07:55:17 +00:00
|
|
|
need than specifying
|
2005-01-21 03:51:07 +00:00
|
|
|
.Va MODULES_OVERRIDE .
|
2005-01-21 07:55:17 +00:00
|
|
|
This is applied
|
2005-01-21 03:51:07 +00:00
|
|
|
.Em after
|
|
|
|
.Va MODULES_OVERRIDE .
|
2004-11-12 00:01:07 +00:00
|
|
|
.It Va PORTS_MODULES
|
|
|
|
Set this to the list of ports you wish to rebuild every time the kernel
|
|
|
|
is built.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va NO_KERNELCONFIG
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to skip running
|
2000-11-22 14:04:26 +00:00
|
|
|
.Xr config 8
|
|
|
|
during
|
2001-01-18 09:42:50 +00:00
|
|
|
.Dq Li "${MAKE} buildkernel" .
|
|
|
|
.It Va NO_KERNELDEPEND
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to skip running
|
|
|
|
.Dq Li "${MAKE} depend"
|
2000-11-22 14:04:26 +00:00
|
|
|
during
|
2001-01-18 09:42:50 +00:00
|
|
|
.Dq Li "${MAKE} buildkernel" .
|
|
|
|
.It Va NO_MODULES
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build modules with the kernel.
|
2000-11-22 14:04:26 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following list provides a name and short description for variables
|
|
|
|
that are used during the world build:
|
|
|
|
.Bl -tag -width Ar
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va MAKE_IDEA
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to build the IDEA encryption code.
|
|
|
|
This code is patented in the USA and many European countries.
|
|
|
|
It is
|
2000-11-22 14:04:26 +00:00
|
|
|
.Em "YOUR RESPONSIBILITY"
|
|
|
|
to determine if you can legally use IDEA.
|
2003-11-16 22:15:09 +00:00
|
|
|
.It Va NO_DYNAMICROOT
|
|
|
|
.Pq Vt bool
|
|
|
|
Set this if you do not want to link
|
|
|
|
.Pa /bin
|
|
|
|
and
|
|
|
|
.Pa /sbin
|
|
|
|
dynamically.
|
2003-05-05 07:58:44 +00:00
|
|
|
.It Va NO_KERBEROS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2003-05-05 07:58:44 +00:00
|
|
|
Set this if you do not want to build Kerberos 5 (KTH Heimdal).
|
2002-05-12 03:17:31 +00:00
|
|
|
.It Va ENABLE_SUID_K5SU
|
|
|
|
.Pq Vt bool
|
2003-04-30 21:15:41 +00:00
|
|
|
Set this if you wish to use the ksu utility.
|
2002-05-29 17:18:52 +00:00
|
|
|
Otherwise, it will be
|
2002-05-12 03:17:31 +00:00
|
|
|
installed without the set-user-ID bit set.
|
2002-05-28 08:04:50 +00:00
|
|
|
.It Va ENABLE_SUID_NEWGRP
|
|
|
|
.Pq Vt bool
|
|
|
|
Set this to install
|
|
|
|
.Xr newgrp 1
|
|
|
|
with the set-user-ID bit set.
|
|
|
|
Otherwise,
|
|
|
|
.Xr newgrp 1
|
|
|
|
will not be able to change users' groups.
|
2002-11-22 18:27:59 +00:00
|
|
|
.It Va ENABLE_SUID_SSH
|
|
|
|
.Pq Vt bool
|
|
|
|
Set this to install
|
|
|
|
.Xr ssh 1
|
2002-11-29 11:39:20 +00:00
|
|
|
with the set-user-ID bit turned on.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va MODULES_WITH_WORLD
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to build modules with the system instead of the kernel.
|
2004-01-28 22:46:39 +00:00
|
|
|
.It Va NO_BLUETOOTH
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build Bluetooth related kernel modules, programs and libraries.
|
2004-08-19 09:54:28 +00:00
|
|
|
.It Va NO_BOOT
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build the boot blocks and loader.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va NO_CVS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build CVS.
|
2002-11-22 18:27:59 +00:00
|
|
|
.It Va NO_CXX
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
.Xr g++ 1
|
|
|
|
and related libraries.
|
2005-04-13 10:02:58 +00:00
|
|
|
.It Va NO_DICT
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build the Webster dictionary files.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va NO_FORTRAN
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build
|
|
|
|
.Xr g77 1
|
|
|
|
and related libraries.
|
2002-11-22 18:27:59 +00:00
|
|
|
.It Va NO_GDB
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
2002-11-29 11:39:20 +00:00
|
|
|
.Xr gdb 1 .
|
2005-02-06 16:46:49 +00:00
|
|
|
.It Va NO_GPIB
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build GPIB bus support.
|
2001-05-23 13:32:32 +00:00
|
|
|
.It Va NO_I4B
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build isdn4bsd package.
|
2002-03-21 09:15:39 +00:00
|
|
|
.It Va NO_IPFILTER
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build IP Filter package.
|
2004-08-19 11:00:26 +00:00
|
|
|
.It Va NO_PF
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build PF firewall package.
|
|
|
|
.It Va NO_AUTHPF
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
.Xr authpf 8 .
|
2003-08-29 11:24:53 +00:00
|
|
|
.It Va NO_TOOLCHAIN
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
programs used for program development,
|
|
|
|
compilers, debuggers etc.
|
2004-12-21 10:49:29 +00:00
|
|
|
.It Va NO_INET6
|
2003-08-29 11:24:53 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
programs and libraries related to IPv6 networking.
|
2004-12-21 09:08:06 +00:00
|
|
|
.It Va NO_ATM
|
2003-08-29 11:24:53 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
programs and libraries related to ATM networking.
|
|
|
|
.It Va NO_USB
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
.Xr usbd 8
|
|
|
|
and related programs.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va NO_LPR
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build
|
|
|
|
.Xr lpr 1
|
|
|
|
and related programs.
|
2003-08-29 11:24:53 +00:00
|
|
|
.It Va NO_ACPI
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
.Xr acpiconf 8 ,
|
2004-07-07 19:57:16 +00:00
|
|
|
.Xr acpidump 8
|
2003-08-29 11:24:53 +00:00
|
|
|
and related programs.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va NO_MAILWRAPPER
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build the
|
|
|
|
.Xr mailwrapper 8
|
|
|
|
MTA selector.
|
2004-12-21 08:47:35 +00:00
|
|
|
.It Va NO_MAN
|
2003-02-12 02:30:04 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build manual pages.
|
2005-02-06 14:59:03 +00:00
|
|
|
.It Va NO_NETCAT
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
.Xr nc 1
|
|
|
|
utility.
|
2004-11-19 22:23:57 +00:00
|
|
|
.It Va NO_NIS
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
.Xr NIS 8
|
|
|
|
support and related programs.
|
2005-10-12 19:05:22 +00:00
|
|
|
If set, you might need to adopt your
|
|
|
|
.Xr nsswitch.conf 5
|
|
|
|
and remove
|
|
|
|
.Sq nis
|
|
|
|
entries.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va NO_OBJC
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build Objective C support.
|
|
|
|
.It Va NO_OPENSSH
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build OpenSSH.
|
|
|
|
.It Va NO_OPENSSL
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build OpenSSL (implies
|
2003-05-21 21:47:20 +00:00
|
|
|
.Va NO_KERBEROS
|
|
|
|
and
|
2001-01-18 09:42:50 +00:00
|
|
|
.Va NO_OPENSSH ) .
|
|
|
|
.It Va NO_SENDMAIL
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build
|
|
|
|
.Xr sendmail 8
|
|
|
|
and related programs.
|
|
|
|
.It Va NO_SHAREDOCS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build the
|
|
|
|
.Bx 4.4
|
|
|
|
legacy docs.
|
|
|
|
.It Va NO_TCSH
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build and install
|
|
|
|
.Pa /bin/csh
|
|
|
|
(which is
|
|
|
|
.Xr tcsh 1 ) .
|
2004-12-21 12:21:26 +00:00
|
|
|
.It Va NO_CLEAN
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to disable cleaning during
|
|
|
|
.Dq Li "make buildworld" .
|
2000-11-22 14:04:26 +00:00
|
|
|
This should not be set unless you know what you are doing.
|
2004-12-21 12:21:26 +00:00
|
|
|
.It Va NO_CLEANDIR
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set this to run
|
|
|
|
.Dq Li "${MAKE} clean"
|
2000-11-22 14:04:26 +00:00
|
|
|
instead of
|
2001-01-18 09:42:50 +00:00
|
|
|
.Dq Li "${MAKE} cleandir" .
|
2004-12-21 10:16:04 +00:00
|
|
|
.It Va NO_CRYPT
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build any crypto code.
|
2004-12-21 10:36:54 +00:00
|
|
|
.It Va NO_GAMES
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build games.
|
2004-12-21 09:33:47 +00:00
|
|
|
.It Va NO_INFO
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not make or install
|
|
|
|
.Xr info 5
|
|
|
|
files.
|
2004-12-21 09:00:26 +00:00
|
|
|
.It Va NO_LIBC_R
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build
|
|
|
|
.Nm libc_r
|
|
|
|
(reentrant version of
|
|
|
|
.Nm libc ) .
|
2004-12-21 09:00:26 +00:00
|
|
|
.It Va NO_LIBPTHREAD
|
2003-06-08 23:48:02 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build the
|
|
|
|
.Nm libpthread
|
|
|
|
(M:N threading)
|
|
|
|
library.
|
2004-12-21 09:00:26 +00:00
|
|
|
.It Va NO_LIBTHR
|
2003-06-08 23:48:02 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build the
|
|
|
|
.Nm libthr
|
|
|
|
(1:1 threading)
|
|
|
|
library.
|
2004-12-21 08:47:35 +00:00
|
|
|
.It Va NO_MANCOMPRESS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2005-06-30 13:18:15 +00:00
|
|
|
Set to install manual pages uncompressed.
|
2004-12-21 09:33:47 +00:00
|
|
|
.It Va NO_PROFILE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to avoid compiling profiled libraries.
|
2004-12-21 12:13:23 +00:00
|
|
|
.It Va NO_SHARE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to not build in the
|
|
|
|
.Pa share
|
|
|
|
subdir.
|
2004-12-21 09:59:45 +00:00
|
|
|
.It Va NO_SHARED
|
2004-12-15 02:40:43 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to not build
|
|
|
|
.Pa /bin
|
|
|
|
and
|
|
|
|
.Pa /sbin
|
|
|
|
dynamically linked, this can be bad.
|
2004-09-24 13:51:31 +00:00
|
|
|
.It Va NO_BIND
|
|
|
|
.Pq Vt bool
|
|
|
|
Setting this variable will prevent any part of BIND from being built,
|
|
|
|
regardless of the presence of any of the other *_BIND_* variables below.
|
2004-09-27 08:23:43 +00:00
|
|
|
.It Va NO_BIND_DNSSEC
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to avoid building or installing the DNSSEC related binaries,
|
|
|
|
.Xr dnssec-keygen 8
|
|
|
|
and
|
|
|
|
.Xr dnssec-signzone 8 .
|
|
|
|
.It Va NO_BIND_ETC
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to avoid installing the default files to
|
2004-10-08 00:14:28 +00:00
|
|
|
.Pa /var/named/etc/namedb .
|
2004-09-24 18:42:05 +00:00
|
|
|
.It Va NO_BIND_LIBS_LWRES
|
|
|
|
.Pq Vt bool
|
2004-09-27 08:23:43 +00:00
|
|
|
Set to avoid installing the lightweight resolver library in
|
2004-09-24 18:42:05 +00:00
|
|
|
.Pa /usr/lib .
|
|
|
|
The library that is private to the build system may still be built as needed.
|
2004-10-08 00:14:28 +00:00
|
|
|
.It Va NO_BIND_MTREE
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to avoid running
|
|
|
|
.Xr mtree 8
|
|
|
|
to create the chroot directory structure under
|
|
|
|
.Pa /var/named ,
|
|
|
|
and avoid creating an
|
|
|
|
.Pa /etc/namedb
|
|
|
|
symlink to the chroot directory.
|
|
|
|
This option should typically be used together with
|
|
|
|
.Vt NO_BIND_ETC .
|
2004-09-27 08:23:43 +00:00
|
|
|
.It Va NO_BIND_NAMED
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to avoid building or installing
|
|
|
|
.Xr named 8 ,
|
|
|
|
.Xr named.reload 8 ,
|
|
|
|
.Xr named-checkconf 8 ,
|
|
|
|
.Xr named-checkzone 8 ,
|
|
|
|
.Xr rndc 8 ,
|
|
|
|
and
|
|
|
|
.Xr rndc-confgen 8 .
|
|
|
|
.It Va NO_BIND_UTILS
|
|
|
|
.Pq Vt bool
|
|
|
|
Set to avoid building or installing the BIND userland utilities,
|
|
|
|
.Xr dig 1 ,
|
|
|
|
.Xr host 1 ,
|
|
|
|
.Xr nslookup 1 ,
|
|
|
|
and
|
|
|
|
.Xr nsupdate 8 .
|
2004-09-24 18:42:05 +00:00
|
|
|
.It Va WITH_BIND_LIBS
|
2004-09-24 13:51:31 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to install BIND libraries and include files.
|
2004-12-21 12:01:15 +00:00
|
|
|
.It Va PPP_NO_NAT
|
|
|
|
.Pq Vt bool
|
|
|
|
Build
|
|
|
|
.Xr ppp 8
|
|
|
|
without support for network address translation (NAT).
|
|
|
|
.It Va PPP_NO_NETGRAPH
|
2004-12-15 02:40:43 +00:00
|
|
|
.Pq Vt bool
|
|
|
|
Set to build
|
|
|
|
.Xr ppp 8
|
2004-12-21 12:01:15 +00:00
|
|
|
without support for Netgraph.
|
|
|
|
.It Va PPP_NO_RADIUS
|
|
|
|
.Pq Vt bool
|
2004-12-15 02:40:43 +00:00
|
|
|
Set to build
|
|
|
|
.Xr ppp 8
|
2004-12-21 12:01:15 +00:00
|
|
|
without support for RADIUS.
|
|
|
|
.It Va PPP_NO_SUID
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt bool
|
2001-01-18 09:42:50 +00:00
|
|
|
Set to disable the installation of
|
|
|
|
.Xr ppp 8
|
2004-12-21 12:01:15 +00:00
|
|
|
as a set-user-ID root program.
|
2005-03-02 05:22:27 +00:00
|
|
|
.It Va NO_RCMDS
|
|
|
|
.Pq Vt bool
|
|
|
|
Disable building of the
|
|
|
|
.Tn BSD
|
|
|
|
r-commands.
|
|
|
|
This includes
|
|
|
|
.Xr rlogin 1 ,
|
|
|
|
.Xr rsh 1 ,
|
|
|
|
etc.
|
2001-02-22 04:11:52 +00:00
|
|
|
.It Va SENDMAIL_MC
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2004-06-16 08:33:57 +00:00
|
|
|
The default
|
|
|
|
.Xr m4 1
|
|
|
|
configuration file to use at install time.
|
2001-08-07 13:26:57 +00:00
|
|
|
The value should include the full path to the
|
|
|
|
.Pa .mc
|
|
|
|
file, e.g.,
|
2001-02-22 19:34:13 +00:00
|
|
|
.Pa /etc/mail/myconfig.mc .
|
2001-02-22 04:11:52 +00:00
|
|
|
Use with caution as a make install will overwrite any existing
|
|
|
|
.Pa /etc/mail/sendmail.cf .
|
|
|
|
Note that
|
|
|
|
.Va SENDMAIL_CF
|
|
|
|
is now deprecated.
|
2002-04-14 19:20:26 +00:00
|
|
|
.It Va SENDMAIL_SUBMIT_MC
|
|
|
|
.Pq Vt str
|
2004-06-16 08:33:57 +00:00
|
|
|
The default
|
|
|
|
.Xr m4 1
|
|
|
|
configuration file for mail submission
|
2002-04-14 19:20:26 +00:00
|
|
|
to use at install time.
|
|
|
|
The value should include the full path to the
|
|
|
|
.Pa .mc
|
|
|
|
file, e.g.,
|
|
|
|
.Pa /etc/mail/mysubmit.mc .
|
|
|
|
Use with caution as a make install will overwrite any existing
|
|
|
|
.Pa /etc/mail/submit.cf .
|
2001-02-22 19:44:16 +00:00
|
|
|
.It Va SENDMAIL_ADDITIONAL_MC
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-08-07 13:26:57 +00:00
|
|
|
Additional
|
|
|
|
.Pa .mc
|
|
|
|
files which should be built into
|
|
|
|
.Pa .cf
|
|
|
|
files at build time.
|
|
|
|
The value should include the full path to the
|
|
|
|
.Pa .mc
|
|
|
|
file(s), e.g.,
|
2001-02-22 19:44:16 +00:00
|
|
|
.Pa /etc/mail/foo.mc
|
|
|
|
.Pa /etc/mail/bar.mc .
|
2003-09-24 04:19:26 +00:00
|
|
|
.It Va SENDMAIL_CF_DIR
|
|
|
|
.Pq Vt str
|
2004-06-16 08:33:57 +00:00
|
|
|
Override the default location for the
|
|
|
|
.Xr m4 1
|
|
|
|
configuration files used to build a
|
2003-09-24 04:19:26 +00:00
|
|
|
.Pa .cf
|
|
|
|
file from a
|
|
|
|
.Pa .mc
|
|
|
|
file.
|
2001-07-23 01:33:54 +00:00
|
|
|
.It Va SENDMAIL_M4_FLAGS
|
|
|
|
.Pq Vt str
|
2004-06-16 08:33:57 +00:00
|
|
|
Flags passed to
|
|
|
|
.Xr m4 1
|
|
|
|
when building a
|
2001-08-07 13:26:57 +00:00
|
|
|
.Pa .cf
|
|
|
|
file from a
|
|
|
|
.Pa .mc
|
|
|
|
file.
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va SENDMAIL_CFLAGS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Flags to pass to the compile command when building
|
|
|
|
.Xr sendmail 8 .
|
|
|
|
The
|
|
|
|
.Va SENDMAIL_*
|
|
|
|
flags can be used to provide SASL support with setting such as:
|
2000-11-22 14:04:26 +00:00
|
|
|
.Bd -literal -offset indent
|
|
|
|
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL
|
|
|
|
SENDMAIL_LDFLAGS=-L/usr/local/lib
|
|
|
|
SENDMAIL_LDADD=-lsasl
|
|
|
|
.Ed
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va SENDMAIL_LDFLAGS
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Flags to pass to the
|
|
|
|
.Xr ld 1
|
|
|
|
command when building
|
|
|
|
.Xr sendmail 8 .
|
|
|
|
.It Va SENDMAIL_LDADD
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Flags to add to the end of the
|
|
|
|
.Xr ld 1
|
|
|
|
command when building
|
|
|
|
.Xr sendmail 8 .
|
|
|
|
.It Va SENDMAIL_DPADD
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2002-02-17 22:10:06 +00:00
|
|
|
Extra dependencies to add when building
|
|
|
|
.Xr sendmail 8 .
|
|
|
|
.It Va SENDMAIL_SET_USER_ID
|
|
|
|
.Pq Vt bool
|
|
|
|
If set, install
|
|
|
|
.Xr sendmail 8
|
|
|
|
as a set-user-ID root binary instead of a set-group-ID binary
|
|
|
|
and do not install
|
|
|
|
.Pa /etc/mail/submit.{cf,mc} .
|
|
|
|
Use of this flag is not recommended and the alternative advice in
|
|
|
|
.Pa /etc/mail/README
|
2002-03-17 13:14:14 +00:00
|
|
|
should be followed instead if at all possible.
|
2002-05-24 01:46:39 +00:00
|
|
|
.It Va SENDMAIL_MAP_PERMS
|
|
|
|
.Pq Vt str
|
|
|
|
Mode to use when generating alias and map database files using
|
|
|
|
.Pa /etc/mail/Makefile .
|
|
|
|
The default value is 0640.
|
2002-11-22 18:27:59 +00:00
|
|
|
.It Va TOP_TABLE_SIZE
|
|
|
|
.Pq Vt int
|
|
|
|
.Xr top 1
|
2002-11-29 11:39:20 +00:00
|
|
|
uses a hash table for the user names.
|
|
|
|
The size of this hash can be tuned to match the number of local users.
|
|
|
|
The table size should be a prime number
|
2002-11-22 18:27:59 +00:00
|
|
|
approximately twice as large as the number of lines in
|
|
|
|
.Pa /etc/passwd .
|
|
|
|
The default number is 20011.
|
2001-08-16 06:05:18 +00:00
|
|
|
.It Va WANT_FORCE_OPTIMIZATION_DOWNGRADE
|
|
|
|
.Pq Vt int
|
|
|
|
Causes the system compiler to be built such that it forces high optimization
|
|
|
|
levels to a lower one.
|
2001-08-16 07:50:54 +00:00
|
|
|
.Xr gcc 1
|
|
|
|
.Fl O2
|
|
|
|
and above is known to trigger known optimizer bugs at various
|
|
|
|
times \(em this is worse on the Alpha platform.
|
2001-08-16 06:05:18 +00:00
|
|
|
The value assigned is the highest optimization value used.
|
2000-11-22 14:04:26 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The following list provides a name and short description for variables
|
|
|
|
that are used when building documentation.
|
|
|
|
.Bl -tag -width Ar
|
2001-01-18 09:42:50 +00:00
|
|
|
.It Va DISTDIR
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
Where distfiles are kept.
|
|
|
|
Normally, this is
|
2000-11-22 14:04:26 +00:00
|
|
|
.Pa distfiles
|
|
|
|
in
|
2001-01-18 09:42:50 +00:00
|
|
|
.Va PORTSDIR .
|
|
|
|
.It Va DOC_LANG
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The list of languages and encodings to build and install.
|
|
|
|
.It Va PRINTERDEVICE
|
2001-04-28 20:51:23 +00:00
|
|
|
.Pq Vt str
|
2001-01-18 09:42:50 +00:00
|
|
|
The default format for system documentation, depends on your
|
|
|
|
printer.
|
|
|
|
This can be set to
|
2000-11-22 14:04:26 +00:00
|
|
|
.Dq Li ascii
|
2002-10-29 16:13:21 +00:00
|
|
|
for simple printers, or
|
2000-11-22 14:04:26 +00:00
|
|
|
.Dq Li ps
|
|
|
|
for postscript or graphics printers with a ghostscript
|
2002-10-29 16:13:21 +00:00
|
|
|
filter, or both.
|
2005-07-08 19:26:55 +00:00
|
|
|
.It Va ENABLE_WPA_SUPPLICANT_EAPOL
|
|
|
|
.Pq Vt str
|
|
|
|
Build
|
|
|
|
.Xr wpa_supplicant 8
|
|
|
|
with support for the IEEE 802.1X protocol and with
|
|
|
|
support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
|
|
|
|
protocols (usable only via 802.1X).
|
|
|
|
This option is ignored if NO_CRYPTO or NO_OPENSSL are configured.
|
2000-11-22 14:04:26 +00:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
2001-09-04 09:59:56 +00:00
|
|
|
.Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact
|
2000-11-22 14:04:26 +00:00
|
|
|
.It Pa /etc/make.conf
|
|
|
|
.It Pa /usr/doc/Makefile
|
2001-09-04 09:59:56 +00:00
|
|
|
.It Pa /usr/share/examples/etc/make.conf
|
2005-10-10 14:49:55 +00:00
|
|
|
.It Pa /usr/share/mk/sys.mk
|
2000-11-22 14:04:26 +00:00
|
|
|
.It Pa /usr/src/Makefile
|
|
|
|
.It Pa /usr/src/Makefile.inc1
|
2000-12-29 09:18:45 +00:00
|
|
|
.El
|
2000-11-22 14:04:26 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr gcc 1 ,
|
|
|
|
.Xr install 1 ,
|
|
|
|
.Xr make 1 ,
|
2005-10-10 14:49:55 +00:00
|
|
|
.Xr environ 7 ,
|
2000-11-22 14:04:26 +00:00
|
|
|
.Xr ports 7 ,
|
2001-07-04 22:55:29 +00:00
|
|
|
.Xr lpd 8 ,
|
2000-11-22 14:04:26 +00:00
|
|
|
.Xr sendmail 8
|
2005-07-08 19:26:55 +00:00
|
|
|
.Xr wpa_supplicant 8
|
2000-11-22 14:04:26 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
file appeared sometime before
|
|
|
|
.Fx 4.0 .
|
|
|
|
.Sh AUTHORS
|
2001-01-18 09:42:50 +00:00
|
|
|
This
|
|
|
|
manual page was written by
|
2000-11-22 14:04:26 +00:00
|
|
|
.An Mike W. Meyer Aq mwm@mired.org .
|
2000-12-29 01:54:39 +00:00
|
|
|
.Sh BUGS
|
|
|
|
This manual page may occasionally be out of date with respect to
|
|
|
|
the options currently available for use in
|
2000-12-29 09:18:45 +00:00
|
|
|
.Nm .
|
2000-12-29 01:54:39 +00:00
|
|
|
Please check the
|
2001-08-30 22:44:51 +00:00
|
|
|
.Pa /usr/share/examples/etc/make.conf
|
2000-12-29 01:54:39 +00:00
|
|
|
file for the latest options which are available.
|
2004-08-11 07:09:43 +00:00
|
|
|
.Sh CAVEATS
|
|
|
|
Note, that
|
|
|
|
.Ev MAKEOBJDIRPREFIX
|
|
|
|
and
|
|
|
|
.Ev MAKEOBJDIR
|
|
|
|
are environment variables and should not be set in
|
|
|
|
.Nm
|
|
|
|
but in make's environment.
|