Makefile revision 6953
0N/A#
157N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
157N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
157N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
157N/A
157N/A#
157N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A
0N/ABUILD_BITS = 32_and_64
0N/Ainclude ../../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= pyatspi
0N/ACOMPONENT_VERSION= 2.18.0
0N/ACOMPONENT_PROJECT_URL= http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:f86f03ad05d0502cd60fe8b98f746f74ce3bc208e9f3798f6a2130b3c5f4ab46
0N/ACOMPONENT_BUGDB= gnome/a11y-libs-core
0N/A
0N/ATPNO= 30736
0N/A
0N/A# replicated from $(WS_MAKE_RULES)/setup.py.mk since this uses configure.mk
0N/ACONFIGURE_64 += $(PYTHON3_VERSIONS:%=$(BUILD_DIR)/$(MACH64)-%/.configured)
0N/A$(BUILD_DIR)/%-3.4/.configured: PYTHON_VERSION=3.4
0N/A$(BUILD_DIR)/%-3.5/.configured: PYTHON_VERSION=3.5
0N/A$(BUILD_DIR)/$(MACH64)-%/.configured: BITS=64
0N/A
0N/ABUILD_64 += $(PYTHON3_VERSIONS:%=$(BUILD_DIR)/$(MACH64)-%/.built)
0N/A$(BUILD_DIR)/%-3.4/.built: PYTHON_VERSION=3.4
0N/A$(BUILD_DIR)/%-3.5/.built: PYTHON_VERSION=3.5
0N/A$(BUILD_DIR)/$(MACH64)-%/.built: BITS=64
0N/A
0N/AINSTALL_64 += $(PYTHON3_VERSIONS:%=$(BUILD_DIR)/$(MACH64)-%/.installed)
0N/A$(BUILD_DIR)/%-3.4/.installed: PYTHON_VERSION=3.4
0N/A$(BUILD_DIR)/%-3.5/.installed: PYTHON_VERSION=3.5
0N/A$(BUILD_DIR)/$(MACH64)-%/.installed: BITS=64
0N/A
0N/A# Tests require dbus python module, which we don't have for python3 yet
0N/ATEST_TARGET= $(SKIP_TEST)
0N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
0N/A
0N/ACONFIGURE_OPTIONS += --disable-static
0N/A# Tests require dbus python module, which we don't have for python3 yet
0N/ACONFIGURE_OPTIONS += --disable-tests
0N/ACONFIGURE_OPTIONS += --with-python=$(PYTHON)
0N/A
0N/A# Ensure Python modules are installed into vendor package directories.
0N/ACONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
0N/ACONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
0N/A
0N/A# Make install path match what autopyc transforms look for
0N/ACOMPONENT_POST_INSTALL_ACTION += \
0N/A case "$(PYTHON_VERSION)" in \
0N/A 3.*) $(SYMLINK) 64/pyatspi $(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)/pyatspi ;; \
0N/A esac ;
0N/A
0N/AREQUIRED_PACKAGES += library/python/pygobject-3
0N/AREQUIRED_PACKAGES += runtime/python-27
0N/AREQUIRED_PACKAGES += runtime/python-34
0N/AREQUIRED_PACKAGES += runtime/python-35
0N/A
0N/A# These are needed to build & run tests, but not for distributed packages
0N/A# REQUIRED_PACKAGES += library/desktop/atk
0N/A# REQUIRED_PACKAGES += library/desktop/gtk2
0N/A# REQUIRED_PACKAGES += library/glib2
0N/A# REQUIRED_PACKAGES += library/libxml2
0N/A# REQUIRED_PACKAGES += library/python/python-dbus
0N/A# REQUIRED_PACKAGES += system/library/libdbus
0N/A# REQUIRED_PACKAGES += system/library/libdbus-glib
0N/A