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