3 ACLOCAL_AMFLAGS = -I m4
5 # includes append to these:
18 nobase_include_HEADERS =
23 ${srcdir}/m4/pandora_*.m4 \
28 config/pandora-plugin \
31 include libtest/include.am
33 include libhashkit-1.0/include.am
34 include libmemcached-1.0/include.am
35 include libmemcachedprotocol-0.0/include.am
36 include libmemcachedutil-1.0/include.am
38 include clients/include.am
39 include docs/include.am
40 include example/include.am
41 include libhashkit/include.am
42 include libmemcached/include.am
43 include libmemcachedutil/include.am
44 include libmemcachedprotocol/include.am
45 include libmemcachedinternal/include.am
46 include libmemcachedinternal/util/include.am
47 include poll/include.am
48 include support/include.am
49 include tests/include.am
50 include util/include.am
51 include win32/include.am
55 TESTS += ${check_PROGRAMS}
57 EXTRA_DIST+= ${man_MANS}
60 @rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
61 @rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
62 @cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
63 @rpmbuild -ba support/libmemcached.spec
64 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
65 @cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
67 generic: support/libmemcached.spec
68 @rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
69 @rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
70 @cp libmemcached-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
71 @rpmbuild -ba support/libmemcached.spec
72 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
73 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-devel-$(VERSION)*.rpm .
74 @cp ~/rpmbuild/RPMS/x86_64/libmemcached-debuginfo-$(VERSION)*.rpm .
75 @cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
77 rpm: man distcheck generic
80 @rpm --addsign libmemcached-$(VERSION)*.rpm .
81 @rpm --checksig libmemcached-$(VERSION)*.rpm .
82 @rpm --addsign libmemcached-devel-$(VERSION)*.rpm .
83 @rpm --checksig libmemcached-devel-$(VERSION)*.rpm .
84 @rpm --addsign libmemcached-debuginfo-$(VERSION)*.rpm .
85 @rpm --checksig libmemcached-debuginfo-$(VERSION)*.rpm .
88 @find ./ | $(GREP) \.gcda | xargs rm -f
89 @find ./ | $(GREP) \.gcno | xargs rm -f
90 @find ./ | $(GREP) \.gz | xargs rm -f
91 @find ./ | $(GREP) \.orig | xargs rm -f
92 @find ./ | $(GREP) \.rej | xargs rm -f
93 @find ./ | $(GREP) \.rpm | xargs rm -f
94 @find ./ | $(GREP) \.THIS | xargs rm -f
95 @find ./ | $(GREP) \.OTHER | xargs rm -f
96 @find ./ | $(GREP) \.BASE | xargs rm -f
97 @find ./ | $(GREP) \~$$ | xargs rm -f
98 @echo "Files that need to be either removed or checked in:"
102 -rm -rf docs/_build docs/doctrees
104 lcov: lcov-clean check
106 @echo " ------------------------------------------------------"
107 @echo "Make sure ./configure was run with '--enable-coverage'"
108 @echo "------------------------------------------------------"
110 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
111 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
114 @rm -rf lcov */lcov.out
115 @find . -name '*.gcno' | xargs rm -f
116 @find . -name '*.gcda' | xargs rm -f
118 DISTCLEANFILES+= config/top.h