other-licenses/branding/sunbird/Makefile.in
author timeless@mozdev.org
Thu, 13 Aug 2009 16:49:33 +0200
changeset 3293 5ab96c3ff2e57e386d01ad0366bf6c048b6ee57c
parent 3276 24ca0f65ebe0e2d77e23bb7af46d84e27aa368f2
child 4582 f3b17956ae4c68c7bff6bac9c4591fc8d48819ff
permissions -rw-r--r--
Bug 509975 nsAbManager QueryInterface is missing nsIObserver r=standard8 sr=standard8

# 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 = \
	content \
	locales \
	$(NULL)

include $(topsrcdir)/config/rules.mk

CALENDAR_APP_FILES = \
	default.xpm \
	mozicon128.png \
	mozicon16.xpm \
	mozicon50.xpm \
	sunbird.ico \
	$(NULL)

export::
	$(NSINSTALL) -D $(DIST)/branding
	cp $(addprefix $(srcdir)/, $(CALENDAR_APP_FILES)) $(DIST)/branding/
ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
	$(NSINSTALL) -D $(DIST)/install
	cp $(srcdir)/header.png    $(DIST)/install/header.png
	cp $(srcdir)/watermark.png $(DIST)/install/watermark.png
endif
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
	cp $(srcdir)/sunbird.icns  $(DIST)/branding/sunbird.icns
	cp $(srcdir)/sb_ICS.icns  $(DIST)/branding/sb_ICS.icns
	cp $(srcdir)/document.icns $(DIST)/branding/document.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
ifeq ($(OS_ARCH),WINNT)
	cp $(srcdir)/sunbird.ico  $(DIST)/branding/app.ico
	cp $(srcdir)/Header.bmp   $(DIST)/branding/Header.bmp
	cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
	cp $(srcdir)/branding.nsi      $(DIST)/branding/branding.nsi
	cp $(srcdir)/license.txt  $(DIST)/branding/license.txt
	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 ($(OS_ARCH),OS2)
	cp $(srcdir)/sunbird-os2.ico  $(DIST)/branding/sunbird.ico
endif