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