xref: /freebsd/contrib/bmake/mk/final.mk (revision 129043849f62f9cfa72f6fae68417d9995860f3f)
1*12904384SSimon J. Gerraty# $Id: final.mk,v 1.10 2021/12/08 05:56:50 sjg Exp $
23cbdda60SSimon J. Gerraty
33cbdda60SSimon J. Gerraty.if !target(__${.PARSEFILE}__)
4*12904384SSimon J. Gerraty__${.PARSEFILE}__: .NOTMAIN
53cbdda60SSimon J. Gerraty
63cbdda60SSimon J. Gerraty# provide a hook for folk who want to do scary stuff
7e48f47ddSSimon J. Gerraty.-include <${.CURDIR:H}/Makefile-final.inc>
83cbdda60SSimon J. Gerraty
950d2e745SSimon J. Gerraty.-include <local.final.mk>
1050d2e745SSimon J. Gerraty
11cac6fd11SSimon J. Gerraty.if ${MK_STAGING} == "yes"
12cac6fd11SSimon J. Gerraty.include <meta.stage.mk>
13cac6fd11SSimon J. Gerraty.elif !empty(STAGE)
143cbdda60SSimon J. Gerraty.-include <stage.mk>
153cbdda60SSimon J. Gerraty.endif
163cbdda60SSimon J. Gerraty
17cac6fd11SSimon J. Gerraty.if empty(_SKIP_BUILD)
18cac6fd11SSimon J. Gerratyinstall: realinstall
19cac6fd11SSimon J. Gerraty.endif
20cac6fd11SSimon J. Gerratyrealinstall:
21cac6fd11SSimon J. Gerraty
223cbdda60SSimon J. Gerraty.endif
23