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