Makefile revision 783
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# CDDL HEADER START
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# The contents of this file are subject to the terms of the
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# Common Development and Distribution License (the "License").
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# You may not use this file except in compliance with the License.
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer#
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# or http://www.opensolaris.org/os/licensing.
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# See the License for the specific language governing permissions
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# and limitations under the License.
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt#
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# When distributing Covered Code, include this CDDL HEADER in each
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4be4833ece2856e0cacc09f8f8b2c02b320751faMartin Pitt# If applicable, add the following below this CDDL HEADER, with the
c50a4525aa8151b180d5a325e88c5f3812e66c36Martin Pitt# fields enclosed by brackets "[]" replaced with your own identifying
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier# information: Portions Copyright [yyyy] [name of copyright owner]
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# CDDL HEADER END
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude ../../../make-rules/shared-macros.mk
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierPATH=/usr/bin:/usr/gnu/bin:/usr/sbin
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_NAME= ldtp
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_VERSION= 2.1.1
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_MAJOR_VERSION=2.x
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_MINOR_VERSION=2.1.x
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_PROJECT_URL= http://ldtp.freedesktop.org/
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_ARCHIVE_HASH= sha1:5439809806a8dd7e33c95617fb0cbed35d111974
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_ARCHIVE_URL= http://download.freedesktop.org/ldtp/$(COMPONENT_MAJOR_VERSION)/$(COMPONENT_MINOR_VERSION)/$(COMPONENT_ARCHIVE)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude $(WS_TOP)/make-rules/prep.mk
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude $(WS_TOP)/make-rules/setup.py.mk
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude $(WS_TOP)/make-rules/ips.mk
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCOMPONENT_POST_INSTALL_ACTION = \
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier (cd $(PROTO_DIR)/usr/bin ; $(MV) -f ldtp ldtp$(PYTHON_VERSION))
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier# common targets
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierbuild: $(BUILD_32)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinstall: $(INSTALL_32)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevaliertest: $(NO_TESTS)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude $(WS_TOP)/make-rules/depend.mk
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier