Makefile revision 6891
6743N/A#
6743N/A# CDDL HEADER START
6743N/A#
6743N/A# The contents of this file are subject to the terms of the
6743N/A# Common Development and Distribution License (the "License").
6743N/A# You may not use this file except in compliance with the License.
6743N/A#
6743N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6743N/A# or http://www.opensolaris.org/os/licensing.
6743N/A# See the License for the specific language governing permissions
6743N/A# and limitations under the License.
6743N/A#
6743N/A# When distributing Covered Code, include this CDDL HEADER in each
6743N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6743N/A# If applicable, add the following below this CDDL HEADER, with the
6743N/A# fields enclosed by brackets "[]" replaced with your own identifying
6743N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6743N/A#
6743N/A# CDDL HEADER END
6743N/A#
6743N/A
6743N/A#
6743N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6743N/A#
6743N/A
6743N/ABUILD_BITS= 32_and_64
6743N/ACOMPILER= gcc
6743N/Ainclude ../../../make-rules/shared-macros.mk
6743N/A
6743N/ACOMPONENT_NAME= gtk-engines
6743N/ACOMPONENT_VERSION= 2.20.2
6743N/ACOMPONENT_PROJECT_URL= http://www.gtk.org/
6743N/ACOMPONENT_ARCHIVE= gtk-engines-2.20.2.tar.bz2
6743N/ACOMPONENT_ARCHIVE_OVERRIDE= true
6743N/ACOMPONENT_ARCHIVE_HASH= \
6743N/A sha256:15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5
6743N/ACOMPONENT_BUGDB= gnome/libraries
6743N/A
6743N/ATPNO= 8678
6743N/A
6743N/A# Requires updated version of gtk2, not available on S11.
6743N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
6743N/A
6743N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6743N/A
6743N/A# 32-bit gcc builds cause segfaults; see bug 21393975.
6743N/Agcc_OPT.i386.32 = -O2
6743N/A
6743N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
6743N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
6743N/A
6891N/ACOMPONENT_BUILD_ENV += LD_SHARED_OPTIONS="$(LD_OPTIONS_SO) -lm"
6891N/A
6743N/ACONFIGURE_OPTIONS += --disable-lua
6743N/ACONFIGURE_OPTIONS += --disable-static
6743N/ACONFIGURE_OPTIONS += --enable-all
6743N/ACONFIGURE_OPTIONS += --enable-animation
6891N/A# --disable-deprecated actually disables the -D *_DISABLE_DEPRECATED flags
6891N/A# that hide deprecated functions in the headers, thus enabling the engines
6891N/A# to build properly
6891N/ACONFIGURE_OPTIONS += --disable-deprecated
6743N/ACONFIGURE_OPTIONS += --enable-shared
6743N/ACONFIGURE_OPTIONS += --with-pic
6743N/A
6743N/Aunexport SHELLOPTS
6743N/ACOMPONENT_TEST_TRANSFORMS += '-e "s|$(PROTO_DIR)|\\$$(PROTO_DIR)|g"'
6743N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6743N/ACOMPONENT_TEST_ARGS = -k -i
6743N/ACOMPONENT_TEST_TRANSFORMS += \
6743N/A '-n ' \
6743N/A '-e "/TOTAL:/p" ' \
6743N/A '-e "/SKIP:/p" ' \
6743N/A '-e "/PASS:/p" ' \
6743N/A '-e "/FAIL:/p" ' \
6743N/A '-e "/ERROR:/p" '
6743N/A
6743N/AREQUIRED_PACKAGES += library/desktop/cairo
6743N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6743N/AREQUIRED_PACKAGES += library/desktop/gtk2
6743N/AREQUIRED_PACKAGES += library/glib2
6891N/AREQUIRED_PACKAGES += system/library/math