Makefile revision 6847
7d32c065c7bb56f281651ae3dd2888f32ce4f1d9Bob Halley# CDDL HEADER START
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# The contents of this file are subject to the terms of the
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# Common Development and Distribution License (the "License").
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# You may not use this file except in compliance with the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15a44745412679c30a6d022733925af70a38b715David Lawrence# See the License for the specific language governing permissions
15a44745412679c30a6d022733925af70a38b715David Lawrence# and limitations under the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence# When distributing Covered Code, include this CDDL HEADER in each
15a44745412679c30a6d022733925af70a38b715David Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a44745412679c30a6d022733925af70a38b715David Lawrence# If applicable, add the following below this CDDL HEADER, with the
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
593cb00bd17e5e2ab0dcb7c635a9a81082dc5d0eAndreas Gustafsson# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3e14b69d196a3ebeecc4662c426344dcfd7db678Andreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson sha256:bd05f3c0b7b2ae098284c062d20230aecdaa47ed623cb79907c39dd1e28f8a2e
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonCOMPONENT_ARCHIVE_URL= https://tarballs.openstack.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonCOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceCOMPONENT_PROJECT_URL= http://www.openstack.org/
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# Since this is an app, and doesn't provide any public library interfaces, we
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# only need to deliver one version. The manifest is parameterized, though.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonPKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# cinder-api, cinder-backup, cinder-scheduler, and cinder-volume depend
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# on cinder-db and cinder-upgrade, so copy all of the service manifests
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# into the proto directory for pkgdepend(1) to find.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson $(MKDIR) $(PROTO_DIR)$(PYTHON_LIB)/cinder/volume/drivers/solaris; \
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson $(PROTO_DIR)$(PYTHON_LIB)/cinder/volume/drivers/solaris/__init__.py; \
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence $(PROTO_DIR)$(PYTHON_LIB)/cinder/volume/drivers/solaris; \
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson $(PROTO_DIR)$(PYTHON_LIB)/cinder/volume/drivers/zfssa); \
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# common targets
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += cloud/openstack/openstack-common
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += library/python/eventlet-27
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceREQUIRED_PACKAGES += library/python/iniparse-27
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += library/python/ipython-27
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += library/python/oslo.config-27
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += library/python/oslo.utils-27
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += library/python/sqlalchemy-27
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-27
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += system/storage/fc-utilities
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas GustafssonREQUIRED_PACKAGES += system/storage/iscsi/iscsi-target