7189N/A#
7189N/A# CDDL HEADER START
7189N/A#
7189N/A# The contents of this file are subject to the terms of the
7189N/A# Common Development and Distribution License (the "License").
7189N/A# You may not use this file except in compliance with the License.
7189N/A#
7189N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7189N/A# or http://www.opensolaris.org/os/licensing.
7189N/A# See the License for the specific language governing permissions
7189N/A# and limitations under the License.
7189N/A#
7189N/A# When distributing Covered Code, include this CDDL HEADER in each
7189N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7189N/A# If applicable, add the following below this CDDL HEADER, with the
7189N/A# fields enclosed by brackets "[]" replaced with your own identifying
7189N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7189N/A#
7189N/A# CDDL HEADER END
7189N/A#
7189N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7189N/A#
7189N/A
7189N/ABUILD_BITS= 64_and_32
7189N/A# For now, all things built for C++11 require gcc.
7189N/ACOMPILER= gcc
7189N/Ainclude ../../../make-rules/shared-macros.mk
7189N/A
7189N/ACOMPONENT_NAME= libical
7189N/ACOMPONENT_VERSION= 1.0.1
7189N/ACOMPONENT_PROJECT_URL= http://libical.github.io/libical/
7189N/ACOMPONENT_ARCHIVE_HASH= \
7189N/A sha256:089ce3c42d97fbd7a5d4b3c70adbdd82115dd306349c1f5c46a8fb3f8c949592
7189N/ACOMPONENT_ARCHIVE_URL= https://github.com/$(COMPONENT_NAME)/$(COMPONENT_NAME)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
7189N/ACOMPONENT_BUGDB= gnome/libraries
7189N/A
7189N/ATPNO= 24898
7189N/A
7189N/ATEST_TARGET = $(NO_TESTS)
7189N/A
7189N/A# Uses gobject-introspection, not available on S11.
7189N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7189N/A
7189N/ABUILD_STYLE= cmake
7189N/Ainclude $(WS_MAKE_RULES)/common.mk
7189N/A
7189N/A# Use project's own optimisation flags instead.
7189N/Agcc_OPT=
7189N/A
7189N/A# Requires __EXTENSIONS__ for access to various non-standard time functions.
7189N/ACFLAGS += -D__EXTENSIONS__
7189N/ACXXFLAGS += -std=c++11 -D__EXTENSIONS__
7189N/A
7189N/ACMAKE_OPTIONS += -DSHARED_ONLY=true
7189N/A# Required for other components.
7189N/ACMAKE_OPTIONS += -DGOBJECT_INTROSPECTION=true
7189N/A# Always use Solaris-provided timezone data.
7189N/ACMAKE_OPTIONS += -DUSE_BUILTIN_TZDATA=false
7189N/A
7189N/A# Workaround g-ir-scanner breakage.
7189N/ALD_Z_IGNORE=
7189N/A
7189N/A# Required for gobject-introspection invocation.
7189N/ACOMPONENT_BUILD_ENV += CC="$(CC)"
7189N/ACOMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
7189N/ACOMPONENT_BUILD_ENV += CXX="$(CXX)"
7189N/ACOMPONENT_BUILD_ENV += CXXFLAGS="$(CXXFLAGS)"
7189N/A
7189N/A# Tell g-ir-scanner not to cache results in homedir of user running the build
7189N/ACOMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE=""
7189N/A
7189N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection