2009-07-02 17:44:33 -04:00
|
|
|
include globals.mak
|
|
|
|
|
2009-04-21 17:56:33 -04:00
|
|
|
# Makefile.am
|
|
|
|
|
2009-07-02 17:44:33 -04:00
|
|
|
SOURCES=
|
|
|
|
|
2009-05-19 12:45:46 -04:00
|
|
|
if BUILD_TEST
|
|
|
|
TESTS_DIR=test
|
2009-04-21 17:56:33 -04:00
|
|
|
unittest:
|
|
|
|
@(cd test; make)
|
|
|
|
@echo ""
|
|
|
|
@echo "NOTICE: Unitary tests successfully build"
|
|
|
|
@echo "Go in the test directory to run them"
|
|
|
|
@echo ""
|
2009-05-19 12:45:46 -04:00
|
|
|
else
|
|
|
|
unittest:
|
|
|
|
@echo "SFLphone WARNING:"
|
|
|
|
@echo " -- You need the cppunit devel package to compile the unitary tests."
|
|
|
|
endif
|
2009-04-21 17:56:33 -04:00
|
|
|
|
2009-07-02 17:44:33 -04:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2011-08-08 16:40:53 -04:00
|
|
|
SUBDIRS = libs src ringtones man $(TESTS_DIR) doc
|
|
|
|
|
2012-04-30 18:23:52 -04:00
|
|
|
EXTRA_DIST = m4/libtool.m4 \
|
2011-08-22 16:06:19 -04:00
|
|
|
m4/lt~obsolete.m4 \
|
|
|
|
m4/ltoptions.m4 \
|
|
|
|
m4/ltsugar.m4 \
|
2012-02-07 12:16:40 -05:00
|
|
|
m4/ltversion.m4
|
2013-03-06 16:34:56 -05:00
|
|
|
|
|
|
|
coverage:
|
|
|
|
$(AM_V_at)lcov --directory $(top_builddir) --capture --output-file sflphone-coverage.info
|
|
|
|
$(MKDIR_P) html-output
|
|
|
|
genhtml -o html-output sflphone-coverage.info
|
|
|
|
|
|
|
|
coverage-clean:
|
|
|
|
$(AM_V_at)lcov --directory $(top_builddir) --zerocounters
|
|
|
|
$(AM_V_at)rm -rf sflphone-coverage.info
|
2013-03-06 18:37:32 -05:00
|
|
|
$(AM_V_at)rm -rf html-output
|
2013-03-06 16:34:56 -05:00
|
|
|
$(AM_V_at)find -name '*.gcda' -exec rm -f {} +
|
|
|
|
$(AM_V_at)find -name '*.gcno' -exec rm -f {} +
|
|
|
|
|
|
|
|
.PHONY: coverage coverage-clean
|