Makefile revision 4506
4506N/A#
4506N/A# CDDL HEADER START
4506N/A#
4506N/A# The contents of this file are subject to the terms of the
4506N/A# Common Development and Distribution License (the "License").
4506N/A# You may not use this file except in compliance with the License.
4506N/A#
4506N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4506N/A# or http://www.opensolaris.org/os/licensing.
4506N/A# See the License for the specific language governing permissions
4506N/A# and limitations under the License.
4506N/A#
4506N/A# When distributing Covered Code, include this CDDL HEADER in each
4506N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4506N/A# If applicable, add the following below this CDDL HEADER, with the
4506N/A# fields enclosed by brackets "[]" replaced with your own identifying
4506N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4506N/A#
4506N/A# CDDL HEADER END
4506N/A#
4506N/A
4506N/A#
4506N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
4506N/A#
4506N/A
4506N/Ainclude ../../../make-rules/shared-macros.mk
4506N/A
4506N/ACOMPONENT_NAME= ironic
4506N/ACOMPONENT_CODENAME= juno
4506N/ACOMPONENT_VERSION= 2014.2.1
4506N/ACOMPONENT_BE_VERSION= 2014.2
4506N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4506N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4506N/ACOMPONENT_ARCHIVE_HASH= \
4506N/A sha256:9dae1e5e030741382e75f6da9ec34af1b8e8d50940d158fb14f4d427a01c0bff
4506N/ACOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
4506N/ACOMPONENT_PROJECT_URL= http://www.openstack.org/
4506N/ACOMPONENT_BUGDB= service/ironic
4506N/AIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
4506N/A
4506N/ATPNO= 22203
4506N/A
4506N/Ainclude $(WS_MAKE_RULES)/prep.mk
4506N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
4506N/Ainclude $(WS_MAKE_RULES)/ips.mk
4506N/A
4506N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4506N/A
4506N/A# Since this is an app, and doesn't provide any public library interfaces, we
4506N/A# only need to deliver one version. The manifest is parameterized, though.
4506N/APYTHON_VERSIONS= 2.6
4506N/A
4506N/APKG_MACROS += COMPONENT_BE_VERSION=$(COMPONENT_BE_VERSION)
4506N/APKG_MACROS += PYVER=$(PYTHON_VERSIONS)
4506N/APKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
4506N/A
4506N/A#
4506N/A# ironic-api and ironic-conductor depend on ironic-db so copy all of the
4506N/A# service manifests into the proto directory for pkgdepend(1) to find.
4506N/A#
4506N/ACOMPONENT_POST_INSTALL_ACTION += \
4506N/A ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
4506N/A $(CP) \
4506N/A files/ironic-api.xml \
4506N/A files/ironic-conductor.xml \
4506N/A files/ironic-db.xml \
4506N/A $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
4506N/A $(MKDIR) $(PROTO_DIR)$(PYTHON_LIB)/ironic/drivers/modules; \
4506N/A $(CP) \
4506N/A files/drivers/solaris.py \
4506N/A $(PROTO_DIR)$(PYTHON_LIB)/ironic/drivers/; \
4506N/A $(CP) \
4506N/A files/drivers/modules/solaris_ipmitool.py \
4506N/A $(PROTO_DIR)$(PYTHON_LIB)/ironic/drivers/modules/; \
4506N/A $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
4506N/A
4506N/A# common targets
4506N/Abuild: $(BUILD_NO_ARCH)
4506N/A
4506N/Ainstall: $(INSTALL_NO_ARCH)
4506N/A
4506N/A#
4506N/A# Tests require:
4506N/A# hacking, coverage>=3.6, disvover, fixtures, oslo.test, psycopg2,
4506N/A# python-ironicclient, python-subunit, testrepository, testtools,
4506N/A# sphinx, sphinxcontrib, oslo.sphinx
4506N/A# Which haven't been integrated yet
4506N/A#
4506N/Atest: $(NO_TESTS)
4506N/A
4506N/A
4506N/AREQUIRED_PACKAGES += install/installadm
4506N/AREQUIRED_PACKAGES += shell/ksh93
4506N/AREQUIRED_PACKAGES += system/core-os
4506N/AREQUIRED_PACKAGES += system/file-system/uafs
4506N/AREQUIRED_PACKAGES += system/file-system/uvfs
4506N/AREQUIRED_PACKAGES += system/management/ipmitool
4506N/AREQUIRED_PACKAGES += web/curl