SUBDIRS = libstc libenctain src desktop
EXTRA_DIST = \
win32/cryptote-win32.iss.in \
win32/cryptote-pwgen-win32.iss.in \
win32/SetupModern20.bmp \
win32/SetupModernSmall20.bmp \
win32/COPYING.rtf
.PHONY: strip run-gcov
strip:
strip -s src/cryptote/cryptote$(EXEEXT)
strip -s src/pwgen/cryptote-pwgen$(EXEEXT)
if GCOV
clean-local:
find -name "*.da" -o -name "*.gcov" -o -name "*.gcda" -o -name "*.gcno" | xargs rm || true
run-gcov: clean-gcov
mkdir -p coverage/
lcov --directory . --zerocounters
-$(MAKE) check
lcov --directory . --capture --output-file coverage/all.info
lcov -e coverage/all.info "/tdata/*" -o coverage/testsuite.info
genhtml -o coverage --num-spaces 8 coverage/testsuite.info --title "CryptoTE Testsuites" --prefix `pwd`
clean-gcov:
find -name "*.gcda" | xargs rm || true
endif