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