1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 include $(topsrcdir
)/toolkit
/toolkit-tiers.mk
12 tier_app_dirs
+= extensions
15 tier_app_dirs
+= $(MOZ_BRANDING_DIRECTORY
)
17 ifdef MOZ_WEBAPP_RUNTIME
18 tier_app_dirs
+= webapprt
21 tier_app_dirs
+= browser
22 # Never add other tier_app_dirs after browser. They won't get packaged
25 ################################################
26 # Parallel build on Windows with GNU make check
29 ifeq (,$(findstring pymake
,$(MAKE
)))
30 ifeq ($(HOST_OS_ARCH
),WINNT
)
31 ifneq (1,$(NUMBER_OF_PROCESSORS
))
32 @echo
$(if
$(findstring -j
,$(value MAKEFLAGS
)), \
33 $(error You are using GNU make to build Firefox with
-jN on Windows. \
34 This will randomly deadlock. To compile a parallel build on Windows \
35 run
"python -OO build/pymake/make.py -f client.mk build". \
36 See https
://developer.mozilla.org
/en
/pymake for more details.
))
42 @
$(MAKE
) -C browser
/installer installer
45 @
$(MAKE
) -C browser
/installer
48 @
$(MAKE
) -C browser
/installer package-compare
51 @
$(MAKE
) -C browser
/installer stage-package
54 @
$(MAKE
) -C browser
/installer
install
57 @
$(MAKE
) -C browser
/installer
clean
60 @
$(MAKE
) -C browser
/installer
distclean
63 @
$(MAKE
) -C browser
/installer source-package
66 @
$(MAKE
) -C browser
/installer upload
69 @
$(MAKE
) -C browser
/installer source-upload
72 @
$(MAKE
) -C browser
/installer hg-bundle
75 @
$(MAKE
) -C browser
/locales l10n-check
78 # Implemented in testing/testsuite-targets.mk
80 mochitest-browser-chrome
:
81 $(RUN_MOCHITEST
) --browser-chrome
84 mochitest
:: mochitest-browser-chrome
86 .PHONY
: mochitest-browser-chrome