Makefile revision 6759
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
49644c0c8f98a45063c600ae90632bf2b91c4c37Automatic Updater# CDDL HEADER START
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# The contents of this file are subject to the terms of the
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Common Development and Distribution License (the "License").
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# You may not use this file except in compliance with the License.
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# or http://www.opensolaris.org/os/licensing.
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater# See the License for the specific language governing permissions
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# and limitations under the License.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# When distributing Covered Code, include this CDDL HEADER in each
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# If applicable, add the following below this CDDL HEADER, with the
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# CDDL HEADER END
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fdd80e9a55c70b36a3bf3e409b86897301c44ff8Automatic Updaterinclude ../../../make-rules/shared-macros.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_NAME= os-brick
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_VERSION= 1.2.0
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_ARCHIVE_HASH= \
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater sha256:e8c5931d2a5115a7c484276add6be6b5e3ba13402c8a71e32b2313448010be30
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_ARCHIVE_URL= $(call pypi_url)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_PROJECT_URL= http://docs.openstack.org/developer/os-brick/
fdd80e9a55c70b36a3bf3e409b86897301c44ff8Automatic UpdaterCOMPONENT_BUGDB= python-mod/os-brick
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterTPNO= 29698
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Depends on oslo.serialization which is not Python 3 ready.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterPYTHON_VERSIONS = $(PYTHON2_VERSIONS)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude $(WS_MAKE_RULES)/prep.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude $(WS_MAKE_RULES)/setup.py.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude $(WS_MAKE_RULES)/ips.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterASLR_MODE = $(ASLR_NOT_APPLICABLE)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_POST_INSTALL_ACTION += \
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater $(CP) \
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater files/solaris/solarisfc.py \
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater files/solaris/solarisiscsi.py \
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater $(PROTO_DIR)$(PYTHON_LIB)/os_brick/initiator; \
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater# common targets
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updaterbuild: $(BUILD_NO_ARCH)
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinstall: $(INSTALL_NO_ARCH)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# See $(COMPONENT_SRC)/test-requirements.txt for the Python modules
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater# required to execute unittests.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updatertest: $(NO_TESTS)
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater