From fcab1ec1a1a71265d86ae0b615a091c674041654 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 12 Aug 2013 23:13:54 +0200 Subject: build: Add Makefile target for Coverity scanner Add a Makefile target to build and upload a snapshot of netsniff-ng to the Coverity scanner. The variables COV_EMAIL and COV_PASSWD need to be set accordingly: make coverity COV_EMAIL=tklauser@distanz.ch COV_PASSWD=... Currently the sub-make which is part of the cov-built call issues warnings about undefined variables from the template. This can be ignored, the build works just fine. Signed-off-by: Tobias Klauser --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 99358a2..07a6d76 100644 --- a/Makefile +++ b/Makefile @@ -109,6 +109,7 @@ VERSION_LONG = "$(VERSION_SHORT)$(CONFIG_RC) ($(NAME))" export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION export CROSS_COMPILE +export DEBUG DISTRO HARDENING bold = $(shell tput bold) normal = $(shell tput sgr0) @@ -141,6 +142,8 @@ distclean: clean $(Q)$(call RM,Config) $(Q)$(call RM,config.h) $(Q)$(call RM,config.log) + $(Q)$(call RM,cov-int) + $(Q)$(call RM,netsniff-ng-coverity.tgz) mrproper: distclean $(Q)$(GIT_REM) -- cgit v1.2.3-54-g00ecf