| 1 |
# Copyright (C) 2004-2022 Internet Systems Consortium, Inc. ("ISC") |
| 2 |
# Copyright (c) 1995-2003 by Internet Software Consortium |
| 3 |
# |
| 4 |
# Permission to use, copy, modify, and distribute this software for any |
| 5 |
# purpose with or without fee is hereby granted, provided that the above |
| 6 |
# copyright notice and this permission notice appear in all copies. |
| 7 |
# |
| 8 |
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES |
| 9 |
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 10 |
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR |
| 11 |
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 12 |
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 13 |
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
| 14 |
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 15 |
# |
| 16 |
# Internet Systems Consortium, Inc. |
| 17 |
# PO Box 360 |
| 18 |
# Newmarket, NH 03857 USA |
| 19 |
# <[email protected]> |
| 20 |
# https://www.isc.org/ |
| 21 |
|
| 22 |
all: References.txt References.html |
| 23 |
|
| 24 |
References.txt: References.xml |
| 25 |
xml2txt References.xml |
| 26 |
|
| 27 |
References.html: References.xml |
| 28 |
xml2html References.xml |
| 29 |
|
| 30 |
devel: |
| 31 |
mkdir -p html |
| 32 |
doxygen devel/doxyfile > html/doxygen.log 2>html/doxygen-warnings.log |
| 33 |
|
| 34 |
cppcheck: |
| 35 |
mkdir -p html |
| 36 |
cd .. && cppcheck --enable=all --inline-suppr \ |
| 37 |
-f -v -j 2 -i tests/ -i dhcp-*/ \ |
| 38 |
. 1> doc/html/cppcheck.log 2> doc/html/cppcheck-error.log |
| 39 |
|
| 40 |
# cppcheck can be extended with list of suppressions. |
| 41 |
# --suppressions-list=doc/cppcheck-skip.txt \ |
| 42 |
|
| 43 |
|
| 44 |
.PHONY: devel cppcheck |