Makefile revision 6033
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# CDDL HEADER START
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# The contents of this file are subject to the terms of the
8495845a800cf09321436aed996188c9a92cd647bnicholes# Common Development and Distribution License (the "License").
8495845a800cf09321436aed996188c9a92cd647bnicholes# You may not use this file except in compliance with the License.
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8495845a800cf09321436aed996188c9a92cd647bnicholes# or http://www.opensolaris.org/os/licensing.
8495845a800cf09321436aed996188c9a92cd647bnicholes# See the License for the specific language governing permissions
8495845a800cf09321436aed996188c9a92cd647bnicholes# and limitations under the License.
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# When distributing Covered Code, include this CDDL HEADER in each
8495845a800cf09321436aed996188c9a92cd647bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8495845a800cf09321436aed996188c9a92cd647bnicholes# If applicable, add the following below this CDDL HEADER, with the
8495845a800cf09321436aed996188c9a92cd647bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
8495845a800cf09321436aed996188c9a92cd647bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# CDDL HEADER END
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesinclude ../../../make-rules/shared-macros.mk
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_NAME= glance
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_CODENAME= kilo
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_VERSION= 2015.1.2
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_BE_VERSION= 2015.1
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_ARCHIVE_HASH= \
8495845a800cf09321436aed996188c9a92cd647bnicholes sha256:e46bc6648a74a643cef3825dcd44c7e275ed3385b96cab83ef50c4c514932541
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_PROJECT_URL= http://www.openstack.org/
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_BUGDB= service/glance
8495845a800cf09321436aed996188c9a92cd647bnicholesIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesTPNO= 25785
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesinclude $(WS_MAKE_RULES)/prep.mk
8495845a800cf09321436aed996188c9a92cd647bnicholesinclude $(WS_MAKE_RULES)/setup.py.mk
8495845a800cf09321436aed996188c9a92cd647bnicholesinclude $(WS_MAKE_RULES)/ips.mk
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesASLR_MODE = $(ASLR_NOT_APPLICABLE)
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholes# Since this is an app, and doesn't provide any public library interfaces, we
8495845a800cf09321436aed996188c9a92cd647bnicholes# only need to deliver one version. The manifest is parameterized, though.
8495845a800cf09321436aed996188c9a92cd647bnicholesPYTHON_VERSIONS= 2.7
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesPKG_MACROS += COMPONENT_BE_VERSION=$(COMPONENT_BE_VERSION)
8495845a800cf09321436aed996188c9a92cd647bnicholesPKG_MACROS += PYVER=$(PYTHON_VERSIONS)
8495845a800cf09321436aed996188c9a92cd647bnicholesPKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholes# glance-api, glance-registry, and glance-scrubber depend on glance-db
8495845a800cf09321436aed996188c9a92cd647bnicholes# and glance-upgrade so copy all of the service manifests into the
8495845a800cf09321436aed996188c9a92cd647bnicholes# proto directory for pkgdepend(1) to find.
8495845a800cf09321436aed996188c9a92cd647bnicholes#
8495845a800cf09321436aed996188c9a92cd647bnicholesCOMPONENT_POST_INSTALL_ACTION += \
8495845a800cf09321436aed996188c9a92cd647bnicholes ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
8495845a800cf09321436aed996188c9a92cd647bnicholes $(CP) \
8495845a800cf09321436aed996188c9a92cd647bnicholes files/glance-db.xml \
8495845a800cf09321436aed996188c9a92cd647bnicholes files/glance-api.xml \
8495845a800cf09321436aed996188c9a92cd647bnicholes files/glance-registry.xml \
8495845a800cf09321436aed996188c9a92cd647bnicholes files/glance-scrubber.xml \
8495845a800cf09321436aed996188c9a92cd647bnicholes files/glance-upgrade.xml \
8495845a800cf09321436aed996188c9a92cd647bnicholes $(PROTO_DIR)/lib/svc/manifest/application/openstack)
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholes# common targets
8495845a800cf09321436aed996188c9a92cd647bnicholesbuild: $(BUILD_NO_ARCH)
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesinstall: $(INSTALL_NO_ARCH)
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholestest: $(NO_TESTS)
8495845a800cf09321436aed996188c9a92cd647bnicholes
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += cloud/openstack/openstack-common
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/eventlet-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/glance_store-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/iniparse-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/m2crypto-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/oslo.config-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/oslo.messaging-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/oslo.serialization-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/oslo.utils-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/osprofiler-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/six-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/sqlalchemy-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/sqlalchemy-migrate-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += library/python/webob-27
8495845a800cf09321436aed996188c9a92cd647bnicholesREQUIRED_PACKAGES += system/core-os
8495845a800cf09321436aed996188c9a92cd647bnicholes