forked from couchbase/tlm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GNUmakefile
59 lines (42 loc) · 1.88 KB
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# PLEASE NOTE: This Makefile is provided as a convenience for those
# who do not wish to interact with CMake. It is NOT SUPPORTED by the
# Couchbase build team, and the production builds do NOT make use of
# it, so bugs filed against it will need to be handled by those devs
# who care to use it.
PREFIX:=$(shell pwd)/install
MAKEFLAGS=--no-print-directory
all:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" SEPARATOR=/ all
install: all
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" SEPARATOR=/ install
geocouch-build-for-testing:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" SEPARATOR=/ geocouch-build-for-testing
test:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" SEPARATOR=/ test
run-mats:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp run-mats
e2etest:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp e2etest
e2eviewtests:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp e2eviewtests
analyze:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" $@
clean:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp RM=rm RMOPTS=-rf SEPARATOR=/ clean
clean-xfd:
@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp RM=rm RMOPTS=-rf SEPARATOR=/ clean-xfd
clean-xfd-hard: clean-xfd
clean-all: clean-xfd
ICU_OPT=
UNAME := $(shell uname -s)
ifeq ($(UNAME),Darwin)
# MB-11442
ICU_OPT=-mmacosx-version-min=10.7
endif
icu4c/source/Makefile:
(cd icu4c/source && \
CFLAGS=$(ICU_OPT) CXXFLAGS=$(ICU_OPT) LDFLAGS=$(ICU_OPT) \
./configure "--prefix=$(PREFIX)")
make-install-icu4c: icu4c/source/Makefile
$(MAKE) -C icu4c/source install
make-install-couchdb-deps: make-install-icu4c