Makefile revision 2818
152N/A#
152N/A# CDDL HEADER START
152N/A#
152N/A# The contents of this file are subject to the terms of the
152N/A# Common Development and Distribution License (the "License").
152N/A# You may not use this file except in compliance with the License.
152N/A#
152N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
152N/A# or http://www.opensolaris.org/os/licensing.
152N/A# See the License for the specific language governing permissions
152N/A# and limitations under the License.
152N/A#
152N/A# When distributing Covered Code, include this CDDL HEADER in each
152N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152N/A# If applicable, add the following below this CDDL HEADER, with the
152N/A# fields enclosed by brackets "[]" replaced with your own identifying
152N/A# information: Portions Copyright [yyyy] [name of copyright owner]
152N/A#
152N/A# CDDL HEADER END
152N/A#
4942N/A
4942N/A#
5636N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
152N/A#
4942N/A
152N/Ainclude ../../../make-rules/shared-macros.mk
152N/A
152N/ACOMPONENT_NAME= M2Crypto
4942N/ACOMPONENT_VERSION= 0.21.1
618N/ACOMPONENT_PROJECT_URL= http://chandlerproject.org/Projects/MeTooCrypto/
152N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4942N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
4942N/A sha256:25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a
4942N/ACOMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/M/M2Crypto/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= python-mod/m2crypto
1258N/A
4942N/A# Syntax issues: not Python 3 ready.
2899N/APYTHON_VERSIONS = 2.7 2.6
152N/A
152N/Ainclude $(WS_TOP)/make-rules/prep.mk
152N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
4946N/Ainclude $(WS_TOP)/make-rules/ips.mk
4946N/A
844N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4942N/A
4942N/A# Needed to get around a broken /usr/lib/python2.7/config/Makefile
4946N/A# See CR #16837431.
4946N/ALD=$(CC)
152N/ALDSHARED=$(CC) -G
3817N/APYTHON_ENV += CC="$(CC)"
3817N/APYTHON_ENV += LDSHARED="$(LDSHARED)"
3817N/APYTHON_ENV += LD="$(LD)"
152N/APYTHON_ENV += CFLAGS="$(CFLAGS)"
4942N/ACOMPONENT_INSTALL_ENV += $(PYTHON_ENV)
4942N/A
4942N/ACOMPONENT_TEST_ARGS = setup.py test
3913N/ACOMPONENT_TEST_DIR = $(COMPONENT_SRC)
3913N/ACOMPONENT_TEST_ENV= CC=$(CC)
2282N/ACOMPONENT_TEST_ENV += PATH=/usr/bin
2282N/ACOMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
2282N/A
152N/A# common targets
5157N/Abuild: $(BUILD_32_and_64)
5157N/A
4942N/Ainstall: $(INSTALL_32_and_64)
277N/A
3913N/Atest: $(TEST_32_and_64)
152N/A
4942N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
152N/A
3422N/Ainclude $(WS_TOP)/make-rules/depend.mk
3422N/A