6575N/A#
6575N/A# CDDL HEADER START
6575N/A#
6575N/A# The contents of this file are subject to the terms of the
6575N/A# Common Development and Distribution License (the "License").
6575N/A# You may not use this file except in compliance with the License.
6575N/A#
6575N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6575N/A# or http://www.opensolaris.org/os/licensing.
6575N/A# See the License for the specific language governing permissions
6575N/A# and limitations under the License.
6575N/A#
6575N/A# When distributing Covered Code, include this CDDL HEADER in each
6575N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6575N/A# If applicable, add the following below this CDDL HEADER, with the
6575N/A# fields enclosed by brackets "[]" replaced with your own identifying
6575N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6575N/A#
6575N/A# CDDL HEADER END
6575N/A#
6575N/A
6575N/A#
6575N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6575N/A#
6575N/A
6575N/ABUILD_BITS = 32_and_64
6575N/A# For now, all things built for C++11 require gcc.
6575N/ACOMPILER = gcc
6575N/Ainclude ../../../make-rules/shared-macros.mk
6575N/A
6575N/ACOMPONENT_NAME= cairomm
6575N/ACOMPONENT_VERSION= 1.11.2
6575N/ACOMPONENT_PROJECT_URL= http://cairographics.org
6575N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6575N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6575N/ACOMPONENT_ARCHIVE_HASH= \
6575N/A sha256:ccf677098c1e08e189add0bd146f78498109f202575491a82f1815b6bc28008d
6575N/ACOMPONENT_ARCHIVE_URL= http://cairographics.org/releases/$(COMPONENT_ARCHIVE)
6575N/ACOMPONENT_BUGDB= gnome/libraries
6575N/A
6575N/ATPNO= 24146
6575N/A
6575N/ATEST_TARGET = $(NO_TESTS)
6575N/A
6575N/A# Needs updated cairo, not available on S11.
6575N/Aifeq ($(BUILD_TYPE), evaluation)
6575N/ABUILD_32_and_64=
6575N/AINSTALL_32_and_64=
6575N/APUBLISH_STAMP=
6575N/Aendif
6575N/A
6575N/Ainclude $(WS_MAKE_RULES)/common.mk
6575N/A
6575N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6575N/A
6575N/ACXXFLAGS += -std=c++11
6575N/A
6575N/AREQUIRED_PACKAGES += library/c++/sigcpp
6575N/AREQUIRED_PACKAGES += library/desktop/cairo
6575N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6575N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime