Use a pattern for GCDAS that actually works
This commit is contained in:
parent
25311a8015
commit
13bd47158e
@ -459,7 +459,9 @@ _libinstall:
|
||||
.if !defined(LIBRARIES_ONLY)
|
||||
.include <bsd.nls.mk>
|
||||
.if defined(_COV_FLAG)
|
||||
GCDAS= ${SRCS:M*.[c|cc|cpp|cxx|C]:R:S/$/.gcda/g}
|
||||
_GCDA_SRCS= ${SRCS:M*.c} ${SRCS:M*.cc} ${SRCS:M*.cpp} ${SRCS:M*.cxx} ${SRCS:M*.C}
|
||||
GCDAS= ${SRCS:R:S/$/.gcda/g}
|
||||
.undef _GCDA_SRCS
|
||||
.include <bsd.cov.mk>
|
||||
.endif
|
||||
.include <bsd.files.mk>
|
||||
|
@ -302,7 +302,9 @@ NLSNAME?= ${PROG}
|
||||
|
||||
.include <bsd.confs.mk>
|
||||
.if defined(_COV_FLAG)
|
||||
GCDAS= ${SRCS:M*.[c|cc|cpp|cxx|C]:R:S/$/.gcda/g}
|
||||
_GCDA_SRCS= ${SRCS:M*.c} ${SRCS:M*.cc} ${SRCS:M*.cpp} ${SRCS:M*.cxx} ${SRCS:M*.C}
|
||||
GCDAS= ${SRCS:R:S/$/.gcda/g}
|
||||
.undef _GCDA_SRCS
|
||||
.include <bsd.cov.mk>
|
||||
.endif
|
||||
.include <bsd.files.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user