Pass -traditional-cpp to mkdep for assembler files,

as in the actual compilation (${COMPILE.S} rule in sys.mk).
This commit is contained in:
minoura 1999-11-16 08:18:34 +00:00
parent 46ccd498df
commit 094fe1d972
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.dep.mk,v 1.27 1999/08/11 02:00:15 sommerfeld Exp $
# $NetBSD: bsd.dep.mk,v 1.28 1999/11/16 08:18:34 minoura Exp $
.PHONY: cleandepend
cleandir distclean: cleandepend
@ -16,9 +16,10 @@ depend: .depend
@files="${.ALLSRC:M*.s} ${.ALLSRC:M*.S}"; \
if [ "$$files" != " " ]; then \
echo ${MKDEP} -a ${MKDEPFLAGS} \
${AFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} ${AINC:Q} $$files; \
${AFLAGS:M-[ID]*:Q} ${CPPFLAGS:Q} -traditional-cpp ${AINC:Q}
$$files; \
${MKDEP} -a ${MKDEPFLAGS} \
${AFLAGS:M-[ID]*} ${CPPFLAGS} ${AINC} $$files; \
${AFLAGS:M-[ID]*} ${CPPFLAGS} -traditional-cpp ${AINC} $$files; \
fi
@files="${.ALLSRC:M*.c}"; \
if [ "$$files" != "" ]; then \