# -*- mode: Makefile; -*- ## ----------------------------------------------------------------------------- ## --SECTION-- ETCD ## ----------------------------------------------------------------------------- ################################################################################ ### @brief etcd ################################################################################ @top_srcdir@/bin/etcd-arango$(PROGRAM_SUFFIX): if GO_AVAILABLE @echo @echo "--------------------------------------------------------------------------------" @echo "BUILDING etcd" @echo "--------------------------------------------------------------------------------" @echo else @echo @echo "********************************************************************************" @echo "SKIPPING etcd - you won't be able to use clusters!" @echo "Install go from golang.org and re-run configure to change" @echo "********************************************************************************" @echo endif if ENABLE_INTERNAL_GO cd @top_srcdir@/3rdParty/etcd \ && GOROOT="`pwd`/../go-$(TRI_BITS)/" PATH="`pwd`/../go-$(TRI_BITS)/bin:$$PATH" ./build else if GO_AVAILABLE cd @top_srcdir@/3rdParty/etcd && ./build endif endif if GO_AVAILABLE cp @top_srcdir@/3rdParty/etcd/bin/etcd @top_srcdir@/bin/etcd-arango$(PROGRAM_SUFFIX) endif if ENABLE_DARWIN else if GO_AVAILABLE strip @top_srcdir@/bin/etcd-arango$(PROGRAM_SUFFIX) endif endif if GO_AVAILABLE @echo @echo "--------------------------------------------------------------------------------" @echo "BUILD etcd FINISHED" @echo "--------------------------------------------------------------------------------" @echo endif ################################################################################ ### @brief additional files to remove ################################################################################ CLEANUP_3RD += clean-etcd clean-etcd: cd @top_srcdir@/3rdParty/etcd && go clean rm -f @top_srcdir@/bin/etcd-arango ## ----------------------------------------------------------------------------- ## --SECTION-- END-OF-FILE ## ----------------------------------------------------------------------------- ## Local Variables: ## mode: outline-minor ## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)" ## End: