Makefile revision 4506
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#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
99N/A#
127N/Ainclude ../../../make-rules/shared-macros.mk
99N/A
2086N/APATH=/usr/bin:/usr/sbin
99N/A
99N/ACOMPONENT_NAME= pyOpenSSL
2086N/ACOMPONENT_VERSION= 0.13
99N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
99N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
2086N/A sha256:21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b
2086N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2086N/ACOMPONENT_PROJECT_URL= https://launchpad.net/pyopenssl
1364N/ACOMPONENT_BUGDB= python-mod/pyopenssl
99N/A
3661N/ATPNO= 9207
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
99N/A
2086N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)/OpenSSL/test
2086N/A# The .so files are under ./OpenSSL/64 not ./64/OpenSSL so the
2086N/A# $(PYTHON_VENDOR_PACKAGES) variable for 64bit Python is wrong.
2086N/A# Everything works fine if we just add the 32bit path.
2086N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
2086N/ACOMPONENT_TEST_CMD = $(SHELL)
2086N/ACOMPONENT_TEST_ARGS = $(COMPONENT_DIR)/files/runtests
2086N/A
99N/A# common targets
99N/Abuild: $(BUILD_32_and_64)
99N/A
99N/Ainstall: $(INSTALL_32_and_64)
99N/A
2086N/Atest: $(TEST_32_and_64)
99N/A
99N/A
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += system/library