From 49f81ddb85a4460ae69569a87a0ea1ae264e3019 Mon Sep 17 00:00:00 2001 From: Matt Jordan Date: Sat, 27 Jun 2015 18:47:19 -0500 Subject: Makefile: Remove coverage files on 'make clean' This patch updates a variety of Makefiles in Asterisk's build system to remove .gcda and .gcno files when 'make clean' is executed. These files are generated when '--enable-coverage' is passed to the Asterisk configure script. Change-Id: Ib70b41eea2ee2908885bff02e80faf9f40c84602 --- res/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'res/Makefile') diff --git a/res/Makefile b/res/Makefile index b98fb8e42..dbab9990c 100644 --- a/res/Makefile +++ b/res/Makefile @@ -76,9 +76,11 @@ endif ael/pval.o: ael/pval.c clean:: - rm -f snmp/*.[oi] ael/*.[oi] ais/*.[oi] ari/*.[oi] - rm -f res_pjsip/*.[oi] stasis/*.[oi] - rm -f parking/*.o parking/*.i stasis_recording/*.[oi] + rm -f snmp/*.o snmp/*.i ael/*.o ael/*.i ais/*.o ais/*.i snmp/*.gcda snmp/*.gcno ael/*.gcda ael/*.gcno + rm -f res_pjsip/*.[oi] res_pjsip/*.gcda res_pjsip/*.gcno + rm -f stasis/*.[oi] stasis/*.gcda stasis/*.gcno + rm -f parking/*.[oi] parking/*.gcda parking/*.gcno + rm -f stasis_recording/*.[oi] stasis_recording/*.gcda stasis_recording/*.gcno $(if $(filter res_parking,$(EMBEDDED_MODS)),modules.link,res_parking.so): $(subst .c,.o,$(wildcard parking/*.c)) $(subst .c,.o,$(wildcard parking/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,res_parking) -- cgit v1.2.3