suite/build.mk
author Mark Banner <bugzilla@standard8.plus.com>
Wed, 13 Nov 2013 08:35:54 +0000
changeset 16588 da43980580e0c5a15d7035eaaeb91236965c6ba1
parent 16172 97c76601c333ea1cfb1f1ee3eaeb858a490a7bc4
child 20708 949e0465b1c39f629dc4e2ecb1d9cf607432d0c3
permissions -rw-r--r--
Back out part of bab97315c5f4 / Bug 926900 due to bustage,a=Standard8

# 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

endif # COMM_BUILD