xref: /4.5.1-MP3/tlm/GNUmakefile (revision 41ff7d74)
1PREFIX:=$(shell pwd)/install
2MAKEFLAGS=--no-print-directory
3
4all:
5	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" all
6
7install: all
8	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" install
9
10geocouch-build-for-testing:
11	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" geocouch-build-for-testing
12
13test:
14	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" test
15
16run-mats:
17	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp run-mats
18
19e2etest:
20	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp e2etest
21
22e2eviewtests:
23	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp e2eviewtests
24
25analyze:
26	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp MAKETYPE="Unix Makefiles" $@
27
28clean:
29	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp RM=rm RMOPTS=-rf clean
30
31clean-xfd:
32	@$(MAKE) -f Makefile PREFIX="$(PREFIX)" CHMODCMD="chmod u+w" CP=cp RM=rm RMOPTS=-rf clean-xfd
33
34clean-xfd-hard: clean-xfd
35
36clean-all: clean-xfd
37
38ICU_OPT=
39UNAME := $(shell uname -s)
40ifeq ($(UNAME),Darwin)
41    # MB-11442
42    ICU_OPT=-mmacosx-version-min=10.7
43endif
44
45icu4c/source/Makefile:
46	(cd icu4c/source && \
47	CFLAGS=$(ICU_OPT) CXXFLAGS=$(ICU_OPT) LDFLAGS=$(ICU_OPT) \
48	  ./configure "--prefix=$(PREFIX)")
49
50make-install-icu4c: icu4c/source/Makefile
51	$(MAKE) -C icu4c/source install
52
53make-install-couchdb-deps: make-install-icu4c
54