3 ACLOCAL_AMFLAGS = -I m4 -I libtest/m4
5 # includes append to these:
19 nobase_include_HEADERS =
27 #includes additional rules from aminclude.am
30 DISTCLEANFILES+= aminclude.am
33 EXTRA_DIST+= README.FIRST
34 EXTRA_DIST+= README.win32
36 aclocaldir= $(datadir)/aclocal
39 # Build targets for Windows
41 include libhashkit-1.0/include.am
42 include libhashkit/include.am
43 include libmemcached/include.am
44 include libmemcached-1.0/include.am
47 include libtest/include.am
49 include libhashkit-1.0/include.am
50 include libmemcached-1.0/include.am
52 if BUILD_LIBMEMCACHED_PROTOCOL
53 include libmemcachedprotocol-0.0/include.am
56 include libmemcachedutil-1.0/include.am
58 include clients/include.am
59 include docs/include.am
60 include man/include.am
62 if BUILD_LIBMEMCACHED_PROTOCOL
63 include example/include.am
66 include libhashkit/include.am
67 include libmemcached/include.am
68 include libmemcachedutil/include.am
70 if BUILD_LIBMEMCACHED_PROTOCOL
71 include libmemcachedprotocol/include.am
74 include libmemcachedinternal/include.am
75 include libmemcachedinternal/util/include.am
76 include rpm/include.am
77 include support/include.am
78 include tests/include.am
79 include util/include.am
80 include win32/include.am
85 TESTS += ${bin_PROGRAMS}
86 TESTS += ${check_PROGRAMS}
87 XFAIL_TESTS += ${bin_PROGRAMS}
92 @find ./ | $(GREP) \.gcda | xargs rm -f
93 @find ./ | $(GREP) \.gcno | xargs rm -f
94 @find ./ | $(GREP) \.gz | xargs rm -f
95 @find ./ | $(GREP) \.moved | xargs rm -r -f
96 @find ./ | $(GREP) \\.orig | xargs rm -f
97 @find ./ | $(GREP) \.rej | xargs rm -f
99 @find ./ | $(GREP) \.THIS | xargs rm -f
100 @find ./ | $(GREP) \.OTHER | xargs rm -f
101 @find ./ | $(GREP) \.BASE | xargs rm -f
102 @find ./ | $(GREP) \~$$ | xargs rm -f
103 @echo "Files that need to be either removed or checked in:"
106 clean-local: clean-libtest-check clean-docs-check
109 lcov: lcov-clean check
111 @echo " ------------------------------------------------------"
112 @echo "Make sure ./configure was run with '--enable-coverage'"
113 @echo "------------------------------------------------------"
115 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
116 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
119 @rm -rf lcov */lcov.out
120 @find . -name '*.gcno' | xargs rm -f
121 @find . -name '*.gcda' | xargs rm -f
124 DISTCLEANFILES+= config/top.h
126 maintainer-clean-local:
127 find . -type f -name '*~' -exec rm -f '{}' \;
128 -rm -f @PACKAGE@-*.rpm
129 -rm -f @PACKAGE@-*.tar.gz
133 -rm -rf man/.doctrees/
136 -rm -f build-aux/compile
137 -rm -f build-aux/config.guess
138 -rm -f build-aux/config.sub
139 -rm -f build-aux/depcomp
140 -rm -f build-aux/install-sh
141 -rm -f build-aux/ltmain.sh
142 -rm -f build-aux/missing
148 -rm -f m4/ltoptions.m4
150 -rm -f m4/ltversion.m4
151 -rm -f m4/lt~obsolete.m4
153 -rm -rf ${top_builddir}/html