freebsd-nq/share/mk/src.tools.mk
Maxim Sobolev a8b8edb25e Normalize deployment tools usage and definitions by putting into one place
instead of sprinkling them out over many disjoint files. This is a follow-up
to achieve the same goal in an incomplete rev.348521.

Approved by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D20520
2020-04-07 02:46:22 +00:00

26 lines
880 B
Makefile

# Various tools used by the FreeBSD make installworld / distrib-dirs /
# distribution / installkernel targets. Also called "bootstrap tools"
# historically, however that name seemed to be ambiguous, as those tools
# merely help distributing the OS build artefacts into staging / production
# area.
#
# Very tiny subset of "itools", if you are old enough to know what it is.
#
# Please keep the list short, this file may and will be included from
# many places within the source tree. Rule of thumb: if the above mentioned
# targets survive with MYTOOL_CMD=false, then MYTOOL_CMD probably
# does not belong here. Stick it somewhere else, thank you very much!
#
# $FreeBSD$
.if !target(__<src.tools.mk>__)
INSTALL_CMD?= install
MTREE_CMD?= mtree
PWD_MKDB_CMD?= pwd_mkdb
SERVICES_MKDB_CMD?= services_mkdb
CAP_MKDB_CMD?= cap_mkdb
__<src.tools.mk>__:
.endif # !target(__<tools>__)