]> git.ipfire.org Git - thirdparty/squid.git/blob - Makefile.am
Bug 3607: --enable-auth documented default action incorrect
[thirdparty/squid.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 #
3
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
8 SUBDIRS += libltdl
9 endif
10 SUBDIRS += scripts src icons errors doc helpers test-suite tools
11
12 DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
13 DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
14
15 dist-hook:
16 @ for subdir in include; do \
17 if test "$$subdir" = .; then :; else \
18 test -d $(distdir)/$$subdir \
19 || mkdir $(distdir)/$$subdir \
20 || exit 1; \
21 cp -p $(srcdir)/$$subdir/*.h $(distdir)/$$subdir \
22 || exit 1; \
23 rm -f $(distdir)/$$subdir/autoconf.h; \
24 fi; \
25 done
26 @if [ -f $(top_srcdir)/RELEASENOTES.html ]; then \
27 cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \
28 else \
29 notes=`ls -1rt $(top_srcdir)/doc/release-notes/*.html | head -1`; \
30 if [ -f $$notes ]; then \
31 cp $$notes $(distdir)/RELEASENOTES.html; \
32 else \
33 touch $(distdir)/RELEASENOTES.html; \
34 fi; \
35 fi
36
37 EXTRA_DIST = \
38 ChangeLog \
39 CONTRIBUTORS \
40 COPYING \
41 COPYRIGHT \
42 CREDITS \
43 INSTALL \
44 QUICKSTART \
45 README \
46 SPONSORS \
47 bootstrap.sh
48
49 install-pinger:
50 chown root $(DESTDIR)$(DEFAULT_PINGER)
51 chmod 4711 $(DESTDIR)$(DEFAULT_PINGER)
52
53 ## hack to insert the test first, before building recursive child directories
54 check: have-cppunit check-recursive
55
56 have-cppunit:
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." ; \
59 exit 1 ; \
60 fi
61
62 .PHONY: have-cppunit