Makefile revision 4667
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# CDDL HEADER START
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# The contents of this file are subject to the terms of the
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Common Development and Distribution License (the "License").
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# You may not use this file except in compliance with the License.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# or http://www.opensolaris.org/os/licensing.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# See the License for the specific language governing permissions
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# and limitations under the License.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# When distributing Covered Code, include this CDDL HEADER in each
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# If applicable, add the following below this CDDL HEADER, with the
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# fields enclosed by brackets "[]" replaced with your own identifying
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# information: Portions Copyright [yyyy] [name of copyright owner]
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# CDDL HEADER END
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalinclude ../../../make-rules/shared-macros.mk
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalCOMPONENT_NAME= openstack
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalCOMPONENT_VERSION= 2014.2.2
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalCOMPONENT_PROJECT_URL= http://www.openstack.org/
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalCOMPONENT_BUGDB= service/nova
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalinclude $(WS_MAKE_RULES)/prep.mk
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalinclude $(WS_MAKE_RULES)/ips.mk
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalASLR_MODE = $(ASLR_NOT_APPLICABLE)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Used for placement of openstack_common.py
f3823063dfabb21265f42696bacbc66c3ffae606mentalPYTHON_VERSIONS= 2.7
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalPKG_MACROS += PYVER=$(PYTHON_VERSIONS)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalPKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
8dd159d21f0c89ac2a828814284967fc631ab571mentalbuild: FRC
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental @/bin/true
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalinstall: FRC
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental ($(MKDIR) $(PROTO_DIR)$(PYTHON_LIB); \
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental $(CP) files/openstack_common.py $(PROTO_DIR)$(PYTHON_LIB); \
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentaldownload::
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental @echo 'No downloads for this component'
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalclobber:: clean
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalclean::
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental $(RM) -r $(SOURCE_DIR)/build
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentaltest: $(NO_TESTS)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalsystem-test: $(NO_TESTS)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental