3 ACLOCAL_AMFLAGS = -I m4 -I libtest/m4
5 # includes append to these:
18 nobase_include_HEADERS =
26 #includes additional rules from aminclude.am
29 DISTCLEANFILES+= aminclude.am
32 EXTRA_DIST+= README.FIRST
33 EXTRA_DIST+= README.win32
35 aclocaldir= $(datadir)/aclocal
38 # Build targets for Windows
40 include libhashkit-1.0/include.am
41 include libhashkit/include.am
42 include libmemcached/include.am
43 include libmemcached-1.0/include.am
46 include libtest/include.am
48 include libhashkit-1.0/include.am
49 include libmemcached-1.0/include.am
51 if BUILD_LIBMEMCACHED_PROTOCOL
52 include libmemcachedprotocol-0.0/include.am
55 include libmemcachedutil-1.0/include.am
57 include clients/include.am
58 include docs/include.am
59 include man/include.am
61 if BUILD_LIBMEMCACHED_PROTOCOL
62 include example/include.am
65 include libhashkit/include.am
66 include libmemcached/include.am
67 include libmemcachedutil/include.am
69 if BUILD_LIBMEMCACHED_PROTOCOL
70 include libmemcachedprotocol/include.am
73 include libmemcachedinternal/include.am
74 include libmemcachedinternal/util/include.am
75 include rpm/include.am
76 include support/include.am
77 include tests/include.am
78 include util/include.am
79 include win32/include.am
84 TESTS += ${check_PROGRAMS}
87 @find ./ | $(GREP) \.gcda | xargs rm -f
88 @find ./ | $(GREP) \.gcno | xargs rm -f
89 @find ./ | $(GREP) \.gz | xargs rm -f
90 @find ./ | $(GREP) \.moved | xargs rm -r -f
91 @find ./ | $(GREP) \\.orig | xargs rm -f
92 @find ./ | $(GREP) \.rej | xargs rm -f
94 @find ./ | $(GREP) \.THIS | xargs rm -f
95 @find ./ | $(GREP) \.OTHER | xargs rm -f
96 @find ./ | $(GREP) \.BASE | xargs rm -f
97 @find ./ | $(GREP) \~$$ | xargs rm -f
98 @echo "Files that need to be either removed or checked in:"
102 -rm -rf docs/_build docs/doctrees
104 lcov: lcov-clean check
106 @echo " ------------------------------------------------------"
107 @echo "Make sure ./configure was run with '--enable-coverage'"
108 @echo "------------------------------------------------------"
110 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
111 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
114 @rm -rf lcov */lcov.out
115 @find . -name '*.gcno' | xargs rm -f
116 @find . -name '*.gcda' | xargs rm -f
118 DISTCLEANFILES+= config/top.h
120 clean-local: clean-libtest-check clean-docs-check
122 maintainer-clean-local:
123 find . -type f -name '*~' -exec rm -f '{}' \;
124 -rm -f @PACKAGE@-*.rpm
125 -rm -f @PACKAGE@-*.tar.gz
129 -rm -rf man/.doctrees/
132 -rm -f build-aux/compile
133 -rm -f build-aux/config.guess
134 -rm -f build-aux/config.sub
135 -rm -f build-aux/depcomp
136 -rm -f build-aux/install-sh
137 -rm -f build-aux/ltmain.sh
138 -rm -f build-aux/missing
144 -rm -f m4/ltoptions.m4
146 -rm -f m4/ltversion.m4
147 -rm -f m4/lt~obsolete.m4
149 -rm -rf ${top_builddir}/html