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