Makefile revision 2892
3263N/A#
3263N/A# CDDL HEADER START
3263N/A#
3263N/A# The contents of this file are subject to the terms of the
3263N/A# Common Development and Distribution License (the "License").
3263N/A# You may not use this file except in compliance with the License.
3263N/A#
3263N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3263N/A# or http://www.opensolaris.org/os/licensing.
3263N/A# See the License for the specific language governing permissions
3263N/A# and limitations under the License.
3263N/A#
3263N/A# When distributing Covered Code, include this CDDL HEADER in each
3263N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3263N/A# If applicable, add the following below this CDDL HEADER, with the
3263N/A# fields enclosed by brackets "[]" replaced with your own identifying
3263N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3263N/A#
3263N/A# CDDL HEADER END
3263N/A#
5680N/A
3263N/A#
5680N/A# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
5680N/A#
6227N/Ainclude ../../../make-rules/shared-macros.mk
5680N/A
3263N/ACOMPONENT_NAME= swift
3263N/ACOMPONENT_CODENAME= havana
3263N/ACOMPONENT_VERSION= 1.10.0
6227N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3263N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3263N/ACOMPONENT_ARCHIVE_HASH= \
3263N/A sha256:9a841225c3a00a93a15a160102d3f7116f2f1ba98ebffedfe641747844e14889
3263N/ACOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
6227N/ACOMPONENT_PROJECT_URL= http://www.openstack.org/
6227N/ACOMPONENT_BUG_DB= service/swift
3263N/A
6227N/Ainclude $(WS_TOP)/make-rules/prep.mk
3263N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
5680N/Ainclude $(WS_TOP)/make-rules/ips.mk
5680N/A
5680N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
3263N/A
3263N/A# Since this is an app, and doesn't provide any public library interfaces, we
3263N/A# only need to deliver one version. The manifest is parameterized, though.
3263N/APYTHON_VERSIONS= 2.6
3263N/A
3263N/APKG_MACROS += PYVER=$(PYTHON_VERSIONS)
3897N/A
3897N/ACOMPONENT_TEST_DIR = $(SOURCE_DIR)
3897N/ACOMPONENT_TEST_CMD = nosetests
3263N/ACOMPONENT_TEST_ARGS = --with-xunit --xunit-file=$(BUILD_DIR)/nosetests-$(MACH).xml
3263N/ACOMPONENT_TEST_ARGS += test/unit
3263N/A
3263N/A# common targets
3897N/Abuild: $(BUILD_NO_ARCH)
3897N/A
3897N/Ainstall: $(INSTALL_NO_ARCH)
3263N/A
3263N/Atest: $(TEST_NO_ARCH)
3263N/A
3263N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3263N/A
3263N/Ainclude $(WS_TOP)/make-rules/depend.mk
3263N/A