summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-02-03 15:23:28 +0000
committerBenny Prijono <bennylp@teluu.com>2006-02-03 15:23:28 +0000
commit253169056aadb92e7ad4b86b92282e7bcb3a25dd (patch)
tree2430f7ec573f0a10d07b78bb88dfc494b8e05592 /build
parent45a727c95876002e3b7468428e53ad9531f4e1a2 (diff)
Added gcov-report build target and fixed bug in string test under gcov
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@136 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'build')
-rw-r--r--build/rules.mak5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/rules.mak b/build/rules.mak
index 351a1680..2076a9bd 100644
--- a/build/rules.mak
+++ b/build/rules.mak
@@ -137,6 +137,11 @@ ifeq ($(OS_NAME),linux-kernel)
rm -f ../lib/$(app).o
endif
+gcov-report:
+ for file in $(FULL_SRCS); do \
+ gcov $$file -n -o $(OBJDIR); \
+ done
+
realclean: clean
$(subst @@,$(subst /,$(HOST_PSEP),$(LIB)) $(subst /,$(HOST_PSEP),$(EXE)),$(HOST_RM))
$(subst @@,$(DEP_FILE),$(HOST_RM))