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 += ${bin_PROGRAMS}
91 TESTS += ${check_PROGRAMS}
92 XFAIL_TESTS += ${bin_PROGRAMS}
97 @find ./ | $(GREP) \.gcda | xargs rm -f
98 @find ./ | $(GREP) \.gcno | xargs rm -f
99 @find ./ | $(GREP) \.gz | xargs rm -f
100 @find ./ | $(GREP) \.moved | xargs rm -r -f
101 @find ./ | $(GREP) \\.orig | xargs rm -f
102 @find ./ | $(GREP) \.rej | xargs rm -f
103 @find ./ | $(GREP) \.THIS | xargs rm -f
104 @find ./ | $(GREP) \.OTHER | xargs rm -f
105 @find ./ | $(GREP) \.BASE | xargs rm -f
106 @find ./ | $(GREP) \~$$ | xargs rm -f
107 @echo "Files that need to be either removed or checked in:"
110 clean-local: clean-libtest-check clean-rpm
113 lcov: lcov-clean check
115 @echo " ------------------------------------------------------"
116 @echo "Make sure ./configure was run with '--enable-coverage'"
117 @echo "------------------------------------------------------"
119 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
120 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
123 @rm -rf lcov */lcov.out
124 @find . -name '*.gcno' | xargs rm -f
125 @find . -name '*.gcda' | xargs rm -f
128 DISTCLEANFILES+= config/top.h
130 maintainer-clean-local:
131 find . -type f -name '*~' -exec rm -f '{}' \;
132 -$(RM) $(dist_man_MANS)
135 -rm -f build-aux/compile
136 -rm -f build-aux/config.guess
137 -rm -f build-aux/config.sub
138 -rm -f build-aux/depcomp
139 -rm -f build-aux/install-sh
140 -rm -f build-aux/ltmain.sh
141 -rm -f build-aux/missing
142 -rm -f build-aux/test-driver
143 -rm -f build-aux/ylwrap
149 -rm -f m4/ltoptions.m4
151 -rm -f m4/ltversion.m4
152 -rm -f m4/lt~obsolete.m4
153 -rm -f m4/test-driver
155 -rm -rf ${top_builddir}/html
156 -rm -f $(DIST_ARCHIVES)