diff options
author | Matt Jordan <mjordan@digium.com> | 2015-06-27 18:47:19 -0500 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2015-07-04 07:29:53 -0500 |
commit | 49f81ddb85a4460ae69569a87a0ea1ae264e3019 (patch) | |
tree | 52de70b49317f74c4d04474a232c282424953b9a /channels | |
parent | a9f721303d1ec80b06d4f6852ffbd0b558b06e0d (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 'channels')
-rw-r--r-- | channels/Makefile | 8 | ||||
-rw-r--r-- | channels/misdn/Makefile | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/channels/Makefile b/channels/Makefile index 1f4cff4c7..d1b895edd 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -25,10 +25,10 @@ endif clean:: $(MAKE) -C misdn clean - rm -f dahdi/*.o dahdi/*.i - rm -f sip/*.o sip/*.i - rm -f iax2/*.o iax2/*.i - rm -f pjsip/*.o pjsip/*.i + rm -f dahdi/*.o dahdi/*.i dahdi/*.gcda dahdi/*.gcno + rm -f sip/*.o sip/*.i sip/*.gcda sip/*.gcno + rm -f iax2/*.o iax2/*.i iax2/*.gcda iax2/*.gcno + rm -f pjsip/*.o pjsip/*.i pjsip/*.gcda pjsip/*.gcno $(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): $(subst .c,.o,$(wildcard iax2/*.c)) $(subst .c,.o,$(wildcard iax2/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_iax2) diff --git a/channels/misdn/Makefile b/channels/misdn/Makefile index 194bef5ae..96d5a2a3d 100644 --- a/channels/misdn/Makefile +++ b/channels/misdn/Makefile @@ -14,4 +14,4 @@ portinfo: portinfo.o $(CC) -o $@ $^ -lisdnnet -lmISDN -lpthread clean: - rm -rf *.a *.o *.so portinfo *.i + rm -rf *.a *.o *.so portinfo *.i *.gcda *.gcno |