]> git.ipfire.org Git - thirdparty/squid.git/blob - src/TestHeaders.am
SourceFormat Enforcement
[thirdparty/squid.git] / src / TestHeaders.am
1 ## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
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
8 ## Test ./*.h files in a directory using test-suite/testheaders.sh
9
10 ## TODO: include in src/Common.am when all testHeaders users are the same.
11
12 TESTS += testHeaders
13
14 ## .h dependency test script
15 ## aborts build process on errors; XXX: even with "make -k"
16 testHeaders: $(srcdir)/*.h
17 $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" $^ || exit 1
18
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
25 .PHONY: testHeaders