Makefile revision 3996
7d5ac94fda90b837211dadf2585c0fe8c5dc3e5djerenkrantz# CDDL HEADER START
ecf8d72af432e53e4c0661fb99dfda8061507bfajerenkrantz# The contents of this file are subject to the terms of the
62f7716b14b71603a8004434ca3536902bfb8899wrowe# Common Development and Distribution License (the "License").
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You may not use this file except in compliance with the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# See the License for the specific language governing permissions
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# and limitations under the License.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# When distributing Covered Code, include this CDDL HEADER in each
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# If applicable, add the following below this CDDL HEADER, with the
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# fields enclosed by brackets "[]" replaced with your own identifying
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# CDDL HEADER END
366616a5cc6212cbf7134ccf877f965d668c6b04wrowe# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
df46ff21c57d00f6addccaaf9b1484f2b56b8577pquernaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe sha256:a2740f0a0481139ae21cdb0868bebcce01b9f19832439b7f3056435e75791194
f610c7c704235bc327dbe9b62982f5b3f8e30a77wroweCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
62f7716b14b71603a8004434ca3536902bfb8899wrowe# Since this is an app, and doesn't provide any public library interfaces, we
4b62424416882687387923b3130b96241503cbe0jerenkrantz# only need to deliver one version. The manifest is parameterized, though.
cdccf2ac94172d1a4a54bc2e17324e1ef682ccf3pquerna# cinder-api, cinder-backup, cinder-scheduler, and cinder-volume
cdccf2ac94172d1a4a54bc2e17324e1ef682ccf3pquerna# depend on the cinder-db svc so copy the manifest into the proto
cdccf2ac94172d1a4a54bc2e17324e1ef682ccf3pquerna# directory for pkgdepend to find
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(CP) files/cinder-api.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(CP) files/cinder-backup.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(CP) files/cinder-db.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(CP) files/cinder-scheduler.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stas $(CP) files/cinder-volume.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(MKDIR) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(TOUCH) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris/__init__.py; \
0db0abcbe4211435c08e0c0e8f5daa278bed3524wsanchez $(CP) files/solaris/zfs.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(MKDIR) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
0db0abcbe4211435c08e0c0e8f5daa278bed3524wsanchez $(CP) files/zfssa/__init__.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(CP) files/zfssa/cinder.akwf $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(CP) files/zfssa/restclient.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
9e86ff266f053757dd96dab7cf4bc53aaaaa583ewrowe $(CP) files/zfssa/zfssaiscsi.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
f6a9b598f78b2e745456bfc4bbc4afd2d1572aa9stas $(CP) files/zfssa/zfssarest.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa); \
bce58f79020e39e5ac5de398fe08b4f8a1e19970pgollucci $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# common targets
38d2c5d41cdb5eb28668d0290b59f8c76ae2a4bfjimREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-26