Lines Matching +full:ainc +full:-
1 # SPDX-License-Identifier: BSD-2-Clause
6 # @(#) Copyright (c) 1999-2024, Simon J. Gerraty
15 # Please send copies of changes and bug-fixes to:
30 .-include <$d>
68 # set this to -MMD to ignore /usr/include
70 CFLAGS_MD ?= -MD
71 # -MF etc not available on all gcc versions.
76 CFLAGS_MF ?= -MF ${.TARGET:T:R}.d -MT ${.TARGET:T:R}.o
82 CPPFLAGS_MD = ${CFLAGS:M-[IUD]*} ${CPPFLAGS}
83 CXXFLAGS_MD = ${CXXFLAGS:M-[IUD]*} ${CPPFLAGS}
97 @${MAKE_SHELL} -ec "${CC_MD} -M ${CPPFLAGS_MD} y.tab.c | sed '/:/s/^/$@ /' > $@" || { ${RM} -f y.tab.c $@; false; }
98 @${RM} -f y.tab.c
103 @${MAKE_SHELL} -ec "${CC_MD} -M ${CPPFLAGS_MD} lex.yy.c | sed '/:/s/^/$@ /' > $@" || { ${RM} -f lex.yy.c $@; false; }
104 @${RM} -f lex.yy.c
108 @${MAKE_SHELL} -ec "${CC_MD} -M ${CPPFLAGS_MD} $< | sed '/:/s/^/$@ /' > $@" || { ${RM} -f $@; false; }
112 @${MAKE_SHELL} -ec "${CC_MD} -M ${CPPFLAGS_MD} ${AINC} $< | sed '/:/s/^/$@ /' > $@" || { ${RM} -f $@; false; }
116 @${MAKE_SHELL} -ec "${CXX_MD} -M ${CXXFLAGS_MD} $< | sed '/:/s/^/$@ /' > $@" || { ${RM} -f $@; false; }
122 ${CC_MD} ${CFLAGS_MD:S/D//} ${CPPFLAGS_MD} y.tab.c > $@ || { ${RM} -f y.tab.c $@; false; }
123 ${RM} -f y.tab.c
127 ${CC_MD} ${CFLAGS_MD:S/D//} ${CPPFLAGS_MD} lex.yy.c > $@ || { ${RM} -f lex.yy.c $@; false; }
128 ${RM} -f lex.yy.c
131 ${CC_MD} ${CFLAGS_MD:S/D//} ${CPPFLAGS_MD} $< > $@ || { ${RM} -f $@; false; }
134 ${CC_MD} ${CFLAGS_MD:S/D//} ${CPPFLAGS_MD} ${AINC} $< > $@ || { ${RM} -f $@; false; }
137 ${CXX_MD} ${CFLAGS_MD:S/D//} ${CXXFLAGS_MD} $< > $@ || { ${RM} -f $@; false; }
167 ${RM} -f ${DEPCLEANFILES}
172 .if make(depend) || !(make(clean*) || make(destroy*) || make(obj) || make(*install) || make(install-*))
176 MDLIB_SED = -e '/:/s,^\([^\.:]*\)\.[psS]*o,${OBJ_SUFFIXES:S,^,\1,},'
193 MD_SED += -e 's,${$v},$${$v},'
202 .if ${MAKE_VERSION:U0:[1]:C/.*-//} < 20050530
209 -@${MD_SED} ${__depfiles} > ${DEPENDFILE}.new 2> /dev/null && \
210 test -s ${DEPENDFILE}.new && mv ${DEPENDFILE}.new ${DEPENDFILE}; \
211 ${RM} -f ${DEPENDFILE}.new
225 .-include <ccm.dep.mk>