2015-06-13 19:20:56 +00:00
|
|
|
# $FreeBSD$
|
2012-08-22 19:25:57 +00:00
|
|
|
|
2015-11-14 03:24:48 +00:00
|
|
|
.if ${MK_DIRDEPS_BUILD} == "yes"
|
2012-08-22 19:25:57 +00:00
|
|
|
MAKE_PRINT_VAR_ON_ERROR+= \
|
|
|
|
.CURDIR \
|
|
|
|
.MAKE \
|
|
|
|
.OBJDIR \
|
|
|
|
.TARGETS \
|
|
|
|
DESTDIR \
|
|
|
|
LD_LIBRARY_PATH \
|
|
|
|
MACHINE \
|
|
|
|
MACHINE_ARCH \
|
|
|
|
MAKEOBJDIRPREFIX \
|
2012-11-04 02:52:03 +00:00
|
|
|
MAKESYSPATH \
|
2012-08-22 19:25:57 +00:00
|
|
|
MAKE_VERSION\
|
2015-11-25 19:44:31 +00:00
|
|
|
PATH \
|
2015-05-26 21:44:15 +00:00
|
|
|
SRCTOP \
|
2012-08-22 19:25:57 +00:00
|
|
|
OBJTOP \
|
|
|
|
${MAKE_PRINT_VAR_ON_ERROR_XTRAS}
|
|
|
|
|
2013-02-16 01:19:18 +00:00
|
|
|
.if ${.MAKE.LEVEL} > 0
|
|
|
|
MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH
|
|
|
|
.endif
|
2015-06-15 21:09:18 +00:00
|
|
|
.endif
|
2013-02-16 01:19:18 +00:00
|
|
|
|
2015-06-13 19:20:56 +00:00
|
|
|
.include "src.sys.mk"
|
2015-11-14 03:24:48 +00:00
|
|
|
|
|
|
|
.if ${.MAKE.MODE:Unormal:Mmeta*} != ""
|
|
|
|
# we can afford to use cookies to prevent some targets
|
|
|
|
# re-running needlessly
|
|
|
|
META_COOKIE_TOUCH= touch ${COOKIE.${.TARGET}:U${.OBJDIR}/${.TARGET}}
|
|
|
|
# some targets need to be .PHONY - but not in meta mode
|
|
|
|
META_NOPHONY=
|
|
|
|
.else
|
|
|
|
META_COOKIE_TOUCH=
|
|
|
|
META_NOPHONY= .PHONY
|
|
|
|
.endif
|
|
|
|
|