Makefile revision 4285
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith#
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# CDDL HEADER START
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith#
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# The contents of this file are subject to the terms of the
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# Common Development and Distribution License (the "License").
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# You may not use this file except in compliance with the License.
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith#
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# or http://www.opensolaris.org/os/licensing.
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# See the License for the specific language governing permissions
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# and limitations under the License.
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith#
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# When distributing Covered Code, include this CDDL HEADER in each
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# If applicable, add the following below this CDDL HEADER, with the
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# fields enclosed by brackets "[]" replaced with your own identifying
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# information: Portions Copyright [yyyy] [name of copyright owner]
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith#
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# CDDL HEADER END
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith#
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroff
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroff#
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroff# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroff#
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroff
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smithinclude ../../../make-rules/shared-macros.mk
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John SmithCOMPONENT_NAME= openstack
2f48995b5616e7ec03e6731e508dfe8f641d4691John SmithCOMPONENT_VERSION= 2014.2.2
2f48995b5616e7ec03e6731e508dfe8f641d4691John SmithCOMPONENT_PROJECT_URL= http://www.openstack.org/
2f48995b5616e7ec03e6731e508dfe8f641d4691John SmithIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smithinclude $(WS_MAKE_RULES)/prep.mk
4b8d4136cf15a6811025301fa66d549200e1b99ajabiertxofinclude $(WS_MAKE_RULES)/ips.mk
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John SmithASLR_MODE = $(ASLR_NOT_APPLICABLE)
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith# Used for placement of openstack_common.py
2f48995b5616e7ec03e6731e508dfe8f641d4691John SmithPYTHON_VERSIONS= 2.7
2f48995b5616e7ec03e6731e508dfe8f641d4691John SmithPKG_MACROS += PYVER=$(PYTHON_VERSIONS)
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smithbuild: FRC
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith @/bin/true
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smithinstall: FRC
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith ($(MKDIR) $(PROTO_DIR)$(PYTHON_LIB); \
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith $(CP) files/openstack_common.py $(PROTO_DIR)$(PYTHON_LIB); \
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smithdownload::
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith @echo 'No downloads for this component'
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroff
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroffclobber:: clean
58796c10572cc1f7bf590f57194084c635afe096Matthew Petroff
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smithclean::
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith $(RM) -r $(SOURCE_DIR)/build
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smithtest: $(NO_TESTS)
2f48995b5616e7ec03e6731e508dfe8f641d4691John Smith