mail/build.mk
author calbld
Wed, 01 May 2013 11:13:55 -0700
branchCAL210_20130501_RELBRANCH
changeset 15011 0a384401da0aad34af5c7cc83acc9f6fe97c0189
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 15059 c8c0954ad5947fb552ce84b6cafeac9c8e1f0465
permissions -rw-r--r--
Added tag CALENDAR_2_3b2_RELEASE for changeset 5d55157e5b81. CLOSED TREE a=release

# 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 # Mozilla Makefile

ifdef MOZ_APP_COMPONENT_LIBS
SUBDIR=/..
include $(topsrcdir)/../bridge/bridge.mk
# For libxul builds this gets linked into libxul. For non-libxul
# builds, the build of components is controlled in mail/Makefile.in
APP_LIBXUL_DIRS += $(DEPTH)/../mail/components
endif

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

include $(topsrcdir)/bridge/bridge.mk
ifdef MOZ_INCOMPLETE_EXTERNAL_LINKAGE
tier_app_staticdirs += $(APP_LIBXUL_STATICDIRS:./%=%)
tier_app_dirs += $(APP_LIBXUL_DIRS:./%=%)
else
# workaround Bug 599809 by making these makefiles be generated here
SUBMAKEFILES += $(addsuffix /Makefile, $(APP_LIBXUL_DIRS) $(APP_LIBXUL_STATICDIRS))
endif

ifdef MOZ_COMPOSER
tier_app_dirs += editor/ui
endif

tier_app_dirs += $(MOZ_BRANDING_DIRECTORY)

ifdef MOZ_CALENDAR
tier_app_dirs += calendar/lightning
endif

tier_app_dirs += \
	chat \
	mail \
	$(NULL)
#	purple instantbird

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

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

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

stage-package:
	@$(MAKE) -C mail/installer stage-package

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

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

upload::
	@$(MAKE) -C mail/installer upload
ifdef MOZ_CALENDAR
	@$(MAKE) -C calendar/lightning upload
endif

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

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

l10n-check::
	@$(MAKE) -C mail/locales l10n-check

ifdef ENABLE_TESTS
include $(srcdir)/mail/testsuite-targets.mk
endif

endif # COMM_BUILD