1# PLEASE NOTE: This Makefile is provided as a convenience for those 2# who do not wish to interact with CMake. It is NOT SUPPORTED by the 3# Couchbase build team, and the production builds do NOT make use of 4# it, so bugs filed against it will need to be handled by those devs 5# who care to use it. 6 7PREFIX:=$(shell pwd)/install 8MAKEFLAGS=--no-print-directory 9 10PASSTHRU_TARGETS=all analyze clean clean-all clean-xfd clean-xfd-hard \ 11 e2etest e2eviewtests geocouch-build-for-testing install reset run-mats test 12 13$(PASSTHRU_TARGETS): 14 @$(MAKE) -f Makefile \ 15 MAKETYPE="Unix Makefiles" \ 16 PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp \ 17 SEPARATOR=/ RM=rm RMOPTS=-rf $@ 18 19ICU_OPT= 20UNAME := $(shell uname -s) 21ifeq ($(UNAME),Darwin) 22 # MB-11442 23 ICU_OPT=-mmacosx-version-min=10.7 24endif 25 26icu4c/source/Makefile: 27 (cd icu4c/source && \ 28 CFLAGS=$(ICU_OPT) CXXFLAGS=$(ICU_OPT) LDFLAGS=$(ICU_OPT) \ 29 ./configure "--prefix=$(PREFIX)") 30 31make-install-icu4c: icu4c/source/Makefile 32 $(MAKE) -C icu4c/source install 33 34make-install-couchdb-deps: make-install-icu4c 35