Makefile revision 2818
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER START
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# The contents of this file are subject to the terms of the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Common Development and Distribution License (the "License").
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You may not use this file except in compliance with the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
45e9809aff7304721fddb95654901b32195c9c7avboxsync# or http://www.opensolaris.org/os/licensing.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# See the License for the specific language governing permissions
45e9809aff7304721fddb95654901b32195c9c7avboxsync# and limitations under the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# When distributing Covered Code, include this CDDL HEADER in each
45e9809aff7304721fddb95654901b32195c9c7avboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# If applicable, add the following below this CDDL HEADER, with the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# fields enclosed by brackets "[]" replaced with your own identifying
45e9809aff7304721fddb95654901b32195c9c7avboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER END
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude ../../../make-rules/shared-macros.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_NAME= SQLAlchemy
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_VERSION= 0.7.9
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_HASH= \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sha256:4a89556cb55275d1af694dc4d5700d8bf0f83690bac16ab30340092ff25bb4d7
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_ARCHIVE_URL= $(call pypi_url)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_PROJECT_URL= http://www.sqlalchemy.org/
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCOMPONENT_BUGDB= python-mod/sqlalchemy
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync# This module appears to be Python 3 ready, but work is needed before we can
45e9809aff7304721fddb95654901b32195c9c7avboxsync# enable it. See the README.py3k in the distro for details.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPYTHON_VERSIONS = 2.7 2.6
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(WS_TOP)/make-rules/prep.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(WS_TOP)/make-rules/setup.py.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(WS_TOP)/make-rules/ips.mk
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncASLR_MODE = $(ASLR_NOT_APPLICABLE)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Needed to get around a broken /usr/lib/python2.7/config/Makefile
45e9809aff7304721fddb95654901b32195c9c7avboxsync# See CR #16837431.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncLD=$(CC)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncLDSHARED=$(CC) -G
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPYTHON_ENV += CC="$(CC)"
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPYTHON_ENV += LDSHARED="$(LDSHARED)"
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPYTHON_ENV += LD="$(LD)"
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPYTHON_ENV += CFLAGS="$(CFLAGS)"
COMPONENT_INSTALL_ENV += $(PYTHON_ENV)
COMPONENT_TEST_DIR= $(SOURCE_DIR)
COMPONENT_TEST_ARGS= setup.py test
COMPONENT_TEST_ENV= PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
# 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