12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- SUBDIRS = . src docs
-
- EXTRA_DIST = regen.sh
-
- ALL_CHECKS=
- LINT=
- if CHECK
- SUBDIRS += tests
- ALL_CHECKS += check
- CHECK_STAMP=tests/test-suite.log
-
- $(CHECK_STAMP):
- $(MAKE) check
-
- if HAVE_GCOV
-
- if HAVE_LCOV
-
- LCOV_INFO=lcov.info
- LCOV_HTML=lcov_html
-
- TO_LOCAL_CLEAN = $(LCOV_INFO) $(LCOV_HTML)
-
- $(LCOV_INFO): $(CHECK_STAMP)
- $(LCOV) --base-directory $(top_builddir)/src/ --capture --directory $(top_builddir)/src/ --output-file $@
-
- $(LCOV_HTML): $(LCOV_INFO)
- genhtml $< --output-directory $@
-
- clean-local:
- -rm -rf $(TO_LOCAL_CLEAN)
- endif # HAVE_LCOV
-
-
- endif # HAVE_GCOV
-
-
- ALL_CHECKS += coverage
-
- coverage: $(LCOV_HTML)
-
- endif # CHECK
-
- if HAVE_CPPCHECK
- LINT += cppcheck
- cppcheck:
- $(CPPCHECK) --enable=all --inline-suppr --check-config --suppress=missingIncludeSystem -q $(top_builddir)/src -I $(top_builddir)/src/
- endif # HAVE_CPPCHECK
-
- checks: $(ALL_CHECKS)
-
- lint: $(LINT)
-
- doxygen:
- $(MAKE) -C docs
|