components/gnome/atk/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Wed, 08 Feb 2017 06:43:04 -0800
changeset 7655 b5ff34d7b33b
parent 6005 e19e3cf52cc4
child 7687 1093e2a9adbd
permissions -rw-r--r--
25504759 Update irsii to version 1.0.1 25504738 problem in UTILITY/IRSSI
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5894
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
# All components using gobject-introspection must be built with gcc as
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
# gobject-introspection does not produce correct results when using Studio.
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
COMPILER =      	gcc
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
BUILD_BITS =            32_and_64
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		atk
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	2.18.0
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Accessibility
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH=	\
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
    sha256:ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=	gnome/a11y-libs-core
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
TPNO=			24624
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
6005
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    41
# Requires newer version of library/glib2, not buildable on 11.3, so do not
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    42
# publish.
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    43
ifeq ($(BUILD_TYPE), evaluation)
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    44
BUILD_32_and_64=
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    45
INSTALL_32_and_64=
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    46
PUBLISH_STAMP=
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    47
endif
e19e3cf52cc4 23293990 do not publish atk when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5894
diff changeset
    48
5894
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
include $(WS_MAKE_RULES)/gnome-component.mk
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
# Workaround for build failures due to atk Makefiles not passing CFLAGS or
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
# LDFLAGS, especially the -m32/64 flag, to g-ir-scanner
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
COMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))"
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
COMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))"
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
# Upstream's "gmake test" target builds tests but does not run them,
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    57
# so run them manually for now.
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    58
COMPONENT_TEST_TARGETS += ; cd tests; ./testdocument; ./testrole ; \
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    59
	./testrelation ; ./teststateset ; ./testvalue
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    60
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    61
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    62
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    63
CONFIGURE_OPTIONS += --enable-introspection
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --disable-silent-rules
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    65
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += library/glib2
bfe6c718eff5 23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    69