Makefile revision 6852
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# CDDL HEADER START
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# The contents of this file are subject to the terms of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Common Development and Distribution License (the "License").
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# You may not use this file except in compliance with the License.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# See the License for the specific language governing permissions
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# and limitations under the License.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# If applicable, add the following below this CDDL HEADER, with the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# CDDL HEADER END
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync sha256:2c44b0f015f48348d768abff0e0fc90c6f8faf46743cae94736d77704f249368
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync https://tarballs.openstack.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Since this is an app, and doesn't provide any public library interfaces, we
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# only need to deliver one version. The manifest is parameterized, though.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncPKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Replace the standard nova/virt/libvirt/__init__.py with an empty file.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# All of the nova SMF manifests depend on nova-upgrade so copy it into
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# the proto directory for pkgdepend(1) to find.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync ($(CP) /dev/null $(PROTO_DIR)$(PYTHON_LIB)/nova/virt/libvirt/__init__.py; \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(MKDIR) $(PROTO_DIR)$(PYTHON_LIB)/nova/virt/solariszones; \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(PROTO_DIR)$(PYTHON_LIB)/nova/virt/solariszones); \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# common targets
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncREQUIRED_PACKAGES += cloud/openstack/openstack-common
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncREQUIRED_PACKAGES += library/python/oslo.messaging-27
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncREQUIRED_PACKAGES += library/python/oslo.serialization-27
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-27
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncREQUIRED_PACKAGES += system/storage/iscsi/iscsi-initiator