Makefile revision 4506
4506N/A#
4506N/A# CDDL HEADER START
4506N/A#
4506N/A# The contents of this file are subject to the terms of the
4506N/A# Common Development and Distribution License (the "License").
4506N/A# You may not use this file except in compliance with the License.
4506N/A#
4506N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4506N/A# or http://www.opensolaris.org/os/licensing.
4506N/A# See the License for the specific language governing permissions
4506N/A# and limitations under the License.
4506N/A#
4506N/A# When distributing Covered Code, include this CDDL HEADER in each
4506N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4506N/A# If applicable, add the following below this CDDL HEADER, with the
4506N/A# fields enclosed by brackets "[]" replaced with your own identifying
4506N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4506N/A#
4506N/A# CDDL HEADER END
4506N/A#
4506N/A
4506N/A#
4506N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
4506N/A#
4506N/A
4506N/Ainclude ../../../make-rules/shared-macros.mk
4506N/A
4506N/ACOMPONENT_NAME= cryptography
4506N/ACOMPONENT_VERSION= 0.8.2
4506N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4506N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4506N/ACOMPONENT_ARCHIVE_HASH= \
4506N/A sha256:1c9a022ab3decaf152093e2ef2d5ee4258c72c7d429446c86bd68ff8c0929db6
4506N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
4506N/ACOMPONENT_PROJECT_URL= https://cryptography.io/
4506N/ACOMPONENT_BUGDB= python-mod/cryptography
4506N/A
4506N/ATPNO= 22524
4506N/A
4506N/Ainclude $(WS_MAKE_RULES)/prep.mk
4506N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
4506N/Ainclude $(WS_MAKE_RULES)/ips.mk
4506N/A
4506N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4506N/A
4506N/A#
4506N/A# Until enum is available in the build environment, it needs to be built
4506N/A# in order for setuptools to work here.
4506N/A#
4506N/AENUM= $(WS_COMPONENTS)/python/enum/build/prototype/$(MACH)/$(PYTHON_LIB)
4506N/A
4506N/A$(ENUM):
4506N/A (cd ../enum ; $(MAKE) install)
4506N/A
4506N/ACOMPONENT_BUILD_ENV += PYTHONPATH=$(ENUM)
4506N/A
4506N/ACOMPONENT_INSTALL_ENV += PYTHONPATH=$(ENUM)
4506N/A
4506N/A$(BUILD_32_and_64): $(ENUM)
4506N/A
4506N/Aclean::
4506N/A (cd ../enum ; $(MAKE) clean)
4506N/A
4506N/Aclobber::
4506N/A (cd ../enum ; $(MAKE) clobber)
4506N/A
4506N/A# common targets
4506N/Abuild: $(BUILD_32_and_64)
4506N/A
4506N/Ainstall: $(INSTALL_32_and_64)
4506N/A
4506N/A#
4506N/A# tests require cryptography_vectors, iso8601, pretend, pytest, and six,
4506N/A# some of which have not yet integrated.
4506N/A#
4506N/Atest: $(NO_TESTS)
4506N/A
4506N/A
4506N/AREQUIRED_PACKAGES += library/security/openssl
4506N/AREQUIRED_PACKAGES += system/library