summaryrefslogtreecommitdiff
path: root/calendar/timezones/Makefile.in
blob: eb7004c8037795e94bd35efa5d1a69f4bd6b6986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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/.

XPI_PKGNAME = calendar-timezones-$(TIMEZONES_VERSION)

THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/apps/mail/config/version.txt)
SEAMONKEY_VERSION := "2.49"
CALENDAR_VERSION := $(shell $(PYTHON) $(topsrcdir)/calendar/lightning/build/makeversion.py $(word 1,$(MOZ_PKG_VERSION) $(THUNDERBIRD_VERSION)))
TIMEZONES_VERSION := $(shell $(PYTHON) $(srcdir)/version.py)

relativesrcdir = calendar/locales

DEFINES += -DTHUNDERBIRD_VERSION=$(THUNDERBIRD_VERSION) \
           -DSEAMONKEY_VERSION=$(SEAMONKEY_VERSION) \
           -DCALENDAR_VERSION=$(CALENDAR_VERSION) \
           -DTIMEZONES_VERSION=$(TIMEZONES_VERSION) \
           $(NULL)

libs-%:
	$(MAKE) -C locales libs AB_CD=$* XPI_NAME=calendar-timezones USE_EXTENSION_MANIFEST=1