Simple "print the state of poll" function.
[m6w6/libmemcached] / Makefile.am
1 # vim:ft=automake
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 # includes append to these:
6 SUFFIXES =
7 .PHONY =
8 TESTS =
9 CLEANFILES =
10 DISTCLEANFILES =
11 bin_PROGRAMS =
12 noinst_HEADERS =
13 lib_LTLIBRARIES =
14 man_MANS =
15 noinst_LTLIBRARIES =
16 noinst_PROGRAMS =
17 include_HEADERS =
18 nobase_include_HEADERS =
19 check_PROGRAMS =
20 EXTRA_HEADERS =
21 BUILT_SOURCES=
22 EXTRA_DIST=
23
24 EXTRA_DIST+= ${srcdir}/m4/pandora_*.m4
25 EXTRA_DIST+= .quickly
26 EXTRA_DIST+= README.FIRST
27 EXTRA_DIST+= README.win32
28 EXTRA_DIST+= config/autorun.sh
29 EXTRA_DIST+= config/pandora-plugin
30 EXTRA_DIST+= config/uncrustify.cfg
31
32 include libtest/include.am
33
34 libtest_libtest_la_DEPENDENCIES+= memcached/memcached
35
36 include libhashkit-1.0/include.am
37 include libmemcached-1.0/include.am
38 include libmemcachedprotocol-0.0/include.am
39 include libmemcachedutil-1.0/include.am
40
41 include clients/include.am
42 include docs/include.am
43 include example/include.am
44 include libhashkit/include.am
45 include libmemcached/include.am
46 include libmemcachedutil/include.am
47 include libmemcachedprotocol/include.am
48 include libmemcachedinternal/include.am
49 include libmemcachedinternal/util/include.am
50 include poll/include.am
51 include support/include.am
52 include tests/include.am
53 include util/include.am
54 include win32/include.am
55 include memcached/include.am
56
57 docs: html man
58
59 TESTS += ${check_PROGRAMS}
60
61 EXTRA_DIST+= ${man_MANS}
62
63 merge-clean:
64 @find ./ | $(GREP) \.gcda | xargs rm -f
65 @find ./ | $(GREP) \.gcno | xargs rm -f
66 @find ./ | $(GREP) \.gz | xargs rm -f
67 @find ./ | $(GREP) \.orig | xargs rm -f
68 @find ./ | $(GREP) \.rej | xargs rm -f
69 @find ./ | $(GREP) \.rpm | xargs rm -f
70 @find ./ | $(GREP) \.THIS | xargs rm -f
71 @find ./ | $(GREP) \.OTHER | xargs rm -f
72 @find ./ | $(GREP) \.BASE | xargs rm -f
73 @find ./ | $(GREP) \~$$ | xargs rm -f
74 @echo "Files that need to be either removed or checked in:"
75 @bzr unknowns
76
77 clean-local:
78 -rm -rf docs/_build docs/doctrees
79
80 lcov: lcov-clean check
81 @echo
82 @echo " ------------------------------------------------------"
83 @echo "Make sure ./configure was run with '--enable-coverage'"
84 @echo "------------------------------------------------------"
85 @echo
86 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
87 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
88
89 lcov-clean: clean
90 @rm -rf lcov */lcov.out
91 @find . -name '*.gcno' | xargs rm -f
92 @find . -name '*.gcda' | xargs rm -f
93
94 DISTCLEANFILES+= config/top.h