other-licenses/branding/thunderbird/Makefile.in
author Robert Kaiser <kairo@kairo.at>
Wed, 24 Jun 2009 18:26:08 +0200
branchCOMM_20090224_RELBRANCH
changeset 2929 c3c0bbdb05afe9c42ff7658dad34b92b8a81df7b
parent 1899 65d4ea01e359e4d0fcf77cb08d04db107390ff5a
child 2585 1abc1fccf61e0f3f084603f6edba117817570b28
permissions -rw-r--r--
bug 500211 - Add shipped-locales to SeaMonkey, r+a=Neil for adding to 2.0a3 tag post-mortem so we can use release automation on the following release

# 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)/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
ifeq ($(OS_ARCH),WINNT)
	cp $(srcdir)/thunderbird.ico  $(DIST)/branding/messengerWindow.ico
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
	cp $(srcdir)/mozicon50.xpm  $(DIST)/branding/messengerWindow.xpm
	cp $(srcdir)/mozicon16.xpm  $(DIST)/branding/messengerWindow16.xpm
endif
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/thunderbird-os2.ico  $(DIST)/branding/messengerWindow.ico
endif