Add in version information for YATL
[m6w6/libmemcached] / Makefile.am
index 6b05f81f7e880e7c4cb9800c00c65e6308fe31a5..b43381069b13f5fd32f1755f93c3915c72bc43a9 100644 (file)
@@ -1,13 +1,94 @@
-INCLUDES = include\r
-SUBDIRS = docs include lib src tests\r
-\r
-test: all\r
-       cd tests; make test; cd ..\r
-\r
-ltest: all \r
-       ./tests/testapp output.txt\r
-\r
-valgrind:\r
-       cd tests; make valgrind; cd ..\r
-\r
-\r
+# vim:ft=automake
+
+ACLOCAL_AMFLAGS = -I m4
+
+# includes append to these:
+SUFFIXES =
+.PHONY =
+TESTS =
+CLEANFILES =
+DISTCLEANFILES =
+bin_PROGRAMS =
+noinst_HEADERS =
+lib_LTLIBRARIES =
+man_MANS =
+noinst_LTLIBRARIES =
+noinst_PROGRAMS =
+include_HEADERS =
+nobase_include_HEADERS =
+check_PROGRAMS =
+EXTRA_HEADERS =
+BUILT_SOURCES=
+EXTRA_DIST=
+
+EXTRA_DIST+= ${srcdir}/m4/pandora_*.m4
+EXTRA_DIST+= .quickly
+EXTRA_DIST+= README.FIRST
+EXTRA_DIST+= README.win32
+EXTRA_DIST+= config/autorun.sh
+EXTRA_DIST+= config/pandora-plugin
+EXTRA_DIST+= config/uncrustify.cfg
+
+include libtest/include.am
+
+libtest_libtest_la_DEPENDENCIES+= memcached/memcached
+
+include libhashkit-1.0/include.am
+include libmemcached-1.0/include.am
+include libmemcachedprotocol-0.0/include.am
+include libmemcachedutil-1.0/include.am
+
+include clients/include.am
+include docs/include.am
+include example/include.am
+include libhashkit/include.am
+include libmemcached/include.am
+include libmemcachedutil/include.am
+include libmemcachedprotocol/include.am
+include libmemcachedinternal/include.am
+include libmemcachedinternal/util/include.am
+include poll/include.am
+include support/include.am
+include tests/include.am
+include util/include.am
+include win32/include.am
+include memcached/include.am
+
+docs: html man
+
+TESTS += ${check_PROGRAMS}
+
+EXTRA_DIST+= ${man_MANS}
+
+merge-clean:
+       @find ./ | $(GREP) \.gcda | xargs rm -f
+       @find ./ | $(GREP) \.gcno | xargs rm -f
+       @find ./ | $(GREP) \.gz | xargs rm -f
+       @find ./ | $(GREP) \.orig | xargs rm -f
+       @find ./ | $(GREP) \.rej | xargs rm -f
+       @find ./ | $(GREP) \.rpm | xargs rm -f
+       @find ./ | $(GREP) \.THIS | xargs rm -f
+       @find ./ | $(GREP) \.OTHER | xargs rm -f
+       @find ./ | $(GREP) \.BASE | xargs rm -f
+       @find ./ | $(GREP) \~$$ | xargs rm -f
+       @echo "Files that need to be either removed or checked in:"
+       @bzr unknowns
+
+clean-local:
+       -rm -rf docs/_build docs/doctrees
+
+lcov: lcov-clean check
+       @echo
+       @echo " ------------------------------------------------------"
+       @echo "Make sure ./configure was run with '--enable-coverage'"
+       @echo "------------------------------------------------------"
+       @echo
+       @cd libmemcached && lcov --capture --directory . --base-directory .. --output-file lcov.out
+       @genhtml -o lcov --function-coverage -t libmemcached libmemcached/lcov.out
+
+lcov-clean: clean
+       @rm -rf lcov */lcov.out
+       @find . -name '*.gcno' | xargs rm -f
+       @find . -name '*.gcda' | xargs rm -f
+
+DISTCLEANFILES+= config/top.h