X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile.am;h=6aa50af828b6dec8e3734975648dc4daf68195db;hb=a715b9a10e64a190ed868bb79ccd78f4f0d6a7f7;hp=fa4bf7260f4b29c6bc17a422601790737fdd84a9;hpb=25efe3485198149616820ab4e52d2f18f0abe5a7;p=awesomized%2Flibmemcached diff --git a/Makefile.am b/Makefile.am index fa4bf726..6aa50af8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,7 @@ ACLOCAL_AMFLAGS = -I m4 -I libtest/m4 SUFFIXES = .PHONY = TESTS = +XFAIL_TESTS = CLEANFILES = DISTCLEANFILES = bin_PROGRAMS = @@ -20,54 +21,79 @@ check_PROGRAMS = EXTRA_HEADERS = BUILT_SOURCES= EXTRA_DIST= +dist_man_MANS= +MAINTAINERCLEANFILES= + +#includes additional rules from aminclude.am +@INC_AMINCLUDE@ + +DISTCLEANFILES+= aminclude.am -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 +aclocaldir= $(datadir)/aclocal +dist_aclocal_DATA= -libtest_libtest_la_DEPENDENCIES+= memcached/memcached +# Build targets for Windows +if BUILD_WIN32 +include libhashkit-1.0/include.am +include libhashkit/include.am +include libmemcached/include.am +include libmemcached-1.0/include.am +else + +include libtest/include.am include libhashkit-1.0/include.am include libmemcached-1.0/include.am + +if BUILD_LIBMEMCACHED_PROTOCOL include libmemcachedprotocol-0.0/include.am +endif + include libmemcachedutil-1.0/include.am include clients/include.am include docs/include.am +include man/include.am + +if BUILD_LIBMEMCACHED_PROTOCOL include example/include.am +endif + include libhashkit/include.am include libmemcached/include.am include libmemcachedutil/include.am + +if BUILD_LIBMEMCACHED_PROTOCOL include libmemcachedprotocol/include.am +endif + include libmemcachedinternal/include.am include libmemcachedinternal/util/include.am -include poll/include.am -include rpm.am +include rpm/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 +include m4/include.am +endif +TESTS += ${bin_PROGRAMS} TESTS += ${check_PROGRAMS} - -EXTRA_DIST+= ${man_MANS} +XFAIL_TESTS += ${bin_PROGRAMS} 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) \.moved | xargs rm -r -f + @find ./ | $(GREP) \\.orig | xargs rm -f @find ./ | $(GREP) \.rej | xargs rm -f - @find ./ | $(GREP) \.rpm | xargs rm -f + @rm -f *\.rpm @find ./ | $(GREP) \.THIS | xargs rm -f @find ./ | $(GREP) \.OTHER | xargs rm -f @find ./ | $(GREP) \.BASE | xargs rm -f @@ -93,3 +119,34 @@ lcov-clean: clean @find . -name '*.gcda' | xargs rm -f DISTCLEANFILES+= config/top.h + +clean-local: clean-libtest-check clean-docs-check + +maintainer-clean-local: + find . -type f -name '*~' -exec rm -f '{}' \; + -rm -f @PACKAGE@-*.rpm + -rm -f @PACKAGE@-*.tar.gz + -rm -f man/*.1 + -rm -f man/*.3 + -rm -f man/*.8 + -rm -rf man/.doctrees/ + -rm -f Makefile.in + -rm -f aclocal.m4 + -rm -f build-aux/compile + -rm -f build-aux/config.guess + -rm -f build-aux/config.sub + -rm -f build-aux/depcomp + -rm -f build-aux/install-sh + -rm -f build-aux/ltmain.sh + -rm -f build-aux/missing + -rm -f mem_config.in + -rm -f config.log + -rm -f config.status + -rm -f configure + -rm -f m4/libtool.m4 + -rm -f m4/ltoptions.m4 + -rm -f m4/ltsugar.m4 + -rm -f m4/ltversion.m4 + -rm -f m4/lt~obsolete.m4 + -rmdir build-aux + -rm -rf ${top_builddir}/html