2015-06-13 19:20:56 +00:00
|
|
|
# $FreeBSD$
|
2012-08-22 19:25:57 +00:00
|
|
|
|
|
|
|
.if ${.MAKE.DEPENDFILE:M*.${MACHINE}} == ""
|
|
|
|
# by default only MACHINE0 does updates
|
2018-08-02 21:33:45 +00:00
|
|
|
UPDATE_DEPENDFILE_MACHINE?= ${MACHINE0:U${MACHINE}}
|
2012-08-22 19:25:57 +00:00
|
|
|
.if ${MACHINE} != ${UPDATE_DEPENDFILE_MACHINE}
|
|
|
|
UPDATE_DEPENDFILE= no
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2020-11-24 21:45:38 +00:00
|
|
|
NOSSPPICO?= .nossppico
|
|
|
|
OBJ_EXTENSIONS+= ${NOSSPPICO}
|
|
|
|
|
2012-08-22 19:25:57 +00:00
|
|
|
CFLAGS+= ${CFLAGS_LAST}
|
2012-11-08 21:35:20 +00:00
|
|
|
CXXFLAGS+= ${CXXFLAGS_LAST}
|
|
|
|
LDFLAGS+= ${LDFLAGS_LAST}
|
|
|
|
|
2012-08-22 19:25:57 +00:00
|
|
|
CLEANFILES+= .depend
|
|
|
|
|
|
|
|
# handy for debugging
|
|
|
|
.SUFFIXES: .S .c .cc .cpp .cpp-out
|
|
|
|
|
|
|
|
|
|
|
|
.S.cpp-out .c.cpp-out: .NOMETA
|
|
|
|
@${CC} -E ${CFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$'
|
|
|
|
|
|
|
|
.cc.cpp-out: .NOMETA
|
|
|
|
@${CXX} -E ${CXXFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$'
|