]>
Commit | Line | Data |
---|---|---|
a2794549 | 1 | ## Process this file with automake to produce Makefile.in |
2 | # | |
a2794549 | 3 | |
109fbe1a | 4 | AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign |
660faa02 AJ |
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 | |
a2794549 | 11 | |
a2794549 | 12 | DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]* |
831eb43f | 13 | DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'` |
a2794549 | 14 | |
15 | dist-hook: | |
cdc4f5f9 | 16 | @ for subdir in include; do \ |
a2794549 | 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; \ | |
7596d469 | 23 | rm -f $(distdir)/$$subdir/autoconf.h; \ |
a2794549 | 24 | fi; \ |
25 | done | |
5dc5d1f5 | 26 | @if [ -f $(top_srcdir)/RELEASENOTES.html ]; then \ |
27 | cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \ | |
28 | else \ | |
8328114d | 29 | notes=`ls -1rt $(top_srcdir)/doc/release-notes/*.html | head -1`; \ |
b1410948 AJ |
30 | if [ -f $$notes ]; then \ |
31 | cp $$notes $(distdir)/RELEASENOTES.html; \ | |
8328114d AJ |
32 | else \ |
33 | touch $(distdir)/RELEASENOTES.html; \ | |
34 | fi; \ | |
5dc5d1f5 | 35 | fi |
a2794549 | 36 | |
030dfe0d | 37 | EXTRA_DIST = \ |
38 | ChangeLog \ | |
39 | CONTRIBUTORS \ | |
40 | COPYING \ | |
41 | COPYRIGHT \ | |
42 | CREDITS \ | |
43 | INSTALL \ | |
44 | QUICKSTART \ | |
45 | README \ | |
cc9923e4 | 46 | SPONSORS \ |
ef8d9073 AJ |
47 | bootstrap.sh \ |
48 | po4a.conf | |
e4e1e555 | 49 | |
50 | install-pinger: | |
9b1c484b AJ |
51 | chown root $(DESTDIR)$(DEFAULT_PINGER) |
52 | chmod 4711 $(DESTDIR)$(DEFAULT_PINGER) | |
0c1cca5b AJ |
53 | |
54 | ## hack to insert the test first, before building recursive child directories | |
55 | check: have-cppunit check-recursive | |
56 | ||
57 | have-cppunit: | |
3ae8895c | 58 | @if test "$(SQUID_CPPUNIT_INC)$(SQUID_CPPUNIT_LA)$(SQUID_CPPUNIT_LIBS)" = "" ; then \ |
0c1cca5b AJ |
59 | echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \ |
60 | exit 1 ; \ | |
61 | fi | |
62 | ||
63 | .PHONY: have-cppunit |