Always remove .depend.* regardless of WITH_FAST_DEPEND in case of changing
which is used. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
b76e69080a
commit
69888e41a1
@ -59,7 +59,7 @@ DEPENDFILE?= .depend
|
|||||||
.if ${MK_DIRDEPS_BUILD} == "no"
|
.if ${MK_DIRDEPS_BUILD} == "no"
|
||||||
.MAKE.DEPENDFILE= ${DEPENDFILE}
|
.MAKE.DEPENDFILE= ${DEPENDFILE}
|
||||||
.endif
|
.endif
|
||||||
DEPENDFILES= ${DEPENDFILE}
|
DEPENDFILES= ${DEPENDFILE} ${DEPENDFILE}.*
|
||||||
|
|
||||||
# Keep `tags' here, before SRCS are mangled below for `depend'.
|
# Keep `tags' here, before SRCS are mangled below for `depend'.
|
||||||
.if !target(tags) && defined(SRCS) && !defined(NO_TAGS)
|
.if !target(tags) && defined(SRCS) && !defined(NO_TAGS)
|
||||||
@ -156,7 +156,6 @@ ${_D}.po: ${_DSRC} ${POBJS:S/^${_D}.po$//}
|
|||||||
|
|
||||||
.if ${MK_FAST_DEPEND} == "yes" && \
|
.if ${MK_FAST_DEPEND} == "yes" && \
|
||||||
(${.MAKE.MODE:Mmeta} == "" || ${.MAKE.MODE:Mnofilemon} != "")
|
(${.MAKE.MODE:Mmeta} == "" || ${.MAKE.MODE:Mnofilemon} != "")
|
||||||
DEPENDFILES+= ${DEPENDFILE}.*
|
|
||||||
DEPEND_MP?= -MP
|
DEPEND_MP?= -MP
|
||||||
# Handle OBJS=../somefile.o hacks. Just replace '/' rather than use :T to
|
# Handle OBJS=../somefile.o hacks. Just replace '/' rather than use :T to
|
||||||
# avoid collisions.
|
# avoid collisions.
|
||||||
|
Loading…
Reference in New Issue
Block a user