mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user