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