summaryrefslogtreecommitdiff
path: root/res/Makefile
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2015-06-27 18:47:19 -0500
committerMatt Jordan <mjordan@digium.com>2015-07-04 07:29:53 -0500
commit49f81ddb85a4460ae69569a87a0ea1ae264e3019 (patch)
tree52de70b49317f74c4d04474a232c282424953b9a /res/Makefile
parenta9f721303d1ec80b06d4f6852ffbd0b558b06e0d (diff)
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
Diffstat (limited to 'res/Makefile')
-rw-r--r--res/Makefile8
1 files changed, 5 insertions, 3 deletions
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)