3 ACLOCAL_AMFLAGS= -I m4 -I libtest/m4
6 # includes append to these:
20 nobase_include_HEADERS =
33 #includes additional rules from aminclude.am
36 DISTCLEANFILES+= aminclude.am
38 EXTRA_DIST+= README.FIRST
39 EXTRA_DIST+= README.win32
41 aclocaldir= $(datadir)/aclocal
44 # Build targets for Windows
46 include libhashkit-1.0/include.am
47 include libhashkit/include.am
48 include libmemcached/include.am
49 include libmemcached-1.0/include.am
52 include libtest/include.am
54 include libhashkit-1.0/include.am
55 include libmemcached-1.0/include.am
57 if BUILD_LIBMEMCACHED_PROTOCOL
58 include libmemcachedprotocol-0.0/include.am
61 include libmemcachedutil-1.0/include.am
63 include clients/include.am
65 include man/include.am
67 if BUILD_LIBMEMCACHED_PROTOCOL
68 include example/include.am
71 include libhashkit/include.am
72 include libmemcached/include.am
73 include libmemcachedutil/include.am
75 if BUILD_LIBMEMCACHED_PROTOCOL
76 include libmemcachedprotocol/include.am
79 include libmemcachedinternal/include.am
80 include libmemcachedinternal/util/include.am
81 include rpm/include.mk
82 include support/include.am
83 include tests/include.am
84 include util/include.am
85 include win32/include.am
90 TESTS += ${check_PROGRAMS}
95 @find ./ | $(GREP) \.gcda | xargs rm -f
96 @find ./ | $(GREP) \.gcno | xargs rm -f
97 @find ./ | $(GREP) \.gz | xargs rm -f
98 @find ./ | $(GREP) \.moved | xargs rm -r -f
99 @find ./ | $(GREP) \\.orig | xargs rm -f
100 @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-rpm
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) $(dist_man_MANS)
133 -rm -f build-aux/compile
134 -rm -f build-aux/config.guess
135 -rm -f build-aux/config.sub
136 -rm -f build-aux/depcomp
137 -rm -f build-aux/install-sh
138 -rm -f build-aux/ltmain.sh
139 -rm -f build-aux/missing
140 -rm -f build-aux/test-driver
141 -rm -f build-aux/ylwrap
147 -rm -f m4/ltoptions.m4
149 -rm -f m4/ltversion.m4
150 -rm -f m4/lt~obsolete.m4
151 -rm -f m4/test-driver
153 -rm -rf ${top_builddir}/html
154 -rm -f $(DIST_ARCHIVES)