1 ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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.
8 ## Test ./*.h files in a directory using test-suite/testheaders.sh
10 ## TODO: include in src/Common.am when all testHeaders users are the same.
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
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