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