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