other-licenses/branding/thunderbird/Makefile.in
author Mark Banner <bugzilla@standard8.plus.com>
Mon, 24 Jun 2013 22:47:15 +0100
changeset 16008 dd35e67c6af467143b6cc84bf8c383ac1d48ece5
parent 15059 c8c0954ad5947fb552ce84b6cafeac9c8e1f0465
child 19563 39cea462d028c1b81b3a7402054f0464574cee5a
permissions -rw-r--r--
Version bumps for Calendar, SeaMonkey and Thunderbird a=auroramerge CLOSED TREE

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

DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

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

include $(topsrcdir)/config/rules.mk

export::
	$(NSINSTALL) -D $(DIST)/branding
# Export items into the branding directory first
ifeq ($(OS_ARCH),WINNT)
	cp $(srcdir)/thunderbird.ico   $(DIST)/branding/thunderbird.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
endif
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
	cp $(srcdir)/background.png    $(DIST)/branding/background.png
	cp $(srcdir)/dsstore           $(DIST)/branding/dsstore
	cp $(srcdir)/disk.icns         $(DIST)/branding/disk.icns
	cp $(srcdir)/thunderbird.icns  $(DIST)/branding/thunderbird.icns
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
	cp $(srcdir)/mailicon16.png  $(DIST)/branding/default16.png
	cp $(srcdir)/mailicon22.png  $(DIST)/branding/default22.png
	cp $(srcdir)/mailicon24.png  $(DIST)/branding/default24.png
	cp $(srcdir)/mailicon32.png  $(DIST)/branding/default32.png
	cp $(srcdir)/mailicon48.png  $(DIST)/branding/default48.png
	cp $(srcdir)/mailicon256.png $(DIST)/branding/default256.png
endif
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/thunderbird-os2.ico  $(DIST)/branding/thunderbird.ico
endif
# Now sort out the branding specific icons
ifeq ($(OS_ARCH),WINNT)
	cp $(srcdir)/thunderbird.ico  $(DIST)/branding/messengerWindow.ico
endif
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/thunderbird-os2.ico  $(DIST)/branding/messengerWindow.ico
endif