Skip to content
Snippets Groups Projects
Makefile.in 1.23 KiB
Newer Older
Ruben Rodriguez's avatar
Ruben Rodriguez committed
# 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/.
Ruben Rodriguez's avatar
Ruben Rodriguez committed
include $(topsrcdir)/config/config.mk
Ruben Rodriguez's avatar
Ruben Rodriguez committed
# On Windows only do this step for browser, skip for metro.
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows browser)
BRANDING_FILES := \
	abrowser.ico \
	document.ico \
	branding.nsi \
Ruben Rodriguez's avatar
Ruben Rodriguez committed
	appname.bmp \
	bgintro.bmp \
	clock.bmp \
	particles.bmp \
	pencil.bmp \
	pencil-rtl.bmp \
	wizHeader.bmp \
	wizHeaderRTL.bmp \
	wizWatermark.bmp \
Ruben Rodriguez's avatar
Ruben Rodriguez committed
	newwindow.ico \
	newtab.ico \
	pbmode.ico \
Ruben Rodriguez's avatar
Ruben Rodriguez committed
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
BRANDING_FILES := \
	background.png \
	abrowser.icns \
	disk.icns \
	document.icns \
	dsstore \
	$(NULL)
Ruben Rodriguez's avatar
Ruben Rodriguez committed
endif
ifdef MOZ_WIDGET_GTK
Ruben Rodriguez's avatar
Ruben Rodriguez committed
BRANDING_FILES := \
	default16.png \
	default32.png \
	default48.png \
	mozicon128.png \
	$(NULL)
endif
Ruben Rodriguez's avatar
Ruben Rodriguez committed

BRANDING_DEST := $(DIST)/branding
BRANDING_TARGET := export
INSTALL_TARGETS += BRANDING

ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows metro)
VISUALMANIFEST := VisualElementsManifest.xml
VISUALMANIFEST_FLAGS := -Fsubstitution -DMOZ_APP_DISPLAYNAME=${MOZ_APP_DISPLAYNAME}
VISUALMANIFEST_PATH := $(DIST)/bin
PP_TARGETS += VISUALMANIFEST