]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - Makefile.am
Bug 4692: SslBump breaks intercepted IPv6 connections
[thirdparty/squid.git] / Makefile.am
index 061ed3128867e7df4eb84e3bd1ed7078a1cb5517..20d8330c8f1a655726ade857e81fde07811036e4 100644 (file)
@@ -1,12 +1,20 @@
-## Process this file with automake to produce Makefile.in
-#
+## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
 
-AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign
-DIST_SUBDIRS   = compat lib snmplib scripts src icons errors contrib doc helpers test-suite tools
-SUBDIRS                = compat lib @makesnmplib@ scripts src icons errors doc helpers test-suite tools
+AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign
+DIST_SUBDIRS   = compat lib libltdl scripts icons errors contrib doc src test-suite tools
+SUBDIRS                = compat lib
+if ENABLE_LOADABLE_MODULES
+SUBDIRS += libltdl
+endif
+SUBDIRS += scripts icons errors doc src tools test-suite
 
 DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
-DEFAULT_PINGER         = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
+DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
 
 dist-hook:
        @ for subdir in include; do \
@@ -19,24 +27,30 @@ dist-hook:
            rm -f $(distdir)/$$subdir/autoconf.h; \
          fi; \
        done
-       @if [ -f $(top_srcdir)/RELEASENOTES.html ]; then \
-         cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \
-       else \
-         cp $(top_srcdir)/doc/release-notes/release-3.0.html $(distdir)/RELEASENOTES.html; \
-       fi
 
 EXTRA_DIST = \
        ChangeLog \
        CONTRIBUTORS \
        COPYING \
-       COPYRIGHT \
        CREDITS \
        INSTALL \
        QUICKSTART \
        README \
        SPONSORS \
-       bootstrap.sh
+       bootstrap.sh \
+       po4a.conf
 
 install-pinger:
        chown root $(DESTDIR)$(DEFAULT_PINGER)
        chmod 4711 $(DESTDIR)$(DEFAULT_PINGER)
+
+## hack to insert the test first, before building recursive child directories
+check: have-cppunit check-recursive
+
+have-cppunit:
+       @if test "$(LIBCPPUNIT_CFLAGS)$(LIBCPPUNIT_LIBS)" = "" ; then \
+               echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \
+               exit 1 ; \
+       fi
+
+.PHONY: have-cppunit