other-licenses/branding/thunderbird/Makefile.in
author David Bienvenu <bienvenu@nventure.com>
Tue, 23 Sep 2008 15:58:16 -0700
changeset 411 2f10b93d7a68d8c5b53414014367af5a1ed3cc78
parent 249 78b3d6c649f71eff41fe3f486c6cc4f4b899fd35
child 1899 65d4ea01e359e4d0fcf77cb08d04db107390ff5a
permissions -rw-r--r--
fix pop3 message quarantining on linux, r=mkmelin, sr=neil, 454622

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