added flawfinder target
This commit is contained in:
parent
c9a6517785
commit
a49ee5b3e4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue