1 ## Copyright (C) 1996-2017 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 AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign
9 DIST_SUBDIRS = compat lib libltdl scripts icons errors contrib doc src test-suite tools
11 if ENABLE_LOADABLE_MODULES
14 SUBDIRS += scripts icons errors doc src tools test-suite
16 DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
17 DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
20 @ for subdir in include; do \
21 if test "$$subdir" = .; then :; else \
22 test -d $(distdir)/$$subdir \
23 || mkdir $(distdir)/$$subdir \
25 cp -p $(srcdir)/$$subdir/*.h $(distdir)/$$subdir \
27 rm -f $(distdir)/$$subdir/autoconf.h; \
44 chown root $(DESTDIR)$(DEFAULT_PINGER)
45 chmod 4711 $(DESTDIR)$(DEFAULT_PINGER)
47 ## hack to insert the test first, before building recursive child directories
48 check: have-cppunit check-recursive
51 @if test "$(LIBCPPUNIT_CFLAGS)$(LIBCPPUNIT_LIBS)" = "" ; then \
52 echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \