2058N/A#
2058N/A# CDDL HEADER START
2058N/A#
2058N/A# The contents of this file are subject to the terms of the
2058N/A# Common Development and Distribution License (the "License").
2058N/A# You may not use this file except in compliance with the License.
2058N/A#
2058N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2058N/A# or http://www.opensolaris.org/os/licensing.
2058N/A# See the License for the specific language governing permissions
2058N/A# and limitations under the License.
2058N/A#
2058N/A# When distributing Covered Code, include this CDDL HEADER in each
2058N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2058N/A# If applicable, add the following below this CDDL HEADER, with the
2058N/A# fields enclosed by brackets "[]" replaced with your own identifying
2058N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2058N/A#
2058N/A# CDDL HEADER END
2058N/A#
4070N/A
4070N/A#
6033N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
2058N/A#
3996N/A
3996N/ACOMPILER = gcc
3996N/A
2058N/Ainclude ../../../make-rules/shared-macros.mk
2058N/A
2058N/ACOMPONENT_NAME= greenlet
6033N/ACOMPONENT_VERSION= 0.4.9
2058N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2058N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
2058N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:58b2f3a2e7075c655616bf95e82868db4980f3bb6661db70ad02a51e4ddd2252
2058N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2058N/ACOMPONENT_PROJECT_URL= https://github.com/python-greenlet/greenlet
2058N/ACOMPONENT_BUGDB= python-mod/greenlet
2058N/A
6033N/ATPNO= 26538
3778N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
2058N/A
2058N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2058N/A
2605N/ACC = $(COMPONENT_DIR)/CC.sh
2058N/A
2058N/ACOMPONENT_PRE_BUILD_ACTION = \
2058N/A $(MKDIR) $(SOURCE_DIR)/64
2058N/A
3789N/ALDSHARED= $(CC) -shared
3789N/APYTHON_ENV += LDSHARED="$(LDSHARED)"
2058N/A
4070N/A# One of the tests, test_exception_switch (tests.test_cpp.CPPTests),
2058N/A# failed in 64-bit. Skip it for now.
2058N/ACOMPONENT_TEST_ENV += GREENLET_TEST_CPP=no
2058N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
2058N/ACOMPONENT_TEST_DIR= $(COMPONENT_SRC)
2058N/ACOMPONENT_TEST_ARGS= setup.py test
2058N/A
2058N/A# common targets
2058N/Abuild: $(BUILD_32_and_64)
2058N/A
2058N/Ainstall: $(INSTALL_32_and_64)
2058N/A
2058N/Atest: $(TEST_32_and_64)
2058N/A
2058N/A
3996N/AREQUIRED_PACKAGES += system/library