calendar/build.mk
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 07 Aug 2012 14:28:55 +0200
changeset 13207 493c0d246a5ead3bbfda7fee2827223db343e99f
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 15059 c8c0954ad5947fb552ce84b6cafeac9c8e1f0465
permissions -rw-r--r--
Bug 780357 - Partial port of bug 774032. pending-r=Callek

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

ifndef COMM_BUILD # Mozila Makefile

ifndef LIBXUL_SDK
include $(topsrcdir)/toolkit/toolkit-tiers.mk
endif

TIERS += app

ifdef MOZ_EXTENSIONS
tier_app_dirs += extensions
endif

else # toplevel Makefile

TIERS += app

tier_app_dirs += $(MOZ_BRANDING_DIRECTORY)

tier_app_dirs += \
	calendar \
	calendar/sunbird \
	$(NULL)

ifdef MOZ_CALENDAR
tier_app_dirs += calendar/lightning
endif

endif # COMM_BUILD

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

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

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

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

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