AX: AXIsolatedTree::updateChildren sometimes fails to update isolated subtrees when...
[WebKit-https.git] / Source / Makefile
1 ifeq ($(USE_WORKSPACE),YES)
2
3 include ../Makefile.shared
4 SCHEME = All Source
5
6 else
7
8 WEBINSPECTORUI_MODULE =
9
10 TO_LOWER = $(shell echo $(1) | tr [:upper:] [:lower:])
11
12 ifneq (,$(SDKROOT))
13         ifneq (,$(findstring macosx,$(call TO_LOWER,$(notdir $(SDKROOT)))))
14                 WEBINSPECTORUI_MODULE = WebInspectorUI
15         endif
16         ifeq ($(MAKECMDGOALS),installsrc)
17                 WEBINSPECTORUI_MODULE = WebInspectorUI
18         endif
19 else
20         WEBINSPECTORUI_MODULE = WebInspectorUI
21 endif
22
23 ifeq (iosmac,$(SDK_VARIANT))
24         WEBINSPECTORUI_MODULE =
25 endif
26
27 MODULES = bmalloc WTF JavaScriptCore WebGPU ThirdParty WebCore $(WEBINSPECTORUI_MODULE) WebKitLegacy WebKit
28
29 define build_target_for_each_module
30         for dir in $(MODULES); do \
31                 ${MAKE} $@ -C $$dir PATH_FROM_ROOT=$(PATH_FROM_ROOT)/$${dir}; \
32                 exit_status=$$?; \
33                 [ $$exit_status -ne 0 ] && exit $$exit_status; \
34         done; true
35 endef
36
37 all:
38         @$(build_target_for_each_module)
39
40 debug d:
41         @$(build_target_for_each_module)
42
43 release r:
44         @$(build_target_for_each_module)
45
46 release+assert ra:
47         @$(build_target_for_each_module)
48
49 testing t:
50         @$(build_target_for_each_module)
51
52 analyze:
53         @$(build_target_for_each_module)
54
55 clean:
56         @$(build_target_for_each_module)
57
58 installsrc:
59         @$(build_target_for_each_module)
60         cp -R ../Source/cmake $(SRCROOT)/Source/
61
62 endif # USE_WORKSPACE