Always remove .depend.* in case switching between FAST_DEPEND on/off.

This was missed in r295666.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-02-22 21:01:25 +00:00
parent f52f523099
commit 363f920404

View File

@ -222,10 +222,9 @@ _MKDEPCC:= ${CC:N${CCACHE_BIN}}
SRCS= assym.s vnode_if.h ${BEFORE_DEPEND} ${CFILES} \
${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${MFILES:T:S/.m$/.h/}
DEPENDFILES= .depend
DEPENDFILES= .depend .depend.*
.if ${MK_FAST_DEPEND} == "yes" && \
(${.MAKE.MODE:Unormal:Mmeta} == "" || ${.MAKE.MODE:Unormal:Mnofilemon} != "")
DEPENDFILES+= .depend.*
DEPEND_CFLAGS+= -MD -MP -MF.depend.${.TARGET}
DEPEND_CFLAGS+= -MT${.TARGET}
.if defined(.PARSEDIR)