Makefile revision 3996
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# or http://www.opensolaris.org/os/licensing.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahlinclude ../../../make-rules/shared-macros.mk
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlPATH=/usr/bin:/usr/gnu/bin:/usr/sbin
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_NAME= ldtp
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_VERSION= 2.1.1
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_MAJOR_VERSION=2.x
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_MINOR_VERSION=2.1.x
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_PROJECT_URL= http://ldtp.freedesktop.org/
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_ARCHIVE_HASH= \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl sha256:53215930b38edeb980f43130fc29783db4875ce2317c946391a7baa63d98aa0e
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_ARCHIVE_URL= http://download.freedesktop.org/ldtp/$(COMPONENT_MAJOR_VERSION)/$(COMPONENT_MINOR_VERSION)/$(COMPONENT_ARCHIVE)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_BUGDB= python-mod/ldtp
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlTPNO= 10015
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Syntax issues: not Python 3 ready.
9512fe850e98fdd448c638ca63fdd92a8a510255ahlPYTHON_VERSIONS = 2.7 2.6
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlinclude $(WS_MAKE_RULES)/prep.mk
9512fe850e98fdd448c638ca63fdd92a8a510255ahlinclude $(WS_MAKE_RULES)/setup.py.mk
9512fe850e98fdd448c638ca63fdd92a8a510255ahlinclude $(WS_MAKE_RULES)/ips.mk
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlCOMPONENT_POST_INSTALL_ACTION = \
9512fe850e98fdd448c638ca63fdd92a8a510255ahl (cd $(PROTO_DIR)/usr/bin ; $(MV) -f ldtp ldtp$(PYTHON_VERSION))
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
test: $(NO_TESTS)