mkify utility copies installed BSDBuild include files from their system location
mk under the working directory.
It accepts a list of BSDBuild modules as arguments (e.g.,
prog will cause
build.prog.mk to be installed).
mkify also scans for include directives and will automatically install all
dependencies as well.
The BSDBuild build system is designed to be bundled with applications as a stand-alone set of make include files, which are typically installed in a directory named mk in the top-level directory (or some other central location) in an application source code, such that people building applications which use the BSDBuild build system do not need to have BSDBuild or any other software installed on their systems.
While the need for a mk directory may be perceived as a problem, there are several advantages:
|mkconfigure, build.common.mk, build.lib.mk, build.prog.mk |