Makefile revision 3661
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# or http://www.opensolaris.org/os/licensing.
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# If applicable, add the following below this CDDL HEADER, with the
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# CDDL HEADER END
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater sha256:a2740f0a0481139ae21cdb0868bebcce01b9f19832439b7f3056435e75791194
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_PROJECT_URL= http://www.openstack.org/
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Since this is an app, and doesn't provide any public library interfaces, we
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# only need to deliver one version. The manifest is parameterized, though.
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# cinder-api, cinder-backup, cinder-scheduler, and cinder-volume
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# depend on the cinder-db svc so copy the manifest into the proto
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# directory for pkgdepend to find
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews $(CP) files/cinder-api.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews $(CP) files/cinder-backup.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews $(CP) files/cinder-db.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(CP) files/cinder-scheduler.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater $(CP) files/cinder-volume.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(MKDIR) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris; \
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater $(TOUCH) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris/__init__.py; \
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater $(CP) files/solaris/zfs.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris; \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(MKDIR) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater $(CP) files/zfssa/__init__.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(CP) files/zfssa/cinder.akwf $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater $(CP) files/zfssa/restclient.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater $(CP) files/zfssa/zfssaiscsi.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa; \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(CP) files/zfssa/zfssarest.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/zfssa); \
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater# common targets