xulrunner/build.mk
author David Anderson <danderson@mozilla.com>
Tue, 12 Jun 2012 17:44:22 -0700
changeset 109891 3f2823d467bfae54c95cc2242194ab2357e6934f
parent 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 129692 0dd558c975f03e20e5704133facd2af6c4bf1eea
permissions -rw-r--r--
Merge from mozilla-central.

# 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/.

include $(topsrcdir)/toolkit/toolkit-tiers.mk

TIERS += app

ifdef MOZ_EXTENSIONS
tier_app_dirs += extensions
endif

# winEmbed
ifeq ($(OS_ARCH),WINNT)
ifneq (,$(ENABLE_TESTS)$(MOZILLA_OFFICIAL))
tier_app_dirs += embedding/tests/winEmbed
endif
endif

tier_app_dirs += xulrunner

installer:
	@echo "XULRunner doesn't have an installer yet."

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

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

sdk:
	@$(MAKE) -C xulrunner/installer make-sdk

distclean::
	@$(MAKE) -C xulrunner/installer distclean

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

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

source-upload::
	@$(MAKE) -C xulrunner/installer source-upload

hg-bundle::
	@$(MAKE) -C xulrunner/installer hg-bundle

ifeq ($(OS_TARGET),Linux)
deb: package
	@$(MAKE) -C xulrunner/installer deb
endif