Makefile revision 4070
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
20c794b39650d115e17a15983b6b82e46238cf45gavinm# CDDL HEADER START
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
20c794b39650d115e17a15983b6b82e46238cf45gavinm# The contents of this file are subject to the terms of the
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Common Development and Distribution License (the "License").
20c794b39650d115e17a15983b6b82e46238cf45gavinm# You may not use this file except in compliance with the License.
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
20c794b39650d115e17a15983b6b82e46238cf45gavinm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
20c794b39650d115e17a15983b6b82e46238cf45gavinm# or http://www.opensolaris.org/os/licensing.
20c794b39650d115e17a15983b6b82e46238cf45gavinm# See the License for the specific language governing permissions
20c794b39650d115e17a15983b6b82e46238cf45gavinm# and limitations under the License.
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
20c794b39650d115e17a15983b6b82e46238cf45gavinm# When distributing Covered Code, include this CDDL HEADER in each
20c794b39650d115e17a15983b6b82e46238cf45gavinm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20c794b39650d115e17a15983b6b82e46238cf45gavinm# If applicable, add the following below this CDDL HEADER, with the
20c794b39650d115e17a15983b6b82e46238cf45gavinm# fields enclosed by brackets "[]" replaced with your own identifying
20c794b39650d115e17a15983b6b82e46238cf45gavinm# information: Portions Copyright [yyyy] [name of copyright owner]
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
20c794b39650d115e17a15983b6b82e46238cf45gavinm# CDDL HEADER END
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
b7d3956b92a285d8dac2c7f5f7e28d2ef5347ef8stephh# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
20c794b39650d115e17a15983b6b82e46238cf45gavinm#
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinminclude ../../../make-rules/shared-macros.mk
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_NAME= osprofiler
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_VERSION= 0.3.0
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_ARCHIVE_HASH= \
20c794b39650d115e17a15983b6b82e46238cf45gavinm sha256:7d7e1d0b93ce96901f7a307a712196273818a8f20e59916ff099589b48f53207
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_ARCHIVE_URL= $(call pypi_url)
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_PROJECT_URL= https://github.com/stackforge/osprofiler
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_BUGDB= python-mod/osprofiler
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinmTPNO= 20382
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Depends on ceilometerclient, which is not Python 3 ready.
20c794b39650d115e17a15983b6b82e46238cf45gavinmPYTHON_VERSIONS= 2.7 2.6
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinminclude $(WS_MAKE_RULES)/prep.mk
20c794b39650d115e17a15983b6b82e46238cf45gavinminclude $(WS_MAKE_RULES)/setup.py.mk
20c794b39650d115e17a15983b6b82e46238cf45gavinminclude $(WS_MAKE_RULES)/ips.mk
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinmASLR_MODE = $(ASLR_NOT_APPLICABLE)
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_POST_INSTALL_ACTION = \
20c794b39650d115e17a15983b6b82e46238cf45gavinm (cd $(PROTO_DIR)/usr/bin ; \
20c794b39650d115e17a15983b6b82e46238cf45gavinm $(MV) -f osprofiler osprofiler-$(PYTHON_VERSION))
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinm# common targets
20c794b39650d115e17a15983b6b82e46238cf45gavinmbuild: $(BUILD_NO_ARCH)
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinminstall: $(INSTALL_NO_ARCH)
20c794b39650d115e17a15983b6b82e46238cf45gavinm
20c794b39650d115e17a15983b6b82e46238cf45gavinm# see $(COMPONENT_SRC)/test-requirements.txt for the python modules
20c794b39650d115e17a15983b6b82e46238cf45gavinm# required to execute unittests.
20c794b39650d115e17a15983b6b82e46238cf45gavinmtest: $(NO_TESTS)
20c794b39650d115e17a15983b6b82e46238cf45gavinm