Makefile revision 844
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein#
e32adabcbf3bf5b69ba2e8b163b971839efc94dbtrawick# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# You may not use this file except in compliance with the License.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# or http://www.opensolaris.org/os/licensing.
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# See the License for the specific language governing permissions
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# and limitations under the License.
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick#
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# When distributing Covered Code, include this CDDL HEADER in each
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# If applicable, add the following below this CDDL HEADER, with the
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# fields enclosed by brackets "[]" replaced with your own identifying
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# information: Portions Copyright [yyyy] [name of copyright owner]
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# CDDL HEADER END
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames#
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames
5ac928b7a71a12bc1a6b42194c47edbff1dcc02fgregames#
5ac928b7a71a12bc1a6b42194c47edbff1dcc02fgregames# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames#
5b233db661cfc7c8c420dfe63d8e7058bc5d3e62trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawickinclude ../../make-rules/shared-macros.mk
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_NAME= conflict
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_VERSION= 20100627
f467b575e2698cfeb818b357b00b2a13873eb309trawickIPS_COMPONENT_VERSION= 0.2010.6.27
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_PROJECT_URL= http://invisible-island.net/conflict/conflict.html
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_ARCHIVE_HASH= \
f467b575e2698cfeb818b357b00b2a13873eb309trawick sha256:e795d7d580d2a2bb5081bcf9b0efe6d86567fd29770c60de90da7c07105bfeb9
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_ARCHIVE_URL= ftp://invisible-island.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawickinclude ../../make-rules/prep.mk
f467b575e2698cfeb818b357b00b2a13873eb309trawickinclude ../../make-rules/configure.mk
f467b575e2698cfeb818b357b00b2a13873eb309trawickinclude ../../make-rules/ips.mk
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawick# Required to configure correctly.
f467b575e2698cfeb818b357b00b2a13873eb309trawickCOMPONENT_PRE_CONFIGURE_ACTION = \
f467b575e2698cfeb818b357b00b2a13873eb309trawick ($(CLONEY) $(SOURCE_DIR) $(@D))
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawickCONFIGURE_ENV += "CC=$(CC)"
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawick# If the configure options are not explicitly set, then configure fails with:
f467b575e2698cfeb818b357b00b2a13873eb309trawick# configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
f467b575e2698cfeb818b357b00b2a13873eb309trawick# configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
f467b575e2698cfeb818b357b00b2a13873eb309trawick# configure: error: can only configure for one host and one target at a time
f467b575e2698cfeb818b357b00b2a13873eb309trawickCONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
f467b575e2698cfeb818b357b00b2a13873eb309trawickCONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawick# common targets
f467b575e2698cfeb818b357b00b2a13873eb309trawickbuild: $(BUILD_32)
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawickinstall: $(INSTALL_32)
f467b575e2698cfeb818b357b00b2a13873eb309trawick
f467b575e2698cfeb818b357b00b2a13873eb309trawicktest: build
2b4a4e1af8497e0f4600ef7b79d284e71f374052trawick @cd $(BUILD_DIR_32); ./run_test.sh
2b4a4e1af8497e0f4600ef7b79d284e71f374052trawick
2b4a4e1af8497e0f4600ef7b79d284e71f374052trawickBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2b4a4e1af8497e0f4600ef7b79d284e71f374052trawick
e5d1a36ad35f809c6f1bd3339aae78569abdd48ctrawickinclude ../../make-rules/depend.mk
e5d1a36ad35f809c6f1bd3339aae78569abdd48ctrawick