version 1.122.2.2, 2017/04/26 02:52:13 |
version 1.133.2.1, 2019/06/10 21:41:01 |
|
|
|
|
Makefile The main Makefile for NetBSD; should only be run for |
Makefile The main Makefile for NetBSD; should only be run for |
native builds with an appropriately up-to-date version of |
native builds with an appropriately up-to-date version of |
NetBSD make(1). (For building from out-of-date systems or |
NetBSD make(1). Intended for expert use with knowlege of |
on a non-native host, see the build.sh shell script.) |
its shortcomings, it has been superseded by the build.sh |
|
shell script as the recommended means for building NetBSD. |
|
|
UPDATING Special notes for updating from an earlier revision of |
UPDATING Special notes for updating from an earlier revision of |
NetBSD. It is important to read this file before every |
NetBSD. It is important to read this file before every |
|
|
build.sh Bourne-compatible shell script used for building the host |
build.sh Bourne-compatible shell script used for building the host |
build tools and the NetBSD system from scratch. Can be |
build tools and the NetBSD system from scratch. Can be |
used for both native and cross builds, and should be used |
used for both native and cross builds, and should be used |
instead of make(1) for any source tree that is updated and |
instead of make(1) as it performs additional checks to |
recompiled regularly. |
prevent common issues going undetected, such as building |
|
with an outdated version of make(1). |
|
|
crypto/dist/, dist/, gnu/dist/ |
crypto/dist/, dist/, gnu/dist/ |
Sources imported verbatim from third parties, without |
Sources imported verbatim from third parties, without |
|
|
Directory containing sources of externally added programs and |
Directory containing sources of externally added programs and |
libraries. If specified, must be an absolute path. |
libraries. If specified, must be an absolute path. |
|
|
Default: NETBSDRCDIR/../extsrc, if that exists; otherwise |
Default: NETBSDSRCDIR/../extsrc, if that exists; otherwise |
/usr/extsrc. |
/usr/extsrc. |
|
|
MAKECONF The name of the make(1) configuration file. Only settable in |
MAKECONF The name of the make(1) configuration file. Only settable in |
|
|
|
|
Default: "no" |
Default: "no" |
|
|
MKCRYPTO Can be set to "yes" or "no". Indicates whether cryptographic |
|
code will be included in a build; provided for the benefit of |
|
countries that do not allow strong cryptography. Will not |
|
affect use of the standard low-security password encryption |
|
system, crypt(3). |
|
|
|
Default: "yes" |
|
|
|
MKDEBUG Can be set to "yes" or "no". Indicates whether debug |
MKDEBUG Can be set to "yes" or "no". Indicates whether debug |
information should be generated for all userland binaries |
information should be generated for all userland binaries |
compiled. The result is collected as an additional debug.tgz |
compiled. The result is collected as an additional debug.tgz |
|
|
|
|
MKDEBUGLIB Can be set to "yes" or "no". Indicates whether debug |
MKDEBUGLIB Can be set to "yes" or "no". Indicates whether debug |
information (see MKDEBUG) should also be generated for all |
information (see MKDEBUG) should also be generated for all |
libraries build. |
libraries built. |
|
|
Default: "no" |
Default: "no" |
|
|
|
|
Default: "no" |
Default: "no" |
|
|
MKINFO Can be set to "yes" or "no". Indicates whether GNU Info |
MKINFO Can be set to "yes" or "no". Indicates whether GNU Info |
files, used for the documentation for most of the compilation |
files will be created and installed during a build. GNU Info |
tools, will be created and installed during a build. |
files are used for providing documentation by most of the |
|
compilation tools. |
|
|
Default: "yes" |
Default: "yes" |
|
|
|
|
statically linked. |
statically linked. |
|
|
Default: Platform dependent. As of this writing, all |
Default: Platform dependent. As of this writing, all |
platforms except sh3 default to "yes". |
platforms except m68000 default to "yes". |
|
|
MKPICINSTALL |
MKPICINSTALL |
Can be set to "yes" or "no". Indicates whether the ar(1) |
Can be set to "yes" or "no". Indicates whether the ar(1) |
|
|
must be an absolute path. The main modular Xorg source is |
must be an absolute path. The main modular Xorg source is |
found in X11SRCDIR/external/mit. |
found in X11SRCDIR/external/mit. |
|
|
Default: NETBSDRCDIR/../xsrc, if that exists; otherwise |
Default: NETBSDSRCDIR/../xsrc, if that exists; otherwise |
/usr/xsrc. |
/usr/xsrc. |
|
|
"make" variables for full builds |
"make" variables for full builds |
|
|
MACHINE/MACHINE_ARCH pairs, and then exits. The -m or -a |
MACHINE/MACHINE_ARCH pairs, and then exits. The -m or -a |
options (or both) may be used to specify glob patterns that |
options (or both) may be used to specify glob patterns that |
will be used to narrow the list of results; for example, |
will be used to narrow the list of results; for example, |
"build.sh -m 'evm*' -a '*arm*' list-arch" will list all |
"build.sh -m 'evb*' -a '*arm*' list-arch" will list all |
known MACHINE/MACHINE_ARCH values in which either MACHINE |
known MACHINE/MACHINE_ARCH values in which either MACHINE |
or ALIAS matches the pattern `evb*', and MACHINE_ARCH |
or ALIAS matches the pattern `evb*', and MACHINE_ARCH |
matches the pattern `*arm*'. |
matches the pattern `*arm*'. |
|
|
in object directories. Instead, one may have to manually remove the |
in object directories. Instead, one may have to manually remove the |
files. Consult the UPDATING file for notices concerning this. |
files. Consult the UPDATING file for notices concerning this. |
|
|
NetBSD April 13, 2017 NetBSD |
NetBSD July 29, 2018 NetBSD |