mk.conf - make configuration file
The mk.conf file overrides various parameters used during the build of
the system.
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
be used.
BSDOBJDIR The real path to the `obj' tree for the NetBSD source tree.
Default: /usr/obj.
BSDSRCDIR The real path to the NetBSD source tree. Default:
/usr/src.
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
documentation.
MKINFO If `no', don't build or install the TeXinfo Info
documentation.
MKLINT If `no', don't build or install the lint libraries.
MKMAN If `no', don't build or install the manual pages. Sets
MKCATPAGES=no.
MKNLS If `no', don't build or install the NLS (Native Language
Support) files.
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
libraries.
MKSHARE If `no', set MKCATPAGES=no, MKDOC=no, MKINFO=no, MKMAN=no,
MKNLS=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
installed counterparts.
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
${DESTDIR}/METALOG.
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
examples.
/etc/mk.conf This file.
/usr/pkgsrc/mk/bsd.pkg.defaults.mk
Examples for settings regarding the pkgsrc collection.
make(1), packages(7)
The mk.conf file appeared in NetBSD 1.2.
BSD April 27, 2001 BSD
[ Back ] |