Makefile revision 2521
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sha256:b3466dbc2ea88eef67f73db2b12ec2e8b66047b2bfa0eea31392e155657bee00
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Since this is an app, and doesn't provide any public library interfaces, we
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# only need to deliver one version. The manifest is parameterized, though.
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox User# cinder-api, cinder-backup, cinder-scheduler, and cinder-volume
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# depend on the cinder-db svc so copy the manifest into the proto
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# directory for pkgdepend to find
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox User ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CP) files/cinder-api.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CP) files/cinder-backup.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox User $(CP) files/cinder-db.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CP) files/cinder-scheduler.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CP) files/cinder-volume.xml $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox User $(MKDIR) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris; \
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox User $(TOUCH) $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris/__init__.py; \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CP) files/solaris/zfs.py $(PROTO_DIR)/usr/lib/python2.6/vendor-packages/cinder/volume/drivers/solaris); \
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox User $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox User# common targets