Remove temporary hack from r294370 for SSH upgrades.

MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-02-16 19:00:22 +00:00
parent 89977ce227
commit 3b1e60a40a

View File

@ -205,14 +205,6 @@ depend: beforedepend ${DEPENDFILE} afterdepend
# This could be simpler with bmake :tW but needs to support fmake for MFC.
_CFLAGS_INCLUDES= ${CFLAGS:Q:S/\\ /,/g:C/-include,/-include%/g:C/,/ /g:M-include*:C/%/ /g}
_CXXFLAGS_INCLUDES= ${CXXFLAGS:Q:S/\\ /,/g:C/-include,/-include%/g:C/,/ /g:M-include*:C/%/ /g}
# XXX: Temporary hack to workaround .depend files not tracking -include
_hdrincludes=${_CFLAGS_INCLUDES:M*.h} ${_CXXFLAGS_INCLUDES:M*.h}
.for _hdr in ${_hdrincludes:O:u}
.if exists(${_hdr})
${OBJS} ${POBJS} ${SOBJS}: ${_hdr}
.endif
.endfor
.undef _hdrincludes
# Different types of sources are compiled with slightly different flags.
# Split up the sources, and filter out headers and non-applicable flags.