From a49ee5b3e4875d2cabf2938d94155eca800935bd Mon Sep 17 00:00:00 2001 From: maroy Date: Mon, 26 Jul 2004 03:09:44 +0000 Subject: [PATCH] added flawfinder target --- livesupport/Makefile | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/livesupport/Makefile b/livesupport/Makefile index 3059d75d6..aac69003f 100644 --- a/livesupport/Makefile +++ b/livesupport/Makefile @@ -21,19 +21,20 @@ # # # Author : $Author: maroy $ -# Version : $Revision: 1.3 $ +# Version : $Revision: 1.4 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/Attic/Makefile,v $ #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # General command definitions #------------------------------------------------------------------------------- -MKDIR = mkdir -p -RM = rm -f -RMDIR = rm -rf -DOXYGEN = doxygen -XSLTPROC = xsltproc -ECHO = @echo +MKDIR = mkdir -p +RM = rm -f +RMDIR = rm -rf +DOXYGEN = doxygen +XSLTPROC = xsltproc +ECHO = @echo +FLAWFINDER = flawfinder #------------------------------------------------------------------------------- @@ -50,6 +51,8 @@ TESTRESULTS_XSLT = ${ETC_DIR}/testResultsToHtml.xsl TESTRESULTS_IN = ${ETC_DIR}/testResults.xml TESTRESULTS_FILE = ${DOC_DIR}/testResults.html +FLAWFINDER_FILE = ${DOC_DIR}/flawfinderReport.html + TOOLS_DIR = ${BASE_DIR}/tools BOOST_DIR = ${TOOLS_DIR}/boost @@ -98,6 +101,14 @@ doxygen: testresults: ${XSLTPROC} ${TESTRESULT_XSLT} ${TESTRESULTS_IN} > ${TESTRESULTS_FILE} +flawfinder: + ${FLAWFINDER} -c --immediate --html \ + ${CORE_DIR}/include ${CORE_DIR}/src \ + ${DB_DIR}/include ${DB_DIR}/src \ + ${STORAGE_DIR}/include ${STORAGE_DIR}/src \ + ${SCHEDULER_DIR}/src \ + > ${FLAWFINDER_FILE} + clean: ${RMDIR} ${DOXYGEN_DIR}/html