Makefile revision 2058
2058N/A#
2058N/A# CDDL HEADER START
2058N/A#
2058N/A# The contents of this file are subject to the terms of the
2058N/A# Common Development and Distribution License (the "License").
2058N/A# You may not use this file except in compliance with the License.
2058N/A#
2058N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2058N/A# or http://www.opensolaris.org/os/licensing.
2058N/A# See the License for the specific language governing permissions
2058N/A# and limitations under the License.
2058N/A#
2058N/A# When distributing Covered Code, include this CDDL HEADER in each
2058N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2058N/A# If applicable, add the following below this CDDL HEADER, with the
2058N/A# fields enclosed by brackets "[]" replaced with your own identifying
2058N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2058N/A#
2058N/A# CDDL HEADER END
2058N/A#
2058N/A# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
2058N/A#
2058N/Ainclude ../../../make-rules/shared-macros.mk
2058N/A
2058N/ACOMPONENT_NAME= pbr
2058N/ACOMPONENT_VERSION= 0.5.21
2058N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2058N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2058N/ACOMPONENT_ARCHIVE_HASH= \
2058N/A sha256:bba90ab981fc2c086650dad4413e4626cc8b199f1c848959469f26224d3ab381
2058N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2058N/ACOMPONENT_PROJECT_URL= http://pypi.python.org/pypi/pbr/
2058N/ACOMPONENT_BUGDB= python-mod/pbr
2058N/A
2058N/Ainclude $(WS_TOP)/make-rules/prep.mk
2058N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
2058N/Ainclude $(WS_TOP)/make-rules/ips.mk
2058N/A
2058N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2058N/A
2058N/ACOMPONENT_TEST_DIR = $(SOURCE_DIR)
2058N/ACOMPONENT_TEST_ARGS = setup.py test
2058N/A
2058N/A# required until d2to1 is added to the CBE
2058N/AD2TO1 = $(WS_COMPONENTS)/python/d2to1/build/prototype/$(MACH)/$(PYTHON_LIB)
2058N/A
2058N/A$(D2TO1):
2058N/A (cd ../d2to1 ; gmake install)
2058N/A
2058N/APYTHON_ENV += PYTHONPATH=$(D2TO1)
2058N/A$(BUILD_32): $(D2TO1)
2058N/A
2058N/A# common targets
2058N/Abuild: $(BUILD_NO_ARCH)
2058N/A
2058N/Ainstall: $(INSTALL_NO_ARCH)
2058N/A
2058N/A# Tests require tox and testr which haven't been integrated yet.
2058N/Atest: $(NO_TESTS)
2058N/A
2058N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2058N/A
2058N/Ainclude $(WS_TOP)/make-rules/depend.mk