Makefile revision 4049
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein#
9fccaed3f2d8df9e68dcd31b52885a17853b9f86lars# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
6a01f2d5ec2024b68edd1d42056b41a88dc0a935aaron# You may not use this file except in compliance with the License.
6a01f2d5ec2024b68edd1d42056b41a88dc0a935aaron#
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz# or http://www.opensolaris.org/os/licensing.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# See the License for the specific language governing permissions
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# and limitations under the License.
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb#
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# When distributing Covered Code, include this CDDL HEADER in each
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
571760de5e60c0b459cb11be45507b923cd023eejwoolley# If applicable, add the following below this CDDL HEADER, with the
571760de5e60c0b459cb11be45507b923cd023eejwoolley# fields enclosed by brackets "[]" replaced with your own identifying
9180a5933673ffb1af633c255ceee029340f3b1erbb# information: Portions Copyright [yyyy] [name of copyright owner]
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb#
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# CDDL HEADER END
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb#
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein
35330e0d79ceb8027223bbb8330a381b1f989d6etrawickinclude ../../../make-rules/shared-macros.mk
6f6f4a4bca281779d196acbdd5c017bb90858305trawick
8dd4618c4709236b4ea297d7250d282e463ce2d8rbbCOMPONENT_NAME= glance
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawickCOMPONENT_CODENAME= juno
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbbCOMPONENT_VERSION= 2014.2.2
bd929c73ef04789b7183b840d8db6e01d03a4d86rbbCOMPONENT_BE_VERSION= 2014.2
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2a6c49cfaef5979a5a06098f3ce987cd76769409manojCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_ARCHIVE_HASH= \
af4c982a7cf4515f124935f99a329744035fc699slive sha256:bf7273ff9e89e9a7edda76e7a2235989a25109fb728edc4afa956e74ef54a08c
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_PROJECT_URL= http://www.openstack.org/
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_BUGDB= service/glance
af4c982a7cf4515f124935f99a329744035fc699sliveIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
531c23ff01a2489646f0a2029097013b328d935agsteinTPNO= 21820
2f316e524ff96c16278c4f3361bac3f69179005dwrowe
2f316e524ff96c16278c4f3361bac3f69179005dwroweinclude $(WS_MAKE_RULES)/prep.mk
2f316e524ff96c16278c4f3361bac3f69179005dwroweinclude $(WS_MAKE_RULES)/setup.py.mk
2f316e524ff96c16278c4f3361bac3f69179005dwroweinclude $(WS_MAKE_RULES)/ips.mk
2f316e524ff96c16278c4f3361bac3f69179005dwrowe
2f316e524ff96c16278c4f3361bac3f69179005dwroweASLR_MODE = $(ASLR_NOT_APPLICABLE)
2f316e524ff96c16278c4f3361bac3f69179005dwrowe
2f316e524ff96c16278c4f3361bac3f69179005dwrowe# Since this is an app, and doesn't provide any public library interfaces, we
2f316e524ff96c16278c4f3361bac3f69179005dwrowe# only need to deliver one version. The manifest is parameterized, though.
2f316e524ff96c16278c4f3361bac3f69179005dwrowePYTHON_VERSIONS= 2.7
2f316e524ff96c16278c4f3361bac3f69179005dwrowe
2f316e524ff96c16278c4f3361bac3f69179005dwrowePKG_MACROS += COMPONENT_BE_VERSION=$(COMPONENT_BE_VERSION)
2f316e524ff96c16278c4f3361bac3f69179005dwrowePKG_MACROS += PYVER=$(PYTHON_VERSIONS)
2f316e524ff96c16278c4f3361bac3f69179005dwrowePKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp#
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp# glance-api, glance-registry, and glance-scrubber depend on glance-db
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp# and glance-upgrade so copy all of the service manifests into the
54e1babd5a5a56c576eeeace54110150769cc916coar# proto directory for pkgdepend(1) to find.
54e1babd5a5a56c576eeeace54110150769cc916coar#
54e1babd5a5a56c576eeeace54110150769cc916coarCOMPONENT_POST_INSTALL_ACTION += \
54e1babd5a5a56c576eeeace54110150769cc916coar ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
54e1babd5a5a56c576eeeace54110150769cc916coar $(CP) \
7fe18c15b669db9d191859695901dc4fcf3829dawrowe files/glance-db.xml \
7fe18c15b669db9d191859695901dc4fcf3829dawrowe files/glance-api.xml \
7fe18c15b669db9d191859695901dc4fcf3829dawrowe files/glance-registry.xml \
b84f66c93f820824b1d5455181f55598b766319cwrowe files/glance-scrubber.xml \
7fe18c15b669db9d191859695901dc4fcf3829dawrowe files/glance-upgrade.xml \
976501adbc040220270f7d1d77c4b8373033be69wrowe $(PROTO_DIR)/lib/svc/manifest/application/openstack)
976501adbc040220270f7d1d77c4b8373033be69wrowe
976501adbc040220270f7d1d77c4b8373033be69wrowe# common targets
976501adbc040220270f7d1d77c4b8373033be69wrowebuild: $(BUILD_NO_ARCH)
976501adbc040220270f7d1d77c4b8373033be69wrowe
b84f66c93f820824b1d5455181f55598b766319cwroweinstall: $(INSTALL_NO_ARCH)
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbtest: $(NO_TESTS)
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbREQUIRED_PACKAGES += library/python/eventlet-27
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbREQUIRED_PACKAGES += library/python/iniparse-27
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbREQUIRED_PACKAGES += library/python/m2crypto-27
b84f66c93f820824b1d5455181f55598b766319cwroweREQUIRED_PACKAGES += library/python/oslo.config-27
b84f66c93f820824b1d5455181f55598b766319cwroweREQUIRED_PACKAGES += library/python/python-mysql-27
b84f66c93f820824b1d5455181f55598b766319cwroweREQUIRED_PACKAGES += library/python/sqlalchemy-27
b84f66c93f820824b1d5455181f55598b766319cwroweREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-27
a601d863bd772fefc4dc82a883589d8be6a44811wroweREQUIRED_PACKAGES += system/core-os
a601d863bd772fefc4dc82a883589d8be6a44811wrowe