other-licenses/branding/firefox/Makefile.in
author ted.mielczarek@gmail.com
Wed, 04 Apr 2007 11:47:44 -0700
changeset 342 4218503d8f358e6a0b292c11b8e72a3d991c2ba5
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 944 ea840f4667c4ac3d00b7b215762da0dbea3a3790
permissions -rw-r--r--
bug 376046 - add support for specifying an ssh private key in the symbol upload script - bash-fu + a bonus fix that i missed in a previous patch. r=bsmedberg

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

PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js

include $(topsrcdir)/config/rules.mk

BROWSER_APP_FILES = \
	default.xpm \
	mozicon128.png \
	mozicon16.xpm \
	mozicon50.xpm \
	firefox.ico \
	document.ico \
	$(NULL)

export::
	$(NSINSTALL) -D $(DIST)/branding
	cp $(addprefix $(srcdir)/, $(BROWSER_APP_FILES)) $(DIST)/branding/
ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
	cp $(srcdir)/document.png  $(DIST)/branding/document.png
	$(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)/firefox.icns  $(DIST)/branding/firefox.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)/firefox.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
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/firefox-os2.ico  $(DIST)/branding/firefox.ico
	cp $(srcdir)/firefox-os2.ico  $(DIST)/branding/app.ico
	cp $(srcdir)/document-os2.ico  $(DIST)/branding/document.ico
	cp $(srcdir)/Header.bmp   $(DIST)/branding/Header.bmp
	cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
endif