author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Mon, 25 Apr 2016 23:38:12 -0700 | |
changeset 5894 | bfe6c718eff5 |
child 6005 | e19e3cf52cc4 |
permissions | -rw-r--r-- |
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 |
|
bfe6c718eff5
23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
41 |
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
|
42 |
|
bfe6c718eff5
23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
43 |
# 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
|
44 |
# 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
|
45 |
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
|
46 |
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
|
47 |
|
bfe6c718eff5
23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
48 |
# 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
|
49 |
# 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
|
50 |
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
|
51 |
./testrelation ; ./teststateset ; ./testvalue |
bfe6c718eff5
23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
52 |
|
bfe6c718eff5
23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
53 |
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
|
54 |
|
bfe6c718eff5
23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
55 |
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
|
56 |
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
|
57 |
|
bfe6c718eff5
23169638 Move atk to Userland and update to 2.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
58 |
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
|
59 |
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
|
60 |
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
|
61 |