Makefile revision 727
99N/A#
99N/A# CDDL HEADER START
99N/A#
99N/A# The contents of this file are subject to the terms of the
99N/A# Common Development and Distribution License (the "License").
99N/A# You may not use this file except in compliance with the License.
99N/A#
99N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99N/A# or http://www.opensolaris.org/os/licensing.
99N/A# See the License for the specific language governing permissions
99N/A# and limitations under the License.
99N/A#
99N/A# When distributing Covered Code, include this CDDL HEADER in each
99N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
99N/A# If applicable, add the following below this CDDL HEADER, with the
99N/A# fields enclosed by brackets "[]" replaced with your own identifying
99N/A# information: Portions Copyright [yyyy] [name of copyright owner]
99N/A#
99N/A# CDDL HEADER END
99N/A#
727N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
99N/A#
127N/Ainclude ../../make-rules/shared-macros.mk
99N/A
99N/APATH=/usr/bin:/usr/gnu/bin:/usr/sbin
99N/A
99N/ACOMPONENT_NAME= mercurial
400N/ACOMPONENT_VERSION= 1.8.4
618N/ACOMPONENT_PROJECT_URL= http://mercurial.selenic.com/
99N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
99N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
400N/ACOMPONENT_ARCHIVE_HASH= sha1:25c4f9b1ad1c5c8ef94ca5b120c9af6bdfd23bdc
99N/ACOMPONENT_ARCHIVE_URL= http://www.selenic.com/mercurial/release/$(COMPONENT_ARCHIVE)
99N/A
99N/Ainclude $(WS_TOP)/make-rules/prep.mk
99N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
99N/Ainclude $(WS_TOP)/make-rules/ips.mk
99N/A
99N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/contrib
99N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/doc
196N/A
196N/A# Set mod time of patched file from patch. Use this to ensure that the .py
196N/A# file consistently gets the same timestamp.
196N/A$(SOURCE_DIR)/.https_proxy.patched: GPATCH_FLAGS += -Z
99N/A
99N/A# common targets
99N/Abuild: $(BUILD_32)
99N/A
99N/Ainstall: $(INSTALL_32)
99N/A
99N/Atest: $(INSTALL_32)
99N/A (cd $(COMPONENT_SRC)/tests ; \
196N/A PYTHONPATH=$(PROTO_DIR)/$(PYTHON_LIB) $(PYTHON) ./run-tests.py)
99N/A
99N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
99N/A
99N/Ainclude $(WS_TOP)/make-rules/depend.mk