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