Makefile revision 2892
148N/A#
148N/A# CDDL HEADER START
148N/A#
148N/A# The contents of this file are subject to the terms of the
148N/A# Common Development and Distribution License (the "License").
148N/A# You may not use this file except in compliance with the License.
148N/A#
148N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
148N/A# or http://www.opensolaris.org/os/licensing.
148N/A# See the License for the specific language governing permissions
148N/A# and limitations under the License.
148N/A#
148N/A# When distributing Covered Code, include this CDDL HEADER in each
148N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
148N/A# If applicable, add the following below this CDDL HEADER, with the
148N/A# fields enclosed by brackets "[]" replaced with your own identifying
148N/A# information: Portions Copyright [yyyy] [name of copyright owner]
148N/A#
148N/A# CDDL HEADER END
148N/A#
148N/A
148N/A#
3996N/A# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
148N/A#
148N/Ainclude ../../../make-rules/shared-macros.mk
148N/A
148N/ACOMPONENT_NAME= nova
148N/ACOMPONENT_CODENAME= havana
3510N/ACOMPONENT_VERSION= 2013.2.3
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
148N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
148N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:02902cb65b5adb0419c69cdb03ea2a0cfdfe8f7df342be44f3760d66cdecb61e
3510N/ACOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
148N/ACOMPONENT_PROJECT_URL= http://www.openstack.org/
1273N/ACOMPONENT_BUGDB= service/nova
148N/AIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
1002N/A
1316N/Ainclude $(WS_TOP)/make-rules/prep.mk
1002N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
1316N/Ainclude $(WS_TOP)/make-rules/ips.mk
1002N/A
1002N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
3510N/A
3510N/A# Since this is an app, and doesn't provide any public library interfaces, we
3996N/A# only need to deliver one version. The manifest is parameterized, though.
3996N/APYTHON_VERSIONS= 2.6
3996N/A
3996N/APKG_MACROS += PYVER=$(PYTHON_VERSIONS)
148N/A
148N/A# Replace the standard nova/virt/libvirt/__init__.py with an empty file.
148N/ACOMPONENT_POST_INSTALL_ACTION += \
148N/A ($(CP) /dev/null $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/libvirt/__init__.py; \
3985N/A $(MKDIR) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones; \
3985N/A $(CP) files/solariszones/__init__.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones; \
3985N/A $(CP) files/solariszones/driver.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones; \
148N/A $(CP) files/solariszones/sysconfig.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/nova/virt/solariszones); \
148N/A $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
148N/A
148N/A# common targets
3510N/Abuild: $(BUILD_NO_ARCH)
1316N/A
1316N/Ainstall: $(INSTALL_NO_ARCH)
148N/A
148N/Atest: $(NO_TESTS)
148N/A
690N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
148N/A
3781N/Ainclude $(WS_TOP)/make-rules/depend.mk
3781N/A