Makefile revision 4285
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright#
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../../../make-rules/shared-macros.mk
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightCOMPONENT_NAME= heat
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_CODENAME= juno
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_VERSION= 2014.2.2
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightCOMPONENT_BE_VERSION= 2014.2
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan BrownCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCOMPONENT_ARCHIVE_HASH= \
7b59d02d2a384be9a08087b14defadd214b3c1ddjb sha256:ac9ad74d9571ec2441d2eec22dbe3ef9f39f7378f62238ad70911e26435d516f
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbCOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightCOMPONENT_PROJECT_URL= http://www.openstack.org/
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightCOMPONENT_BUGDB= service/heat
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright
7f667e74610492ddbce8ce60f52ece95d2401949jose borregoTPNO= 21821
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wrightinclude $(WS_MAKE_RULES)/prep.mk
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude $(WS_MAKE_RULES)/setup.py.mk
12b65585e720714b31036daaa2b30eb76014048eGordon Rossinclude $(WS_MAKE_RULES)/ips.mk
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
12b65585e720714b31036daaa2b30eb76014048eGordon RossASLR_MODE = $(ASLR_NOT_APPLICABLE)
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# Since this is an app, and doesn't provide any public library interfaces, we
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# only need to deliver one version. The manifest is parameterized, though.
12b65585e720714b31036daaa2b30eb76014048eGordon RossPYTHON_VERSIONS= 2.7
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
12b65585e720714b31036daaa2b30eb76014048eGordon RossPKG_MACROS += COMPONENT_BE_VERSION=$(COMPONENT_BE_VERSION)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPKG_MACROS += PYVER=$(PYTHON_VERSIONS)
12b65585e720714b31036daaa2b30eb76014048eGordon RossPKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
12b65585e720714b31036daaa2b30eb76014048eGordon Ross#
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# heat-api-cfn, heat-api-cloudwatch, heat-api, and heat-engine depend
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# on heat-db and heat-upgrade so copy all of the service manifests
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# into the proto directory for pkgdepend(1) to find.
12b65585e720714b31036daaa2b30eb76014048eGordon Ross#
12b65585e720714b31036daaa2b30eb76014048eGordon RossCOMPONENT_POST_INSTALL_ACTION += \
12b65585e720714b31036daaa2b30eb76014048eGordon Ross ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(CP) \
12b65585e720714b31036daaa2b30eb76014048eGordon Ross files/heat-api-cfn.xml \
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright files/heat-api-cloudwatch.xml \
12b65585e720714b31036daaa2b30eb76014048eGordon Ross files/heat-api.xml \
12b65585e720714b31036daaa2b30eb76014048eGordon Ross files/heat-db.xml \
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright files/heat-engine.xml \
12b65585e720714b31036daaa2b30eb76014048eGordon Ross files/heat-upgrade.xml \
12b65585e720714b31036daaa2b30eb76014048eGordon Ross $(PROTO_DIR)/lib/svc/manifest/application/openstack)
7b59d02d2a384be9a08087b14defadd214b3c1ddjb
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# common targets
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwbuild: $(BUILD_NO_ARCH)
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
12b65585e720714b31036daaa2b30eb76014048eGordon Rossinstall: $(INSTALL_NO_ARCH)
12b65585e720714b31036daaa2b30eb76014048eGordon Ross
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States# tests require mox, discover, testtools, testrepository,
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# testscenarios, sphinx and oslo.sphinx some of which have not yet
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# integrated
12b65585e720714b31036daaa2b30eb76014048eGordon Rosstest: $(NO_TESTS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightREQUIRED_PACKAGES += cloud/openstack/openstack-common
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwREQUIRED_PACKAGES += library/python/eventlet-27
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightREQUIRED_PACKAGES += library/python/iniparse-27
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightREQUIRED_PACKAGES += library/python/oslo.config-27
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwREQUIRED_PACKAGES += library/python/python-mysql-27
12b65585e720714b31036daaa2b30eb76014048eGordon RossREQUIRED_PACKAGES += library/python/setuptools-27
12b65585e720714b31036daaa2b30eb76014048eGordon RossREQUIRED_PACKAGES += library/python/six-27
12b65585e720714b31036daaa2b30eb76014048eGordon RossREQUIRED_PACKAGES += library/python/sqlalchemy-27
12b65585e720714b31036daaa2b30eb76014048eGordon RossREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-27
12b65585e720714b31036daaa2b30eb76014048eGordon RossREQUIRED_PACKAGES += shell/bash
12b65585e720714b31036daaa2b30eb76014048eGordon RossREQUIRED_PACKAGES += system/core-os
12b65585e720714b31036daaa2b30eb76014048eGordon Ross