]> git.ipfire.org Git - thirdparty/squid.git/blame - Makefile.am
Fix xstrndup() documentation, callers. Disclosed implementation bugs.
[thirdparty/squid.git] / Makefile.am
CommitLineData
2cd0bda2 1## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
a151895d
AJ
2##
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.
6##
a2794549 7
f4405bd3 8AUTOMAKE_OPTIONS = dist-bzip2 1.5 foreign
490a930b 9DIST_SUBDIRS = compat lib libltdl scripts icons errors contrib doc src test-suite tools
82609577 10SUBDIRS = compat lib
cb5569cd 11if ENABLE_LOADABLE_MODULES
660faa02
AJ
12SUBDIRS += libltdl
13endif
490a930b 14SUBDIRS += scripts icons errors doc src tools test-suite
a2794549 15
a2794549 16DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
957eb8d1 17DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
a2794549 18
19dist-hook:
cdc4f5f9 20 @ for subdir in include; do \
a2794549 21 if test "$$subdir" = .; then :; else \
22 test -d $(distdir)/$$subdir \
23 || mkdir $(distdir)/$$subdir \
24 || exit 1; \
25 cp -p $(srcdir)/$$subdir/*.h $(distdir)/$$subdir \
26 || exit 1; \
7596d469 27 rm -f $(distdir)/$$subdir/autoconf.h; \
a2794549 28 fi; \
29 done
30
030dfe0d 31EXTRA_DIST = \
32 ChangeLog \
33 CONTRIBUTORS \
34 COPYING \
030dfe0d 35 CREDITS \
36 INSTALL \
37 QUICKSTART \
38 README \
bdb40e33 39 SPONSORS \
ef8d9073
AJ
40 bootstrap.sh \
41 po4a.conf
e4e1e555 42
43install-pinger:
9b1c484b
AJ
44 chown root $(DESTDIR)$(DEFAULT_PINGER)
45 chmod 4711 $(DESTDIR)$(DEFAULT_PINGER)
0c1cca5b
AJ
46
47## hack to insert the test first, before building recursive child directories
48check: have-cppunit check-recursive
49
50have-cppunit:
d93bf055 51 @if test "$(LIBCPPUNIT_CFLAGS)$(LIBCPPUNIT_LIBS)" = "" ; then \
0c1cca5b
AJ
52 echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \
53 exit 1 ; \
54 fi
55
56.PHONY: have-cppunit