author Siddharth Agarwal <>
Mon, 27 Feb 2012 18:52:44 +0530
changeset 10952 f2fb318dd98befa2009d3b3f181ecaa907b052cc
parent 9035 f949fa44766392f56e3e690d298ca1f3ead3fb4a
child 12286 84ac3c71109811da751f0ef2d72108075938f094
permissions -rw-r--r--
Bug 721447 - Remove support for pre-Windows 7 SDKs (comm-central version). r=Standard8

# Version: MPL 1.1/GPL 2.0/LGPL 2.1
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
# The Original Code is the Oracle Corporation code.
# The Initial Developer of the Original Code is Oracle Corporation.
# Portions created by the Initial Developer are Copyright (C) 2004
# the Initial Developer. All Rights Reserved.
# Contributor(s):
#   Vladimir Vukicevic <>
#   Philipp Kewisch <>
#   Markus Adrario <>
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
# ***** END LICENSE BLOCK *****

DEPTH		= ../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/

MODULE = calbase
MODULE_NAME = calBaseModule

DIRS = public src modules build

# Select a theme from which to pull our skin goodness
# Linux: gnomestripe
# OS X: pinstripe
# Windows: winstripe

ifneq (,$(filter gtk2 qt,$(MOZ_WIDGET_TOOLKIT)))
THEME = gnomestripe
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
THEME = pinstripe
THEME = winstripe

WINDOW_ICONS = calendar-alarm-dialog \
               calendar-event-dialog \
               calendar-event-summary-dialog \
               calendar-task-dialog \
               calendar-task-summary-dialog \


include $(topsrcdir)/config/

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

# Set up the icon suffix to differ between windows and linux
ifneq (,$(filter windows os2,$(MOZ_WIDGET_TOOLKIT)))

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