overrideable in mk.conf
Document in bsd.README; this is distinct from "MKOBJ", which controls
whether "make obj" does anything.
In the top-level makefile, if MKOBJDIRS != "no", do a "make obj" at an
appropriate point during a "make build".
and build shared objects from the .a library. A symlink is installed
in /usr/lib so that the name "libfoo_pic.a" still exists for third party
software that explicitly wants an _pic.a library.
more readily depend on each other.
An lkm which depends on another lkm now only needs to set
KMOD_LOADFLAGS= -A../../path/to/other/lkm's/${KMOD}
and the lkm will link against the other lkm's symbols. Obviously the other
lkm had better be loaded. ;-) Note: the -A option to modload was pre-
existing. This change makes it possible for users of this file to take
advantage of it.
in a single directory. This is useful in "make build" because by doing
the build immediately after the depend, all sources will typically
still be in the buffer cache, thus saving significant time over doing
a "make depend" on all the directories and then a "make all".
installed by "make install") without setting of BUILD. All cases where BUILD
is already set are unchanged from the old behavior.
"make all install" is now practically equivalent to "make BUILD= all install",
but without actually setting build.
Fixes pr's 8313, 3894.
source tree. Allows CRYPTOBASE to be set in mk.conf or environment.
If it's not set, it searches for: crypto-us, crypto-intl in that order.
Setting CRYPTOBASE to none forces a no-crypto build. EXPORTABLE_SYSTEM
is supported for backwards-compatibility.
Will be used in a forthcoming mega-commit which significantly improves
the build process when building a crypto-enabled system, and allows
for the international crypto sub-tree to be seamlessly integrated into
the build process.
other shared libraries to load against the ones just built when
DESTDIR is set (i.e. -L${DESTDIR}${LIBDIR} ), rather than what's
installed in /usr/lib (previous behavior definitely violated the
Principle of Least Astonishment!).