other-licenses/branding/firefox/Makefile.in
author Benjamin Smedberg <benjamin@smedbergs.us>
Thu, 20 Mar 2008 12:42:05 -0400
changeset 13381 895712d07d4c3e0642195ba453446181ddd7a65c
parent 11030 7729d077784c75c0f8c1146a9a6a6158702cd3e1
child 21373 e05886ad61dbca9f906d6e0e1f27abb96548d285
permissions -rw-r--r--
Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.

# 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 = \
	default16.png \
	default32.png \
	default48.png \
	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 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