mk.conf - make configuration file
The mk.conf file overrides various parameters used during the build of
Listed below are the mk.conf variables that may be set, the values to
which each may be set, a brief description of what each variable does,
and a reference to relevant manual pages.
NetBSD System variables [Toc] [Back]
NETBSDSRCDIR The path to the top level of the NetBSD sources. If
make(1) is run from within the NetBSD source tree, the
default is the top level of that tree (as determined by the
presence of build.sh and tools/), otherwise BSDSRCDIR will
BSDOBJDIR The real path to the `obj' tree for the NetBSD source tree.
BSDSRCDIR The real path to the NetBSD source tree. Default:
BUILD If defined, `make install' checks that the targets in the
source directories are up-to-date and re-makes them if they
are out of date, instead of blindly trying to install out
of date or non-existent targets.
COPTS Extra options for the C compiler. Should be appended to
(e.g., COPTS+=-g), rather than explicitly set.
MANZ Install manual pages compressed with gzip(1).
MKCATPAGES If `no', don't build or install the formatted manual pages.
MKDOC If `no', don't build or install the miscellaneous
MKINFO If `no', don't build or install the TeXinfo Info
MKLINT If `no', don't build or install the lint libraries.
MKMAN If `no', don't build or install the manual pages. Sets
MKNLS If `no', don't build or install the NLS (Native Language
MKOBJ If `no', don't create objdirs.
MKPIC If `no', don't build or install shared libraries.
MKPICINSTALL If `no', don't install the `*_pic.a' libraries.
MKPROFILE If `no', don't build or install the `*_p.a' profiling
MKSHARE If `no', set MKCATPAGES=no, MKDOC=no, MKINFO=no, MKMAN=no,
OBJMACHINE If defined, creates objdirs of the form obj.<arch>, where
`<arch>' is the current architecture (as per `uname -m').
UPDATE If defined, `make install' only installs targets that are
more recently modified in the source directories that their
UNPRIVED If defined, `make install' will not attempt to set the
ownership or permissions of the target file, and will
instead attempt to log the information to
Pkgsrc system variables [Toc] [Back]
Please see packages(7) for more variables used internally by the package
system and /usr/pkgsrc/mk/bsd.pkg.defaults.mk for package-specific
/etc/mk.conf This file.
Examples for settings regarding the pkgsrc collection.
The mk.conf file appeared in NetBSD 1.2.
BSD April 27, 2001 BSD
[ Back ]