Makefile revision 811
4070N/A#
4070N/A# CDDL HEADER START
4070N/A#
4070N/A# The contents of this file are subject to the terms of the
4070N/A# Common Development and Distribution License (the "License").
4070N/A# You may not use this file except in compliance with the License.
4070N/A#
4070N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4070N/A# or http://www.opensolaris.org/os/licensing.
4070N/A# See the License for the specific language governing permissions
4070N/A# and limitations under the License.
4070N/A#
4070N/A# When distributing Covered Code, include this CDDL HEADER in each
4070N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4070N/A# If applicable, add the following below this CDDL HEADER, with the
4070N/A# fields enclosed by brackets "[]" replaced with your own identifying
4070N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4070N/A#
4070N/A# CDDL HEADER END
4070N/A#
4070N/A
4070N/A#
6033N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
4070N/A#
4070N/A
4070N/Ainclude ../../make-rules/shared-macros.mk
4070N/A
4070N/ACOMPONENT_NAME= conflict
6033N/ACOMPONENT_VERSION= 20100627
4070N/AIPS_COMPONENT_VERSION= 0.2010.6.27
4070N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4070N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
6033N/ACOMPONENT_PROJECT_URL= http://invisible-island.net/conflict/conflict.html
4070N/ACOMPONENT_ARCHIVE_HASH= sha1:cd81d6586ed360dae201910cf0db82951f380bad
4070N/ACOMPONENT_ARCHIVE_URL= ftp://invisible-island.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
4070N/A
4070N/Ainclude ../../make-rules/prep.mk
6033N/Ainclude ../../make-rules/configure.mk
4070N/Ainclude ../../make-rules/ips.mk
4070N/A
4070N/A# Required to configure correctly.
4070N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
4070N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
4070N/A
4070N/ACONFIGURE_ENV += "CC=$(CC)"
4070N/A
4070N/A# If the configure options are not explicitly set, then configure fails with:
4070N/A# configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
4070N/A# configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
4070N/A# configure: error: can only configure for one host and one target at a time
4070N/ACONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
4070N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
4070N/A
4070N/A# common targets
4070N/Abuild: $(BUILD_32)
4070N/A
4070N/Ainstall: $(INSTALL_32)
4070N/A
4070N/Atest: build
@cd $(BUILD_DIR_32); ./run_test.sh
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk