1 ## Process this file with automake to produce Makefile.in
4 AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign
5 DIST_SUBDIRS = compat lib libltdl snmplib scripts src icons errors contrib doc helpers test-suite tools
6 SUBDIRS = compat lib $(makesnmplib)
7 if USE_LOADABLE_MODULES
10 SUBDIRS += scripts src icons errors doc helpers test-suite tools
12 DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
13 DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
16 @ for subdir in include; do \
17 if test "$$subdir" = .; then :; else \
18 test -d $(distdir)/$$subdir \
19 || mkdir $(distdir)/$$subdir \
21 cp -p $(srcdir)/$$subdir/*.h $(distdir)/$$subdir \
23 rm -f $(distdir)/$$subdir/autoconf.h; \
26 @if [ -f $(top_srcdir)/RELEASENOTES.html ]; then \
27 cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \
29 notes=`ls -1rt $(top_srcdir)/doc/release-notes/*.html | head -1`; \
30 if [ -f $$notes ]; then \
31 cp $$notes $(distdir)/RELEASENOTES.html; \
33 touch $(distdir)/RELEASENOTES.html; \
50 chown root $(DESTDIR)$(DEFAULT_PINGER)
51 chmod 4711 $(DESTDIR)$(DEFAULT_PINGER)
53 ## hack to insert the test first, before building recursive child directories
54 check: have-cppunit check-recursive
57 @if test "$(SQUID_CPPUNIT_INC)$(SQUID_CPPUNIT_LA)$(SQUID_CPPUNIT_LIBS)" = "" ; then \
58 echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \