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