suite/build.mk
author rsx11m <rsx11m.pub@gmail.com>
Sat, 02 Mar 2013 15:47:13 -0600
changeset 15072 cc2732963642729313466d4670c1c2373afd06e8
parent 15059 c8c0954ad5947fb552ce84b6cafeac9c8e1f0465
child 16172 97c76601c333ea1cfb1f1ee3eaeb858a490a7bc4
permissions -rw-r--r--
Bug 845353 - New 3rd-party cookie restriction to visited websites is default but not an option in Cookies pref pane. ui-r=Neil, r=IanN

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

ifdef COMM_BUILD # Mozilla Makefile
ifndef MOZ_INCOMPLETE_EXTERNAL_LINKAGE
# workaround Bug 599809 by making these makefiles be generated here
SUBMAKEFILES += $(addsuffix /Makefile, $(APP_LIBXUL_DIRS) $(APP_LIBXUL_STATICDIRS))
endif
endif

installer:
	@$(MAKE) -C suite/installer installer

package:
	@$(MAKE) -C suite/installer

package-compare:
	@$(MAKE) -C suite/installer package-compare

install::
	@$(MAKE) -C suite/installer install

source-package::
	@$(MAKE) -C suite/installer source-package

upload::
	@$(MAKE) -C suite/installer upload

ifndef COMM_BUILD # Mozilla Makefile

# mochitests need to be run from the Mozilla build system
ifdef ENABLE_TESTS
# Backend is implemented in mozilla/testing/testsuite-targets.mk.
# This part is copied from mozilla/browser/build.mk.

mochitest-browser-chrome:
	$(RUN_MOCHITEST) --browser-chrome
	$(CHECK_TEST_ERROR)

mochitest:: mochitest-browser-chrome

.PHONY: mochitest-browser-chrome
endif

else # toplevel Makefile

ifdef ENABLE_TESTS
# This part is copied from mail/testsuite-targets.mk,
# SeaMonkey does not need to create a suite/testsuite-targets.mk yet.

# "-mail : Open the mail folder view" (instead of "a browser window").
BLOAT_EXTRA_ARG := -mail

# Additional mailnews targets to call automated test suites.
include $(topsrcdir)/mailnews/testsuite-targets.mk
endif

endif # COMM_BUILD