Makefile revision 4623
469N/A#
469N/A# CDDL HEADER START
1422N/A#
469N/A# The contents of this file are subject to the terms of the
469N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
919N/A#
469N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
469N/A#
469N/A
469N/Ainclude ../../../make-rules/shared-macros.mk
493N/A
469N/ACOMPONENT_NAME= keystone
970N/ACOMPONENT_CODENAME= juno
977N/ACOMPONENT_VERSION= 2014.2.2
970N/ACOMPONENT_BE_VERSION= 2014.2
970N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1339N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1339N/ACOMPONENT_ARCHIVE_HASH= \
1370N/A sha256:5674c1ae0aa7203cca0aba634e939bcfb7e1e0f60f62a6d6fceeb05efb84980e
911N/ACOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
1370N/ACOMPONENT_PROJECT_URL= http://www.openstack.org/
1370N/ACOMPONENT_BUGDB= service/keystone
1370N/AIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
469N/A
1370N/ATPNO= 21823
1370N/A
1370N/Ainclude $(WS_MAKE_RULES)/prep.mk
1370N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
493N/Ainclude $(WS_MAKE_RULES)/ips.mk
469N/A
469N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1370N/A
493N/A# Since this is an app, and doesn't provide any public library interfaces, we
912N/A# only need to deliver one version. The manifest is parameterized, though.
1422N/APYTHON_VERSIONS= 2.7
1422N/A
1370N/APKG_MACROS += COMPONENT_BE_VERSION=$(COMPONENT_BE_VERSION)
1370N/APKG_MACROS += PYVER=$(PYTHON_VERSIONS)
1370N/APKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
1422N/A
1422N/A#
1422N/A# keystone depends on keystone-upgrade so copy all of the service
1422N/A# manifests into the proto directory for pkgdepend(1) to find.
1370N/A#
970N/ACOMPONENT_POST_INSTALL_ACTION += \
970N/A ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
970N/A $(CP) \
912N/A files/keystone.xml \
files/keystone-upgrade.xml \
$(PROTO_DIR)/lib/svc/manifest/application/openstack;)
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
test: $(NO_TESTS)
REQUIRED_PACKAGES += cloud/openstack/openstack-common
REQUIRED_PACKAGES += library/python/iniparse-27
REQUIRED_PACKAGES += library/python/oslo.config-27
REQUIRED_PACKAGES += library/python/pbr-27
REQUIRED_PACKAGES += library/python/python-mysql-27
REQUIRED_PACKAGES += library/python/sqlalchemy-27
REQUIRED_PACKAGES += library/python/sqlalchemy-migrate-27
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += system/core-os