3 ACLOCAL_AMFLAGS= -I m4 -I libtest/m4
6 # includes append to these:
20 nobase_include_HEADERS =
29 #includes additional rules from aminclude.am
32 DISTCLEANFILES+= aminclude.am
35 EXTRA_DIST+= README.FIRST
36 EXTRA_DIST+= README.win32
38 aclocaldir= $(datadir)/aclocal
41 # Build targets for Windows
43 include libhashkit-1.0/include.am
44 include libhashkit/include.am
45 include libmemcached/include.am
46 include libmemcached-1.0/include.am
49 include libtest/include.am
51 include libhashkit-1.0/include.am
52 include libmemcached-1.0/include.am
54 if BUILD_LIBMEMCACHED_PROTOCOL
55 include libmemcachedprotocol-0.0/include.am
58 include libmemcachedutil-1.0/include.am
60 include clients/include.am
61 include docs/include.am
62 include man/include.am
64 if BUILD_LIBMEMCACHED_PROTOCOL
65 include example/include.am
68 include libhashkit/include.am
69 include libmemcached/include.am
70 include libmemcachedutil/include.am
72 if BUILD_LIBMEMCACHED_PROTOCOL
73 include libmemcachedprotocol/include.am
76 include libmemcachedinternal/include.am
77 include libmemcachedinternal/util/include.am
78 include rpm/include.am
79 include support/include.am
80 include tests/include.am
81 include util/include.am
82 include win32/include.am
87 TESTS += ${bin_PROGRAMS}
88 TESTS += ${check_PROGRAMS}
89 XFAIL_TESTS += ${bin_PROGRAMS}
94 @find ./ | $(GREP) \.gcda | xargs rm -f
95 @find ./ | $(GREP) \.gcno | xargs rm -f
96 @find ./ | $(GREP) \.gz | xargs rm -f
97 @find ./ | $(GREP) \.moved | xargs rm -r -f
98 @find ./ | $(GREP) \\.orig | xargs rm -f
99 @find ./ | $(GREP) \.rej | xargs rm -f
101 @find ./ | $(GREP) \.THIS | xargs rm -f
102 @find ./ | $(GREP) \.OTHER | xargs rm -f
103 @find ./ | $(GREP) \.BASE | xargs rm -f
104 @find ./ | $(GREP) \~$$ | xargs rm -f
105 @echo "Files that need to be either removed or checked in:"
108 clean-local: clean-libtest-check clean-docs-check
111 lcov: lcov-clean check
113 @echo " ------------------------------------------------------"
114 @echo "Make sure ./configure was run with '--enable-coverage'"
115 @echo "------------------------------------------------------"
117 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
118 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
121 @rm -rf lcov */lcov.out
122 @find . -name '*.gcno' | xargs rm -f
123 @find . -name '*.gcda' | xargs rm -f
126 DISTCLEANFILES+= config/top.h
128 maintainer-clean-local:
129 find . -type f -name '*~' -exec rm -f '{}' \;
130 -rm -f @PACKAGE@-*.rpm
131 -rm -f @PACKAGE@-*.tar.gz
135 -rm -rf man/.doctrees/
138 -rm -f build-aux/compile
139 -rm -f build-aux/config.guess
140 -rm -f build-aux/config.sub
141 -rm -f build-aux/depcomp
142 -rm -f build-aux/install-sh
143 -rm -f build-aux/ltmain.sh
144 -rm -f build-aux/missing
145 -rm -f build-aux/ylwrap
151 -rm -f m4/ltoptions.m4
153 -rm -f m4/ltversion.m4
154 -rm -f m4/lt~obsolete.m4
156 -rm -rf ${top_builddir}/html