Automatically delete old data from ews buildbot instance
[WebKit-https.git] / Source / ThirdParty / Makefile
1 LIBWEBRTC_MODULE = 
2
3 ifeq (iosmac,$(SDK_VARIANT))
4         DISABLE_LIBWEBRTC = 1
5 endif
6
7 ifneq (,$(SDKROOT))
8         ifneq (,$(findstring iphone,$(SDKROOT)))
9                 LIBWEBRTC_MODULE = libwebrtc
10         endif
11         ifneq (,$(findstring macosx,$(SDKROOT)))
12                 LIBWEBRTC_MODULE = libwebrtc
13         endif
14         ifneq (,$(findstring watch,$(SDKROOT)))
15                 LIBWEBRTC_MODULE = libwebrtc
16         endif
17 else
18         LIBWEBRTC_MODULE = libwebrtc
19 endif
20
21 ifneq (,$(DISABLE_LIBWEBRTC))
22         LIBWEBRTC_MODULE =
23 endif
24
25 MODULES = ANGLE $(LIBWEBRTC_MODULE)
26
27 define build_target_for_each_module
28         for dir in $(MODULES); do \
29                 ${MAKE} $@ -C $$dir PATH_FROM_ROOT=$(PATH_FROM_ROOT)/$${dir}; \
30                 exit_status=$$?; \
31                 [ $$exit_status -ne 0 ] && exit $$exit_status; \
32         done; true
33 endef
34
35 all:
36         @$(build_target_for_each_module)
37
38 debug d:
39         @$(build_target_for_each_module)
40
41 release r:
42         @$(build_target_for_each_module)
43
44 release+assert ra:
45         @$(build_target_for_each_module)
46
47 testing t:
48         @$(build_target_for_each_module)
49
50 analyze:
51         @$(build_target_for_each_module)
52
53 clean:
54         @$(build_target_for_each_module)
55
56 installsrc:
57         @$(build_target_for_each_module)