calendar/base/Makefile.in
author Magnus Melin <mkmelin+mozilla@iki.fi>
Sat, 13 Dec 2014 13:50:51 +0200
changeset 21490 2843a3e7968ba370c5e7b8723ccfff1fe7465fec
parent 20919 3fafdae610c9060bb5b2b2752e40f53d561f9785
child 22403 d2a5e29e29c4d5fbec72427a22c062a7dc5c00e8
permissions -rw-r--r--
Bug 1068510 - React to the removal of ARMSCII8 (remove traces of if from comm-central). r=jcranmer, a=mkmelin

# 
# 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/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

USE_EXTENSION_MANIFEST = 1

WINDOW_ICONS = calendar-alarm-dialog \
               calendar-event-dialog \
               calendar-event-summary-dialog \
               calendar-task-dialog \
               calendar-task-summary-dialog \
               $(NULL)

include $(topsrcdir)/config/rules.mk

# Window icons are not needed on mac
ifneq (,$(filter windows gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))

# Set up the icon suffix to differ between windows and linux
ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
ICON_SUFFIX = .ico
else
ICON_SUFFIX = .png
endif

# Copy the window icons into the correct directory
libs:: $(addprefix themes/windows/icons/, $(addsuffix $(ICON_SUFFIX), $(WINDOW_ICONS)))
	$(INSTALL) $^ $(FINAL_TARGET)/chrome/icons/default

endif