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