2021-05-30 04:39:47 +00:00
|
|
|
LIBWEBRTC_MODULE = libwebrtc
|
2019-04-28 19:28:09 +00:00
|
|
|
|
2020-12-21 20:46:10 +00:00
|
|
|
TO_LOWER = $(shell echo $(1) | tr [:upper:] [:lower:])
|
|
|
|
|
2019-04-28 19:28:09 +00:00
|
|
|
ifeq (iosmac,$(SDK_VARIANT))
|
|
|
|
DISABLE_LIBWEBRTC = 1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(DISABLE_LIBWEBRTC))
|
|
|
|
LIBWEBRTC_MODULE =
|
|
|
|
endif
|
|
|
|
|
|
|
|
MODULES = ANGLE $(LIBWEBRTC_MODULE)
|
2010-12-27 19:41:35 +00:00
|
|
|
|
2020-09-22 18:37:51 +00:00
|
|
|
define build_target_for_each_module
|
|
|
|
for dir in $(MODULES); do \
|
|
|
|
${MAKE} $@ -C $$dir PATH_FROM_ROOT=$(PATH_FROM_ROOT)/$${dir}; \
|
|
|
|
exit_status=$$?; \
|
|
|
|
[ $$exit_status -ne 0 ] && exit $$exit_status; \
|
|
|
|
done; true
|
|
|
|
endef
|
|
|
|
|
2010-12-27 19:41:35 +00:00
|
|
|
all:
|
2020-09-22 18:37:51 +00:00
|
|
|
@$(build_target_for_each_module)
|
2010-12-27 19:41:35 +00:00
|
|
|
|
Unify debug and release target aliases
https://bugs.webkit.org/show_bug.cgi?id=216863
<rdar://problem/69407746>
Reviewed by Tim Horton.
All Makefiles have "debug", "d", "release", and "r" for build
targets. Others -- but not all -- also include "dev", "develop",
"development", "dep", "deploy", and "deployment". Because of this
inconsistency, trying to use those additional targets didn't work. It
looks like all Makefiles used to support all of those targets, but
some got dropped along the way. For instance, the top-level Makefile
and Source/Makefile dropped them in 2013 as part of Bug 107863. And it
looks like WebKitLibraries/Makefile never had them. Given that those
additional targets don't work, it seems like no one uses them, so
let's remove them completely.
.:
* Makefile.shared:
Source/ThirdParty:
* Makefile:
Tools:
* Makefile:
Canonical link: https://commits.webkit.org/229650@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 03:38:17 +00:00
|
|
|
debug d:
|
2020-09-22 18:37:51 +00:00
|
|
|
@$(build_target_for_each_module)
|
2010-12-27 19:41:35 +00:00
|
|
|
|
Unify debug and release target aliases
https://bugs.webkit.org/show_bug.cgi?id=216863
<rdar://problem/69407746>
Reviewed by Tim Horton.
All Makefiles have "debug", "d", "release", and "r" for build
targets. Others -- but not all -- also include "dev", "develop",
"development", "dep", "deploy", and "deployment". Because of this
inconsistency, trying to use those additional targets didn't work. It
looks like all Makefiles used to support all of those targets, but
some got dropped along the way. For instance, the top-level Makefile
and Source/Makefile dropped them in 2013 as part of Bug 107863. And it
looks like WebKitLibraries/Makefile never had them. Given that those
additional targets don't work, it seems like no one uses them, so
let's remove them completely.
.:
* Makefile.shared:
Source/ThirdParty:
* Makefile:
Tools:
* Makefile:
Canonical link: https://commits.webkit.org/229650@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 03:38:17 +00:00
|
|
|
release r:
|
2020-09-22 18:37:51 +00:00
|
|
|
@$(build_target_for_each_module)
|
2010-12-27 19:41:35 +00:00
|
|
|
|
2020-01-08 22:20:24 +00:00
|
|
|
release+assert ra:
|
2020-09-22 18:37:51 +00:00
|
|
|
@$(build_target_for_each_module)
|
2020-01-08 22:20:24 +00:00
|
|
|
|
2020-01-08 01:55:21 +00:00
|
|
|
testing t:
|
2020-09-22 18:37:51 +00:00
|
|
|
@$(build_target_for_each_module)
|
2020-01-08 01:55:21 +00:00
|
|
|
|
2019-07-28 21:28:24 +00:00
|
|
|
analyze:
|
2020-09-22 18:37:51 +00:00
|
|
|
@$(build_target_for_each_module)
|
2019-07-28 21:28:24 +00:00
|
|
|
|
2010-12-27 19:41:35 +00:00
|
|
|
clean:
|
2020-09-22 18:37:51 +00:00
|
|
|
@$(build_target_for_each_module)
|
2020-10-04 21:09:14 +00:00
|
|
|
|
|
|
|
installsrc:
|
|
|
|
@$(build_target_for_each_module)
|