The .s files do not have to be preprocessed with cpp(1).

This commit is contained in:
Ruslan Ermilov 2003-07-02 16:43:07 +00:00
parent 7bbe9e619f
commit 6319fd15c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117171

View File

@ -114,10 +114,10 @@ depend: beforedepend ${DEPENDFILE} afterdepend
# Split up the sources, and filter out headers and non-applicable flags.
${DEPENDFILE}: ${SRCS}
rm -f ${DEPENDFILE}
.if ${SRCS:M*.[cSs]} != ""
.if ${SRCS:M*.[cS]} != ""
${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \
${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BID]*} \
${.ALLSRC:M*.[cSs]}
${.ALLSRC:M*.[cS]}
.endif
.if ${SRCS:M*.cc} != "" || ${SRCS:M*.C} != "" || ${SRCS:M*.cpp} != "" || \
${SRCS:M*.cxx} != ""