mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
Include ${.CURDIR}/local.init.mk if it exists
This is handy for making local hacks to an app (eg to build it as tool for non-BSD host) without making a mess of the code base. Reviewed by: bdrewery MFC after: 1 week Differential Revision: https://reviews.freebsd.org//D24101
This commit is contained in:
parent
413c3db101
commit
64b522da27
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359488
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if !target(__${_this}__)
|
||||
__${_this}__:
|
||||
|
||||
.if ${.MAKE.MODE:Mmeta*} != ""
|
||||
.if !empty(SUBDIR) && !defined(LIB) && !defined(PROG) && ${.MAKE.MAKEFILES:M*bsd.prog.mk} == ""
|
||||
.if ${.MAKE.MODE:Mleaf*} != ""
|
||||
@ -33,3 +36,5 @@ CFLAGS+= ${HOST_CFLAGS}
|
||||
.endif
|
||||
|
||||
.-include "src.init.mk"
|
||||
.-include "${.CURDIR}/local.init.mk"
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user