added flawfinder target
This commit is contained in:
parent
c9a6517785
commit
a49ee5b3e4
|
@ -21,19 +21,20 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author : $Author: maroy $
|
# Author : $Author: maroy $
|
||||||
# Version : $Revision: 1.3 $
|
# Version : $Revision: 1.4 $
|
||||||
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/Attic/Makefile,v $
|
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/Attic/Makefile,v $
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# General command definitions
|
# General command definitions
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
MKDIR = mkdir -p
|
MKDIR = mkdir -p
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
RMDIR = rm -rf
|
RMDIR = rm -rf
|
||||||
DOXYGEN = doxygen
|
DOXYGEN = doxygen
|
||||||
XSLTPROC = xsltproc
|
XSLTPROC = xsltproc
|
||||||
ECHO = @echo
|
ECHO = @echo
|
||||||
|
FLAWFINDER = flawfinder
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
@ -50,6 +51,8 @@ TESTRESULTS_XSLT = ${ETC_DIR}/testResultsToHtml.xsl
|
||||||
TESTRESULTS_IN = ${ETC_DIR}/testResults.xml
|
TESTRESULTS_IN = ${ETC_DIR}/testResults.xml
|
||||||
TESTRESULTS_FILE = ${DOC_DIR}/testResults.html
|
TESTRESULTS_FILE = ${DOC_DIR}/testResults.html
|
||||||
|
|
||||||
|
FLAWFINDER_FILE = ${DOC_DIR}/flawfinderReport.html
|
||||||
|
|
||||||
TOOLS_DIR = ${BASE_DIR}/tools
|
TOOLS_DIR = ${BASE_DIR}/tools
|
||||||
|
|
||||||
BOOST_DIR = ${TOOLS_DIR}/boost
|
BOOST_DIR = ${TOOLS_DIR}/boost
|
||||||
|
@ -98,6 +101,14 @@ doxygen:
|
||||||
testresults:
|
testresults:
|
||||||
${XSLTPROC} ${TESTRESULT_XSLT} ${TESTRESULTS_IN} > ${TESTRESULTS_FILE}
|
${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:
|
clean:
|
||||||
${RMDIR} ${DOXYGEN_DIR}/html
|
${RMDIR} ${DOXYGEN_DIR}/html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue