other-licenses/branding/thunderbird/Makefile.in
author Mark Banner <bugzilla@standard8.plus.com>
Wed, 20 Aug 2008 14:57:16 +0100
changeset 146 aa8cb94fe1bad30e82b0fe3ee97187d8e69302a7
parent 9 cfc7ac2a44002a2478edafb9cd619212d07d2b03
child 170 2854814076ae30ef0f997943f8e3a3e0c942cec8
permissions -rw-r--r--
Part of Bug 450884 - for TB only, disable the few xpcshell tests that are known to fail until we have fix them, thus allowing a full make check to run. r=bienvenu

# Branding Makefile
#  - jars chrome artwork
#  - copies artwork to appropriate places in objdir for bundling into app 
#    resources

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

include $(DEPTH)/config/autoconf.mk

DIRS = \
	locales \
	$(NULL)

PREF_JS_EXPORTS = $(srcdir)/thunderbird-branding.js

include $(topsrcdir)/config/rules.mk

MAIL_APP_FILES = \
	thunderbird.ico \
	default.xpm \
	mozicon16.xpm \
	mozicon50.xpm \
	$(NULL)

export::
	$(NSINSTALL) -D $(DIST)/branding
	cp $(addprefix $(srcdir)/, $(MAIL_APP_FILES)) $(DIST)/branding/
	if [ ! -d $(DEPTH)/mail/app/icons ] ; then \
		mkdir $(DEPTH)/mail/app/icons; \
	fi
	if [ ! -d $(DEPTH)/mail/app/icons/windows ] ; then \
		mkdir $(DEPTH)/mail/app/icons/windows; \
	fi
	cp $(srcdir)/thunderbird.ico  $(DEPTH)/mail/app/icons/windows/messengerWindow.ico
	if [ ! -d $(DEPTH)/mail/app/icons/gtk ] ; then \
		mkdir $(DEPTH)/mail/app/icons/gtk; \
	fi
	cp $(srcdir)/mozicon50.xpm  $(DEPTH)/mail/app/icons/gtk/messengerWindow.xpm
	cp $(srcdir)/mozicon16.xpm  $(DEPTH)/mail/app/icons/gtk/messengerWindow16.xpm
	if [ ! -d $(DEPTH)/mail/app/icons/os2 ] ; then \
		mkdir $(DEPTH)/mail/app/icons/os2; \
	fi
	cp $(srcdir)/thunderbird-os2.ico  $(DEPTH)/mail/app/icons/os2/messengerWindow.ico
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
	cp $(srcdir)/thunderbird.icns  $(DIST)/branding/thunderbird.icns
	cp $(srcdir)/dsstore $(DIST)/branding/dsstore
	cp $(srcdir)/background.png $(DIST)/branding/background.png
	cp $(srcdir)/disk.icns $(DIST)/branding/disk.icns
	cp $(srcdir)/license.r $(DIST)/branding/license.r
endif
	cp $(srcdir)/thunderbird.ico  $(DIST)/branding/app.ico
	cp $(srcdir)/branding.nsi     $(DIST)/branding/branding.nsi
	cp $(srcdir)/wizHeader.bmp    $(DIST)/branding/wizHeader.bmp
	cp $(srcdir)/wizHeaderRTL.bmp $(DIST)/branding/wizHeaderRTL.bmp
	cp $(srcdir)/wizWatermark.bmp $(DIST)/branding/wizWatermark.bmp
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/thunderbird-os2.ico  $(DIST)/branding/thunderbird.ico
	cp $(srcdir)/thunderbird-os2.ico  $(DIST)/branding/app.ico
endif