Makefile revision 1268
1268N/A#
1268N/A# CDDL HEADER START
1268N/A#
1268N/A# The contents of this file are subject to the terms of the
1268N/A# Common Development and Distribution License (the "License").
1268N/A# You may not use this file except in compliance with the License.
1268N/A#
1268N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1268N/A# or http://www.opensolaris.org/os/licensing.
1268N/A# See the License for the specific language governing permissions
1268N/A# and limitations under the License.
1268N/A#
1268N/A# When distributing Covered Code, include this CDDL HEADER in each
1268N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1268N/A# If applicable, add the following below this CDDL HEADER, with the
1268N/A# fields enclosed by brackets "[]" replaced with your own identifying
1268N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1268N/A#
1268N/A# CDDL HEADER END
1268N/A#
1268N/A# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
1268N/A#
1268N/Ainclude ../../make-rules/shared-macros.mk
1268N/A
1268N/ACOMPONENT_NAME= wdiff
1268N/ACOMPONENT_VERSION= 1.1.0
1268N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/wdiff/
1268N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1268N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1268N/ACOMPONENT_ARCHIVE_HASH= \
1268N/A sha256:b154bba7f5a6b76c9eff1ddd5d5850b0a6dc2332d2a1eda29444c68ecea7e5d1
1268N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/wdiff/$(COMPONENT_ARCHIVE)
1268N/ACOMPONENT_BUGDB= utility/wdiff
1268N/A
1268N/Ainclude ../../make-rules/prep.mk
1268N/Ainclude ../../make-rules/configure.mk
1268N/Ainclude ../../make-rules/ips.mk
1268N/A
1268N/A# Needed to properly build the wdiff.info file to not include the
1268N/A# experimental utilities (mdiff, unify and wdiff2).
1268N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
1268N/A (cd $(SOURCE_DIR)/doc; $(RM) flags.texi)
1268N/A
1268N/ACONFIGURE_OPTIONS += CC="$(CC) -m64"
1268N/A
1268N/ACFLAGS += -DDIFF_PROGRAM="/usr/gnu/bin/diff"
1268N/A
1268N/ACOMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
1268N/A
1268N/Abuild: $(BUILD_64)
1268N/A
1268N/Ainstall: $(INSTALL_64)
1268N/A
1268N/Atest: $(TEST_64)
1268N/A
1268N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1268N/A
1268N/Ainclude ../../make-rules/depend.mk