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