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)
44 include libtest/include.am
46 include libmemcached/include.am
47 include clients/include.am
48 include libhashkit/include.am
49 include tests/include.am
50 include example/include.am
51 include support/include.am
52 include poll/include.am
53 include win32/include.am
55 TESTS += ${check_PROGRAMS}
59 rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
60 rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
61 cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
62 rpmbuild -ba support/libmemcached.spec
63 cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
64 cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
67 rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
68 rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
69 cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
70 rpmbuild -ba support/libmemcached.spec
71 cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
72 cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
74 rpm: all dist generic fedora
77 find ./ | $(GREP) \.gcda | xargs rm -f
78 find ./ | $(GREP) \.gcno | xargs rm -f
79 find ./ | $(GREP) \.gz | xargs rm -f
80 find ./ | $(GREP) \.orig | xargs rm -f
81 find ./ | $(GREP) \.rej | xargs rm -f
82 find ./ | $(GREP) \.rpm | xargs rm -f
83 find ./ | $(GREP) \~$$ | xargs rm -f
86 lcov: lcov-clean check
88 @echo " ------------------------------------------------------"
89 @echo "Make sure ./configure was run with '--enable-coverage'"
90 @echo "------------------------------------------------------"
92 cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
93 genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
96 rm -rf lcov */lcov.out
97 find . -name '*.gcno' | xargs rm -f
98 find . -name '*.gcda' | xargs rm -f
100 CLEANFILES+= config/top.h