calendar/base/Makefile.in
author Joshua Cranmer <Pidgeot18@gmail.com>
Sun, 19 Apr 2015 22:20:41 -0500
changeset 22480 2b00be2ded7f6b20d5b10523f73ff29bb02edd43
parent 22408 8e84e1b51ec88a0cea88f3a19a92cca0f95dbfe5
child 22703 f445e60214cc4a7c50fe224f01601e473aea5bb0
permissions -rw-r--r--
Bug 1126607, part 2: Integrate the imported code into moz.build, r=glandium.

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