other-licenses/branding/thunderbird/Makefile.in
author Mark Banner <bugzilla@standard8.plus.com>
Sat, 23 Aug 2008 19:29:11 +0100
changeset 170 2854814076ae30ef0f997943f8e3a3e0c942cec8
parent 9 cfc7ac2a44002a2478edafb9cd619212d07d2b03
child 249 78b3d6c649f71eff41fe3f486c6cc4f4b899fd35
permissions -rw-r--r--
Part of Bug 443351 Move all of Thunderbird's unofficial/nightly branding items into mail/branding/nightly - icons, images and more. r=mkmelin

# 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

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)/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
endif
ifneq (,$(filter mac 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)/license.r         $(DIST)/branding/license.r
	cp $(srcdir)/thunderbird.icns  $(DIST)/branding/thunderbird.icns
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
	cp $(srcdir)/mozicon16.xpm $(DIST)/branding/mozicon16.xpm
	cp $(srcdir)/mozicon50.xpm $(DIST)/branding/mozicon50.xpm
	cp $(srcdir)/default.xpm   $(DIST)/branding/default.xpm	
endif
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/thunderbird-os2.ico  $(DIST)/branding/thunderbird.ico
	cp $(srcdir)/thunderbird-os2.ico  $(DIST)/branding/app.ico
endif
# Now sort out the branding specific icons
	$(NSINSTALL) -D $(DIST)/mail/app/icons
ifeq ($(OS_ARCH),WINNT)
	$(NSINSTALL) -D $(DIST)/mail/app/icons/windows
	cp $(srcdir)/thunderbird.ico  $(DEPTH)/mail/app/icons/windows/messengerWindow.ico
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
	$(NSINSTALL) -D $(DIST)/mail/app/icons/gtk
	cp $(srcdir)/mozicon50.xpm  $(DEPTH)/mail/app/icons/gtk/messengerWindow.xpm
	cp $(srcdir)/mozicon16.xpm  $(DEPTH)/mail/app/icons/gtk/messengerWindow16.xpm
endif
ifeq ($(OS_ARCH),OS2)
	$(NSINSTALL) -D $(DIST)/mail/app/icons/os2
	cp $(srcdir)/thunderbird-os2.ico  $(DEPTH)/mail/app/icons/os2/messengerWindow.ico
endif