2d78130185
While adding sanitizer support, I noticed that all other extensions were handled but .pieo was missing. Reviewed By: emaste, imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31040
30 lines
645 B
Makefile
30 lines
645 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${.MAKE.DEPENDFILE:M*.${MACHINE}} == ""
|
|
# by default only MACHINE0 does updates
|
|
UPDATE_DEPENDFILE_MACHINE?= ${MACHINE0:U${MACHINE}}
|
|
.if ${MACHINE} != ${UPDATE_DEPENDFILE_MACHINE}
|
|
UPDATE_DEPENDFILE= no
|
|
.endif
|
|
.endif
|
|
|
|
NOSSPPICO?= .nossppico
|
|
PIEO?= .pieo
|
|
OBJ_EXTENSIONS+= ${NOSSPPICO} ${PIEO}
|
|
|
|
CFLAGS+= ${CFLAGS_LAST}
|
|
CXXFLAGS+= ${CXXFLAGS_LAST}
|
|
LDFLAGS+= ${LDFLAGS_LAST}
|
|
|
|
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:]]*$$'
|