Asterisk uses a Makefile macro to associate additional sources with a
module. This macro is responsible for creating clean targets but
previously left behind *.gcna and *.gcno files.
ASTERISK-25683 #close
Reported by yaron nahum
Change-Id: Idc0823fe80a25c42cefae901fde875e9fc38d8ea
clean:: clean-$(1)$(3)
clean-$(1)$(3):
- rm -f $$(subst $(3),$(5),$(2)) $$(subst $(3),$(4),$(2))
+ rm -f $$(subst $(3),$(4),$(2)) $$(subst $(3),$(5),$(2)) $$(subst $(3),$(6),$(2)) $$(subst $(3),$(7),$(2))
endef