2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2009-07-23 17:35:49 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2013-02-12 12:51:23 -08:00
|
|
|
include $(topsrcdir)/config/config.mk
|
2012-09-10 13:34:17 -07:00
|
|
|
|
|
|
|
DIRS = \
|
|
|
|
content \
|
|
|
|
locales \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js
|
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
# On Windows only do this step for browser, skip for metro.
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows browser)
|
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
firefox.ico \
|
|
|
|
document.ico \
|
|
|
|
branding.nsi \
|
2012-09-28 15:46:22 -07:00
|
|
|
appname.bmp \
|
|
|
|
bgintro.bmp \
|
|
|
|
bgplain.bmp \
|
|
|
|
clock.bmp \
|
|
|
|
particles.bmp \
|
|
|
|
pencil.bmp \
|
|
|
|
pencil-rtl.bmp \
|
2012-09-10 13:34:17 -07:00
|
|
|
wizHeader.bmp \
|
|
|
|
wizHeaderRTL.bmp \
|
|
|
|
wizWatermark.bmp \
|
|
|
|
newwindow.ico \
|
|
|
|
newtab.ico \
|
|
|
|
pbmode.ico \
|
|
|
|
$(NULL)
|
2013-02-12 12:51:23 -08:00
|
|
|
endif
|
2012-09-10 13:34:17 -07:00
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
background.png \
|
|
|
|
firefox.icns \
|
|
|
|
disk.icns \
|
|
|
|
document.icns \
|
|
|
|
dsstore \
|
|
|
|
$(NULL)
|
2013-02-12 12:51:23 -08:00
|
|
|
endif
|
2012-09-10 13:34:17 -07:00
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
default16.png \
|
|
|
|
default32.png \
|
|
|
|
default48.png \
|
|
|
|
mozicon128.png \
|
|
|
|
$(NULL)
|
2013-02-12 12:51:23 -08:00
|
|
|
endif
|
2012-09-10 13:34:17 -07:00
|
|
|
|
2013-02-12 12:51:23 -08:00
|
|
|
ifeq ($(OS_ARCH),OS2)
|
|
|
|
BRANDING_FILES := \
|
2012-09-10 13:34:17 -07:00
|
|
|
firefox-os2.ico \
|
|
|
|
document-os2.ico \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2013-02-12 12:51:23 -08:00
|
|
|
|
|
|
|
BRANDING_DEST := $(DIST)/branding
|
2013-02-22 13:45:00 -08:00
|
|
|
BRANDING_TARGET := export
|
2013-02-12 12:51:23 -08:00
|
|
|
INSTALL_TARGETS += BRANDING
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|