394N/A#
394N/A# CDDL HEADER START
394N/A#
394N/A# The contents of this file are subject to the terms of the
394N/A# Common Development and Distribution License (the "License").
394N/A# You may not use this file except in compliance with the License.
394N/A#
394N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
394N/A# or http://www.opensolaris.org/os/licensing.
394N/A# See the License for the specific language governing permissions
394N/A# and limitations under the License.
394N/A#
394N/A# When distributing Covered Code, include this CDDL HEADER in each
394N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
394N/A# If applicable, add the following below this CDDL HEADER, with the
394N/A# fields enclosed by brackets "[]" replaced with your own identifying
394N/A# information: Portions Copyright [yyyy] [name of copyright owner]
394N/A#
394N/A# CDDL HEADER END
394N/A#
2790N/A
394N/A#
6092N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2790N/A#
2790N/A
394N/Ainclude ../../../make-rules/shared-macros.mk
394N/A
394N/ACOMPONENT_NAME= M2Crypto
6092N/ACOMPONENT_VERSION= 0.24.0
618N/ACOMPONENT_PROJECT_URL= http://chandlerproject.org/Projects/MeTooCrypto/
394N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
394N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
6092N/A sha256:80a56441a1d2c0cf27e725be7554c92598b938fc8767ee2c71fdbc2fdc055ee8
394N/ACOMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/M/M2Crypto/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= python-mod/m2crypto
394N/A
6092N/ATPNO= 28340
2899N/A
2818N/A# Syntax issues: not Python 3 ready.
4982N/APYTHON_VERSIONS= $(PYTHON2_VERSIONS)
2818N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
6639N/A
6639N/A# Breaks IPS on S11.
6639N/Aifeq ($(BUILD_TYPE), evaluation)
6639N/ABUILD_32_and_64=
6639N/AINSTALL_32_and_64=
6639N/APUBLISH_STAMP=
6639N/Aendif
6639N/A
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
394N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
2790N/ACOMPONENT_TEST_ARGS = setup.py test
2790N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)
2790N/ACOMPONENT_TEST_ENV= CC=$(CC)
2790N/ACOMPONENT_TEST_ENV += PATH=/usr/bin
6402N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
2790N/A
394N/A# common targets
394N/Abuild: $(BUILD_32_and_64)
394N/A
394N/Ainstall: $(INSTALL_32_and_64)
394N/A
2790N/Atest: $(TEST_32_and_64)
394N/A
4337N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4337N/A
394N/A
3817N/AREQUIRED_PACKAGES += developer/swig
3817N/AREQUIRED_PACKAGES += library/security/openssl
3817N/AREQUIRED_PACKAGES += system/library