1# $FreeBSD$ 2 3.if ${.MAKE.DEPENDFILE:M*.${MACHINE}} == "" 4# by default only MACHINE0 does updates 5UPDATE_DEPENDFILE_MACHINE?= ${MACHINE0:U${MACHINE}} 6.if ${MACHINE} != ${UPDATE_DEPENDFILE_MACHINE} 7UPDATE_DEPENDFILE= no 8.endif 9.endif 10 11NOSSPPICO?= .nossppico 12OBJ_EXTENSIONS+= ${NOSSPPICO} 13 14CFLAGS+= ${CFLAGS_LAST} 15CXXFLAGS+= ${CXXFLAGS_LAST} 16LDFLAGS+= ${LDFLAGS_LAST} 17 18CLEANFILES+= .depend 19 20# handy for debugging 21.SUFFIXES: .S .c .cc .cpp .cpp-out 22 23 24.S.cpp-out .c.cpp-out: .NOMETA 25 @${CC} -E ${CFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$' 26 27.cc.cpp-out: .NOMETA 28 @${CXX} -E ${CXXFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$' 29