1 ACLOCAL_AMFLAGS = -I m4
3 # includes append to these:
14 nobase_include_HEADERS =
20 ${srcdir}/m4/pandora_*.m4 \
25 config/pandora-plugin \
26 config/uncrustify.cfg \
27 m4/ac_cxx_header_stdcxx_98.m4 \
42 (cd docs && $(MAKE) test-docs)
43 include libmemcached/include.am
44 include clients/include.am
45 include libtest/include.am
46 include libhashkit/include.am
47 include tests/include.am
48 include example/include.am
49 include support/include.am
50 include poll/include.am
51 include win32/include.am
53 TESTS += ${check_PROGRAMS}
57 rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
58 rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
59 cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
60 rpmbuild -ba support/libmemcached.spec
61 cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
62 cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
65 rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
66 rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
67 cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
68 rpmbuild -ba support/libmemcached.spec
69 cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
70 cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
72 rpm: all dist generic fedora
75 find ./ | $(GREP) \.gcda | xargs rm -f
76 find ./ | $(GREP) \.gcno | xargs rm -f
77 find ./ | $(GREP) \.gz | xargs rm -f
78 find ./ | $(GREP) \.orig | xargs rm -f
79 find ./ | $(GREP) \.rej | xargs rm -f
80 find ./ | $(GREP) \.rpm | xargs rm -f
81 find ./ | $(GREP) \~$$ | xargs rm -f
84 lcov: lcov-clean check
86 @echo " ------------------------------------------------------"
87 @echo "Make sure ./configure was run with '--enable-coverage'"
88 @echo "------------------------------------------------------"
90 cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
91 genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
94 rm -rf lcov */lcov.out
95 find . -name '*.gcno' | xargs rm -f
96 find . -name '*.gcda' | xargs rm -f
98 CLEANFILES+= config/top.h