Makefile revision 6326
6033N/A#
6033N/A# CDDL HEADER START
6033N/A#
6033N/A# The contents of this file are subject to the terms of the
6033N/A# Common Development and Distribution License (the "License").
6033N/A# You may not use this file except in compliance with the License.
6033N/A#
6033N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6033N/A# or http://www.opensolaris.org/os/licensing.
6033N/A# See the License for the specific language governing permissions
6033N/A# and limitations under the License.
6033N/A#
6033N/A# When distributing Covered Code, include this CDDL HEADER in each
6033N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6033N/A# If applicable, add the following below this CDDL HEADER, with the
6033N/A# fields enclosed by brackets "[]" replaced with your own identifying
6033N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6033N/A#
6033N/A# CDDL HEADER END
6033N/A#
6033N/A
6033N/A#
6033N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6033N/A#
6033N/A
6033N/ABUILD_BITS = 64_and_32
6033N/A# All components using gobject-introspection must be built with gcc as
6033N/A# gobject-introspection does not produce correct results when using Studio.
6033N/ACOMPILER = gcc
6033N/Ainclude ../../../make-rules/shared-macros.mk
6033N/A
6033N/ACOMPONENT_NAME= gtksourceview
6033N/ACOMPONENT_VERSION= 3.18.1
6033N/ACOMPONENT_PROJECT_URL= https://developer.gnome.org/gtkmm/stable/
6033N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:7be95faf068b9f0ac7540cc1e8d607baa98a482850ef11a6471b53c9327aede6
6033N/ACOMPONENT_BUGDB= gnome/libraries
6033N/A
6033N/ATPNO= 25826
6033N/A
6033N/A# Needs gobject-introspection, not available on S11.
6033N/Aifeq ($(BUILD_TYPE), evaluation)
6033N/ABUILD_32_and_64=
6033N/AINSTALL_32_and_64=
6033N/APUBLISH_STAMP=
6033N/Aendif
6033N/A
6033N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6033N/A
6033N/A# Required for other components.
6033N/ACONFIGURE_OPTIONS += --enable-introspection
6033N/A# Required for other components.
6033N/ACONFIGURE_OPTIONS += --enable-vala
# Uses gcc extensions for zero-sized struct/union.
CFLAGS.studio += $(studio_FEATURES_EXTENSIONS)
# Assumes GNU xgettext in PATH.
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
# for the tests
unexport SHELLOPTS
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
COMPONENT_TEST_ARGS = -k -i
COMPONENT_TEST_TRANSFORMS += \
'-n ' \
'-e "/TOTAL:/p" ' \
'-e "/SKIP:/p" ' \
'-e "/PASS:/p" ' \
'-e "/FAIL:/p" ' \
'-e "/ERROR:/p" '
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
REQUIRED_PACKAGES += developer/vala
REQUIRED_PACKAGES += library/desktop/atk
REQUIRED_PACKAGES += library/desktop/cairo
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
REQUIRED_PACKAGES += library/desktop/gtk3
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/math