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