Makefile revision 887
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#
811N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
387N/A#
387N/A
387N/Ainclude ../../make-rules/shared-macros.mk
387N/A
387N/ACOMPONENT_NAME= conflict
811N/ACOMPONENT_VERSION= 20100627
811N/AIPS_COMPONENT_VERSION= 0.2010.6.27
387N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
387N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
387N/ACOMPONENT_PROJECT_URL= http://invisible-island.net/conflict/conflict.html
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:e795d7d580d2a2bb5081bcf9b0efe6d86567fd29770c60de90da7c07105bfeb9
387N/ACOMPONENT_ARCHIVE_URL= ftp://invisible-island.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
387N/A
387N/Ainclude ../../make-rules/prep.mk
387N/Ainclude ../../make-rules/configure.mk
387N/Ainclude ../../make-rules/ips.mk
387N/A
387N/A# Required to configure correctly.
387N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
387N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
387N/A
387N/ACONFIGURE_ENV += "CC=$(CC)"
387N/A
387N/A# If the configure options are not explicitly set, then configure fails with:
387N/A# configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
387N/A# configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
387N/A# configure: error: can only configure for one host and one target at a time
387N/ACONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
387N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
387N/A
387N/A# common targets
387N/Abuild: $(BUILD_32)
387N/A
387N/Ainstall: $(INSTALL_32)
387N/A
387N/Atest: build
387N/A @cd $(BUILD_DIR_32); ./run_test.sh
387N/A
387N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
387N/A
387N/Ainclude ../../make-rules/depend.mk