Makefile revision 3778
257N/A#
257N/A# CDDL HEADER START
257N/A#
257N/A# The contents of this file are subject to the terms of the
257N/A# Common Development and Distribution License (the "License").
257N/A# You may not use this file except in compliance with the License.
257N/A#
257N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
257N/A# or http://www.opensolaris.org/os/licensing.
257N/A# See the License for the specific language governing permissions
257N/A# and limitations under the License.
257N/A#
257N/A# When distributing Covered Code, include this CDDL HEADER in each
257N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
257N/A# If applicable, add the following below this CDDL HEADER, with the
257N/A# fields enclosed by brackets "[]" replaced with your own identifying
257N/A# information: Portions Copyright [yyyy] [name of copyright owner]
257N/A#
257N/A# CDDL HEADER END
257N/A#
257N/A# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
257N/A#
3996N/Ainclude ../../../make-rules/shared-macros.mk
257N/A
257N/ACOMPONENT_NAME= SQLAlchemy
257N/ACOMPONENT_VERSION= 0.7.9
257N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
257N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
257N/ACOMPONENT_ARCHIVE_HASH= \
257N/A sha256:4a89556cb55275d1af694dc4d5700d8bf0f83690bac16ab30340092ff25bb4d7
257N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
844N/ACOMPONENT_PROJECT_URL= http://www.sqlalchemy.org/
844N/ACOMPONENT_BUGDB= python-mod/sqlalchemy
257N/A
257N/ATPNO= 14503
1273N/A
257N/A# This module appears to be Python 3 ready, but work is needed before we can
3661N/A# enable it. See the README.py3k in the distro for details.
3661N/APYTHON_VERSIONS = 2.7 2.6
3996N/A
3996N/Ainclude $(WS_TOP)/make-rules/prep.mk
3996N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
257N/Ainclude $(WS_TOP)/make-rules/ips.mk
257N/A
257N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
257N/A
257N/A# Needed to get around a broken /usr/lib/python2.7/config/Makefile
257N/A# See CR #16837431.
257N/ALD=$(CC)
257N/ALDSHARED=$(CC) -G
257N/APYTHON_ENV += CC="$(CC)"
257N/APYTHON_ENV += LDSHARED="$(LDSHARED)"
257N/APYTHON_ENV += LD="$(LD)"
257N/APYTHON_ENV += CFLAGS="$(CFLAGS)"
257N/ACOMPONENT_INSTALL_ENV += $(PYTHON_ENV)
257N/A
257N/ACOMPONENT_TEST_DIR= $(SOURCE_DIR)
257N/ACOMPONENT_TEST_ARGS= setup.py test
617N/ACOMPONENT_TEST_ENV= PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
617N/A
617N/A# common targets
617N/Abuild: $(BUILD_32_and_64)
617N/A
257N/Ainstall: $(INSTALL_32_and_64)
257N/A
257N/Atest: $(TEST_32_and_64)
257N/A
257N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
257N/A
257N/Ainclude $(WS_TOP)/make-rules/depend.mk
257N/A