mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 00:00:33 -04:00
detect bugs that your compiler do not see. Checks for: memory leaks, mismatching allocation-deallocation, buffer overrun, and many more. Cppcheck is versatile. You can check non-standard code that includes various compiler extensions, inline assembly code, etc. The goal is no false positives. WWW: http://sourceforge.net/projects/cppcheck Approved by: tabthorpe
15 lines
446 B
Text
15 lines
446 B
Text
--- Makefile.orig 2009-03-02 20:22:53.000000000 +0100
|
|
+++ Makefile 2009-03-03 22:49:59.000000000 +0100
|
|
@@ -92,6 +92,12 @@
|
|
clean:
|
|
rm -f src/*.o test/*.o testrunner cppcheck tools/dmake tools/errmsg
|
|
|
|
+DB2MAN= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
|
|
+XP= xsltproc -''-nonet -''-param man.charmap.use.subset "0"
|
|
+
|
|
+cppcheck.1: man/cppcheck.1.xml
|
|
+ $(XP) $(DB2MAN) $<
|
|
+
|
|
install: cppcheck
|
|
install -d ${BIN}
|
|
install cppcheck ${BIN}
|