5892N/A#
5892N/A# CDDL HEADER START
5892N/A#
5892N/A# The contents of this file are subject to the terms of the
5892N/A# Common Development and Distribution License (the "License").
5892N/A# You may not use this file except in compliance with the License.
5892N/A#
5892N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5892N/A# or http://www.opensolaris.org/os/licensing.
5892N/A# See the License for the specific language governing permissions
5892N/A# and limitations under the License.
5892N/A#
5892N/A# When distributing Covered Code, include this CDDL HEADER in each
5892N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5892N/A# If applicable, add the following below this CDDL HEADER, with the
5892N/A# fields enclosed by brackets "[]" replaced with your own identifying
5892N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5892N/A#
5892N/A# CDDL HEADER END
5892N/A#
5892N/A
5892N/A#
5892N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5892N/A#
5892N/A
5892N/A# All components using gobject-introspection must be built with gcc as
5892N/A# gobject-introspection does not produce correct results when using Studio.
5892N/ACOMPILER = gcc
5892N/ABUILD_BITS = 32_and_64
5892N/Ainclude ../../../make-rules/shared-macros.mk
5892N/A
5892N/ACOMPONENT_NAME= atk
5892N/ACOMPONENT_VERSION= 2.18.0
5892N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Accessibility
5892N/ACOMPONENT_ARCHIVE_HASH= \
5892N/A sha256:ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b
5892N/ACOMPONENT_BUGDB= gnome/a11y-libs-core
5892N/A
5892N/ATPNO= 24624
5892N/A
6003N/A# Requires newer version of library/glib2, not buildable on 11.3, so do not
6003N/A# publish.
6003N/Aifeq ($(BUILD_TYPE), evaluation)
6003N/ABUILD_32_and_64=
6003N/AINSTALL_32_and_64=
6003N/APUBLISH_STAMP=
6003N/Aendif
6003N/A
5892N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
5892N/A
5892N/A# Workaround for build failures due to atk Makefiles not passing CFLAGS or
5892N/A# LDFLAGS, especially the -m32/64 flag, to g-ir-scanner
5892N/ACOMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))"
5892N/ACOMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))"
5892N/A
5892N/A# Upstream's "gmake test" target builds tests but does not run them,
5892N/A# so run them manually for now.
5892N/ACOMPONENT_TEST_TARGETS += ; cd tests; ./testdocument; ./testrole ; \
5892N/A ./testrelation ; ./teststateset ; ./testvalue
5892N/A
5892N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
5892N/A
5892N/ACONFIGURE_OPTIONS += --enable-introspection
5892N/ACONFIGURE_OPTIONS += --disable-silent-rules
5892N/A
5892N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
5892N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
5892N/AREQUIRED_PACKAGES += library/glib2
5892N/A