mail/themes/Makefile.in
author Gervase Markham <gerv@gerv.net>
Wed, 30 May 2012 17:48:24 +0100
changeset 12286 84ac3c71109811da751f0ef2d72108075938f094
parent 1750 1824ae4b67d7a0b5067f5275058d4d0248e24d6e
child 13273 6ce4c3cdaf3c3bace2bd82a9c46543a682fe262f
permissions -rw-r--r--
Bug 757018 - upgrade license to MPL 2.

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

DEPTH		= ../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(topsrcdir)/config/config.mk

#
# Theme Selection
#
# Linux                   Gnomesripe
# Windows                 Qute
# MacOS X                 Pinstripe
#

ifneq (,$(filter gtk2 qt,$(MOZ_WIDGET_TOOLKIT)))
DIRS += gnomestripe
else
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
DIRS += pinstripe
else
DIRS += qute
endif
endif

include $(topsrcdir)/config/rules.mk

CLASSIC_EXTENSION_DIR = {972ce4c6-7e08-4474-a285-3208198ce6fd}

DEFINES += -DTHUNDERBIRD_VERSION=$(THUNDERBIRD_VERSION)

libs::
	$(NSINSTALL) -D $(DIST)/bin/extensions/$(CLASSIC_EXTENSION_DIR)
	$(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(srcdir)/install.rdf > $(DIST)/bin/extensions/$(CLASSIC_EXTENSION_DIR)/install.rdf

install::
	$(NSINSTALL) -D $(DESTDIR)$(mozappdir)/extensions/$(CLASSIC_EXTENSION_DIR)
	$(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(srcdir)/install.rdf > $(DESTDIR)$(mozappdir)/extensions/$(CLASSIC_EXTENSION_DIR)/install.rdf