387N/A#
387N/A# CDDL HEADER START
387N/A#
387N/A# The contents of this file are subject to the terms of the
387N/A# Common Development and Distribution License (the "License").
387N/A# You may not use this file except in compliance with the License.
387N/A#
387N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
387N/A# or http://www.opensolaris.org/os/licensing.
387N/A# See the License for the specific language governing permissions
387N/A# and limitations under the License.
387N/A#
387N/A# When distributing Covered Code, include this CDDL HEADER in each
387N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
387N/A# If applicable, add the following below this CDDL HEADER, with the
387N/A# fields enclosed by brackets "[]" replaced with your own identifying
387N/A# information: Portions Copyright [yyyy] [name of copyright owner]
387N/A#
387N/A# CDDL HEADER END
387N/A#
387N/A
387N/A#
5553N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
387N/A#
5680N/ABUILD_BITS= 64
387N/Ainclude ../../make-rules/shared-macros.mk
387N/A
387N/ACOMPONENT_NAME= conflict
5553N/ACOMPONENT_VERSION= 20150705
5553N/AIPS_COMPONENT_VERSION= 0.2015.7.5
387N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
387N/ACOMPONENT_PROJECT_URL= http://invisible-island.net/conflict/conflict.html
844N/ACOMPONENT_ARCHIVE_HASH= \
5553N/A sha256:30e14808768a938df139a1b76f8f7397e1b3bf46a18ceabcc8b1b1a70d5ea8a9
387N/ACOMPONENT_ARCHIVE_URL= ftp://invisible-island.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
387N/A
5553N/ATPNO= 27130
2899N/A
5680N/A# We really do need to build conflict so that it can use the files in the
5680N/A# build directory. We are using the installed conflict binary to do this
5680N/A# though when we run the system tests.
5680N/ASYSTEM_TEST_TARGET= build $(SYSTEM_TEST_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
387N/A
387N/A# Required to configure correctly.
387N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
387N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
387N/A
3353N/ACOMPONENT_TEST_DIR = $(BUILD_DIR_64)
3353N/ACOMPONENT_TEST_CMD = ./run_test.sh
3353N/ACOMPONENT_TEST_TARGETS =
3353N/A
3597N/A# The additional conflict specific set of transforms to be applied to the
3597N/A# test results to try to normalize them.
3597N/ACOMPONENT_TEST_TRANSFORMS += \
4745N/A '-e "s|/tmp/conflict\.......|/tmp/conflict\.xxxxxx|g" ' \
4745N/A '-e "s|^\*\* \$$(@D)/.*$$|XXX_CC_XXX|g" ' \
4745N/A '-e "s|^\*\* /usr/bin/.*$$|XXX_CC_XXX|g" ' \
4745N/A '-e "/^XXX_CC_XXX$$/d" '
4745N/A
4745N/ACOMPONENT_SYSTEM_TEST_DIR = $(BUILD_DIR_64)
4745N/ACOMPONENT_SYSTEM_TEST_ENV = CONFLICT_BIN=/usr/bin/conflict
4745N/ACOMPONENT_SYSTEM_TEST_CMD = ./run_test.sh
4745N/ACOMPONENT_SYSTEM_TEST_TARGETS =