source: squid-ssl/trunk/fuentes/src/TestHeaders.am @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 869 bytes
Line 
1## Copyright (C) 1996-2015 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
12TESTS += testHeaders
13
14## .h dependency test script
15## aborts build process on errors; XXX: even with "make -k"
16testHeaders: $(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.
22CLEANFILES += testHeaders
23
24
25.PHONY: testHeaders
Note: See TracBrowser for help on using the repository browser.