Merge lp:~brianaker/libmemcached/key-cleanup/ Build: jenkins-Libmemcached-369
[m6w6/libmemcached] / Makefile.am
1 # vim:ft=automake
2
3 ACLOCAL_AMFLAGS= -I m4 -I libtest/m4
4 AM_YFLAGS= -d
5
6 # includes append to these:
7 SUFFIXES =
8 .PHONY =
9 TESTS =
10 XFAIL_TESTS =
11 CLEANFILES =
12 DISTCLEANFILES =
13 bin_PROGRAMS =
14 noinst_HEADERS =
15 lib_LTLIBRARIES =
16 man_MANS =
17 noinst_LTLIBRARIES =
18 noinst_PROGRAMS =
19 include_HEADERS =
20 nobase_include_HEADERS =
21 check_PROGRAMS =
22 check_LTLIBRARIES=
23 EXTRA_HEADERS =
24 BUILT_SOURCES=
25 EXTRA_DIST=
26 dist_man_MANS=
27 MAINTAINERCLEANFILES=
28
29 #includes additional rules from aminclude.am
30 @INC_AMINCLUDE@
31
32 DISTCLEANFILES+= aminclude.am
33
34 EXTRA_DIST+= .quickly
35 EXTRA_DIST+= README.FIRST
36 EXTRA_DIST+= README.win32
37
38 aclocaldir= $(datadir)/aclocal
39 dist_aclocal_DATA=
40
41 # Build targets for Windows
42 if BUILD_WIN32
43 include libhashkit-1.0/include.am
44 include libhashkit/include.am
45 include libmemcached/include.am
46 include libmemcached-1.0/include.am
47 else
48
49 include libtest/include.am
50
51 include libhashkit-1.0/include.am
52 include libmemcached-1.0/include.am
53
54 if BUILD_LIBMEMCACHED_PROTOCOL
55 include libmemcachedprotocol-0.0/include.am
56 endif
57
58 include libmemcachedutil-1.0/include.am
59
60 include clients/include.am
61 include docs/include.am
62 include man/include.am
63
64 if BUILD_LIBMEMCACHED_PROTOCOL
65 include example/include.am
66 endif
67
68 include libhashkit/include.am
69 include libmemcached/include.am
70 include libmemcachedutil/include.am
71
72 if BUILD_LIBMEMCACHED_PROTOCOL
73 include libmemcachedprotocol/include.am
74 endif
75
76 include libmemcachedinternal/include.am
77 include libmemcachedinternal/util/include.am
78 include rpm/include.am
79 include support/include.am
80 include tests/include.am
81 include util/include.am
82 include win32/include.am
83
84 include m4/include.am
85 endif
86
87 TESTS += ${bin_PROGRAMS}
88 TESTS += ${check_PROGRAMS}
89 XFAIL_TESTS += ${bin_PROGRAMS}
90
91 if ! BUILD_WIN32
92
93 merge-clean:
94 @find ./ | $(GREP) \.gcda | xargs rm -f
95 @find ./ | $(GREP) \.gcno | xargs rm -f
96 @find ./ | $(GREP) \.gz | xargs rm -f
97 @find ./ | $(GREP) \.moved | xargs rm -r -f
98 @find ./ | $(GREP) \\.orig | xargs rm -f
99 @find ./ | $(GREP) \.rej | xargs rm -f
100 @rm -f *\.rpm
101 @find ./ | $(GREP) \.THIS | xargs rm -f
102 @find ./ | $(GREP) \.OTHER | xargs rm -f
103 @find ./ | $(GREP) \.BASE | xargs rm -f
104 @find ./ | $(GREP) \~$$ | xargs rm -f
105 @echo "Files that need to be either removed or checked in:"
106 @bzr unknowns
107
108 clean-local: clean-libtest-check clean-docs-check
109
110
111 lcov: lcov-clean check
112 @echo
113 @echo " ------------------------------------------------------"
114 @echo "Make sure ./configure was run with '--enable-coverage'"
115 @echo "------------------------------------------------------"
116 @echo
117 @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
118 @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
119
120 lcov-clean: clean
121 @rm -rf lcov */lcov.out
122 @find . -name '*.gcno' | xargs rm -f
123 @find . -name '*.gcda' | xargs rm -f
124 endif
125
126 DISTCLEANFILES+= config/top.h
127
128 maintainer-clean-local:
129 find . -type f -name '*~' -exec rm -f '{}' \;
130 -rm -f @PACKAGE@-*.rpm
131 -rm -f @PACKAGE@-*.tar.gz
132 -rm -f man/*.1
133 -rm -f man/*.3
134 -rm -f man/*.8
135 -rm -rf man/.doctrees/
136 -rm -f Makefile.in
137 -rm -f aclocal.m4
138 -rm -f build-aux/compile
139 -rm -f build-aux/config.guess
140 -rm -f build-aux/config.sub
141 -rm -f build-aux/depcomp
142 -rm -f build-aux/install-sh
143 -rm -f build-aux/ltmain.sh
144 -rm -f build-aux/missing
145 -rm -f build-aux/ylwrap
146 -rm -f mem_config.in
147 -rm -f config.log
148 -rm -f config.status
149 -rm -f configure
150 -rm -f m4/libtool.m4
151 -rm -f m4/ltoptions.m4
152 -rm -f m4/ltsugar.m4
153 -rm -f m4/ltversion.m4
154 -rm -f m4/lt~obsolete.m4
155 -rmdir build-aux
156 -rm -rf ${top_builddir}/html