ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = docs libmemcached libmemcachedutil support clients tests example
-EXTRA_dist = README.FIRST
+# includes append to these:
+SUFFIXES =
+TESTS =
+bin_PROGRAMS =
+noinst_HEADERS =
+lib_LTLIBRARIES =
+noinst_LTLIBRARIES =
+noinst_PROGRAMS =
+pkginclude_HEADERS =
+nobase_pkginclude_HEADERS =
+EXTRA_HEADERS =
+BUILT_SOURCES=
+EXTRA_DIST = README.FIRST
+
+SUBDIRS = . docs support tests example
+
+include libmemcached/include.am
+include clients/include.am
check-local: test-no-outputdiff
test-extended: all
@(cd tests; ${MAKE} test-extended)
-valgrind:
+valgrind: all
@(cd tests; ${MAKE} valgrind)
test-no-outputdiff:
cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
rpm: all dist generic fedora
+
+merge-clean:
+ find ./ | $(GREP) \.orig | xargs rm -f
+ find ./ | $(GREP) \.rej | xargs rm -f
+ find ./ | $(GREP) \~$$ | xargs rm -f
+ bzr unknowns
+
+hudson-valgrind: all
+ @(cd tests; ${MAKE} hudson-valgrind)