]>
Commit | Line | Data |
---|---|---|
f70aedc4 | 1 | ## Copyright (C) 1996-2021 The Squid Software Foundation and contributors |
bbc27441 AJ |
2 | ## |
3 | ## Squid software is distributed under GPLv2+ license and includes | |
4 | ## contributions from numerous individuals and organizations. | |
5 | ## Please see the COPYING and CONTRIBUTORS files for details. | |
6 | ## | |
7 | ||
f9be5505 | 8 | ## Test ./*.h files in a directory using test-suite/testheaders.sh |
fe57027d | 9 | |
f9be5505 | 10 | ## TODO: include in src/Common.am when all testHeaders users are the same. |
fe57027d | 11 | |
fe57027d AR |
12 | TESTS += testHeaders |
13 | ||
14 | ## .h dependency test script | |
15 | ## aborts build process on errors; XXX: even with "make -k" | |
16 | testHeaders: $(srcdir)/*.h | |
f38ea45e | 17 | $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1 |
fe57027d | 18 | |
13cf8174 AR |
19 | ## XXX: this is only needed because testheaders.sh creates a dummy file called |
20 | ## testHeaders and distclean does not know about it. | |
21 | ## Remove when testheaders.sh and its users are fixed. | |
22 | CLEANFILES += testHeaders | |
23 | ||
24 | ||
f9be5505 | 25 | .PHONY: testHeaders |