Avoid generating DEPENDFILES='.depend.' when there's no DEPENDOBJS.
MFC after: 2 weeks Sponsored by: DellEMC
This commit is contained in:
parent
05f8fb1fab
commit
3d04f5a9c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349064
@ -186,7 +186,9 @@ DEPENDSRCS+= ${DPSRCS:M*.[cSC]} ${SRCS:M*.cxx} ${SRCS:M*.cpp} ${SRCS:M*.cc}
|
||||
.if !empty(DEPENDSRCS)
|
||||
DEPENDOBJS+= ${DEPENDSRCS:${OBJS_SRCS_FILTER:ts:}:S,$,.o,}
|
||||
.endif
|
||||
.if !empty(DEPENDOBJS)
|
||||
DEPENDFILES+= ${DEPENDOBJS:O:u:${DEPEND_FILTER}:C/^/${DEPENDFILE}./}
|
||||
.endif
|
||||
.if defined(_SKIP_DEPEND)
|
||||
# Don't bother statting any .meta files for .depend*
|
||||
${DEPENDOBJS}: .NOMETA
|
||||
|
Loading…
Reference in New Issue
Block a user