mail/themes/Makefile.in
author Mark Banner <bugzilla@standard8.plus.com>
Fri, 17 Aug 2012 08:56:10 +0100
changeset 13273 6ce4c3cdaf3c3bace2bd82a9c46543a682fe262f
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 15059 c8c0954ad5947fb552ce84b6cafeac9c8e1f0465
permissions -rw-r--r--
Part of Bug 781446 - Port bug 774032 (bonus only), bug 763987, bug 742795 to comm-central. Port the bonus part of bug 774032 - Use @DEPTH@ and @relativesrcdir@ replacements in Makefile.in. r=KaiRo

# 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		= @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