Makefile revision 844
0075dcb5aeeee4864fe9f64db82c8a8202bbe6d6henning mueller#
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller# CDDL HEADER START
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller#
9c9b4f0d0199c3b1dbff564b87435b6693b7e692Julian Kornberger# The contents of this file are subject to the terms of the
7ea9649883e1bbe8f2582db1a3c66af8b7206056henning mueller# Common Development and Distribution License (the "License").
0075dcb5aeeee4864fe9f64db82c8a8202bbe6d6henning mueller# You may not use this file except in compliance with the License.
cbb18f95cb8354f0c3fb44ba5134dadc7ad6b2ecJulian Kornberger#
3cd45197413df1ff1401697720f1ac9ccef8f8eehenning mueller# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3cd45197413df1ff1401697720f1ac9ccef8f8eehenning mueller# or http://www.opensolaris.org/os/licensing.
3cd45197413df1ff1401697720f1ac9ccef8f8eehenning mueller# See the License for the specific language governing permissions
ec96c6e3605c2e9eb5c0113e4e1b07b3b5228c8chenning mueller# and limitations under the License.
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller#
d12cf3a51e30d69a53108694ba68ba584942dbb8henning mueller# When distributing Covered Code, include this CDDL HEADER in each
bafdf16599e50320117ec8630e771b47ebab2219henning mueller# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller# If applicable, add the following below this CDDL HEADER, with the
0772cf7b22adf46dbab68e829d6a2cd8e8d1bc2ahenning mueller# fields enclosed by brackets "[]" replaced with your own identifying
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian Kornberger# information: Portions Copyright [yyyy] [name of copyright owner]
7ea9649883e1bbe8f2582db1a3c66af8b7206056henning mueller#
8d4d8ac34f199d5c7d26694fabbfe2ab6bc0f9d9henning mueller# CDDL HEADER END
8d4d8ac34f199d5c7d26694fabbfe2ab6bc0f9d9henning mueller#
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller
8d4d8ac34f199d5c7d26694fabbfe2ab6bc0f9d9henning mueller#
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
8d4d8ac34f199d5c7d26694fabbfe2ab6bc0f9d9henning mueller#
8d4d8ac34f199d5c7d26694fabbfe2ab6bc0f9d9henning mueller
0075dcb5aeeee4864fe9f64db82c8a8202bbe6d6henning muellerinclude ../../make-rules/shared-macros.mk
COMPONENT_NAME= conflict
COMPONENT_VERSION= 20100627
IPS_COMPONENT_VERSION= 0.2010.6.27
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
COMPONENT_PROJECT_URL= http://invisible-island.net/conflict/conflict.html
COMPONENT_ARCHIVE_HASH= \
sha256:e795d7d580d2a2bb5081bcf9b0efe6d86567fd29770c60de90da7c07105bfeb9
COMPONENT_ARCHIVE_URL= ftp://invisible-island.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../make-rules/ips.mk
# Required to configure correctly.
COMPONENT_PRE_CONFIGURE_ACTION = \
($(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