You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
550 B
27 lines
550 B
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
EXTRA_DIST = include
|
|
|
|
SUBDIRS = src tests docs include
|
|
|
|
.PHONY: docs coverage-html
|
|
|
|
if HAVE_DOXYGEN
|
|
docs:
|
|
-$(MAKE) -C docs $(AM_MAKEFLAGS) -k $@
|
|
endif
|
|
|
|
if HAVE_GCOV
|
|
coverage-html:
|
|
-$(MAKE) -C tests $(AM_MAKEFLAGS) -k $@
|
|
endif
|
|
|
|
REGEX_CCLASS=/^[ \t]*\(TR_CLASS\|TR_INTERFACE\)\(([a-zA-Z0-9_]+)/\2/d,definition/
|
|
tags:
|
|
@ctags -R -V --langdef=cclass --langmap=cclass:.h \
|
|
--regex-cclass='$(REGEX_CCLASS)'
|
|
|
|
loc:
|
|
@find src/ include/ -not -path testers -and -name "*.[ch]" \
|
|
-exec sed '/\/\*/,/\*\//d;/\/\//d' {} \; | wc -l
|
|
|