git: cbbdacf4dc8f - stable/13 - Add missing dep patterns for .pieo

From: Alex Richardson <arichardson_at_FreeBSD.org>
Date: Sat, 07 May 2022 15:57:11 UTC
The branch stable/13 has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=cbbdacf4dc8f2ef2fcdff5ab3ca021468e5dbe61

commit cbbdacf4dc8f2ef2fcdff5ab3ca021468e5dbe61
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-09-13 12:22:07 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2022-05-07 11:57:07 +0000

    Add missing dep patterns for .pieo
    
    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
    
    (cherry picked from commit 2d78130185b5518e0bdb4a2f3c5d5ede6773312d)
---
 share/mk/bsd.dep.mk       | 5 ++++-
 share/mk/local.autodep.mk | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index a63b9e46deca..61a7010a8d1b 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -170,10 +170,13 @@ ${_D}.o: ${_DSRC} ${OBJS:S/^${_D}.o$//}
 	@rm -f ${.TARGET}
 	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
 .if defined(LIB)
-CLEANFILES+= ${_D}.pico ${_D}.po ${_D}.nossppico
+CLEANFILES+= ${_D}.pico ${_D}.pieo ${_D}.po ${_D}.nossppico
 ${_D}.pico: ${_DSRC} ${SOBJS:S/^${_D}.pico$//}
 	@rm -f ${.TARGET}
 	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
+${_D}.pieo: ${_DSRC} ${OBJS:S/^${_D}.pieo$//}
+	@rm -f ${.TARGET}
+	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
 ${_D}.po: ${_DSRC} ${POBJS:S/^${_D}.po$//}
 	@rm -f ${.TARGET}
 	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
diff --git a/share/mk/local.autodep.mk b/share/mk/local.autodep.mk
index ee73b23aadcf..0e14d844fcff 100644
--- a/share/mk/local.autodep.mk
+++ b/share/mk/local.autodep.mk
@@ -9,7 +9,8 @@ UPDATE_DEPENDFILE= no
 .endif
 
 NOSSPPICO?= .nossppico
-OBJ_EXTENSIONS+= ${NOSSPPICO}
+PIEO?= .pieo
+OBJ_EXTENSIONS+= ${NOSSPPICO} ${PIEO}
 
 CFLAGS+= ${CFLAGS_LAST}
 CXXFLAGS+= ${CXXFLAGS_LAST}