Makefile revision 3661
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# CDDL HEADER START
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# The contents of this file are subject to the terms of the
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# Common Development and Distribution License (the "License").
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# You may not use this file except in compliance with the License.
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# or http://www.opensolaris.org/os/licensing.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence#
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
6c6894f0a0b7ae9683b2f279952a13920d22feb4Andreas Gustafsson#
a252c2771f59409d38b12d076513aeef89c3aeb1David Lawrence
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleyinclude ../../make-rules/shared-macros.mk
90c099e88e9f16bfee9edee3ac1a51fc98843772Brian Wellington
90c099e88e9f16bfee9edee3ac1a51fc98843772Brian WellingtonCOMPONENT_NAME= diffutils
a3a11c4f3fc9ba972802b811c4d95a9884d6ff4aMichael SawyerCOMPONENT_VERSION= 2.8.7
a3a11c4f3fc9ba972802b811c4d95a9884d6ff4aMichael SawyerCOMPONENT_PROJECT_URL= http://www.gnu.org/software/diffutils/
6017f424ee3c02d7f22132c77576ea38542fa949Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyCOMPONENT_ARCHIVE_HASH= \
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley sha256:53d9c10830ac322c00dfcccf60d961014e767da86d2c802ccc5cbad7e7aea07c
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyCOMPONENT_ARCHIVE_URL= http://alpha.gnu.org/gnu/diffutils/$(COMPONENT_ARCHIVE)
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyCOMPONENT_BUGDB= utility/gnu-diffutils
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyTPNO= 6324
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleyinclude ../../make-rules/prep.mk
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleyinclude ../../make-rules/configure.mk
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleyinclude ../../make-rules/ips.mk
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
bc9515e5a2a1618c9b7927de50be4d3ee87c77f2Brian WellingtonCONFIGURE_BINDIR.32 = $(CONFIGURE_PREFIX)/gnu/bin
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
ca9739800f045cd4d39014f98b920d4354b5bd14Michael GraffCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
165250c40336857867bbfc29023d3d06fc823b97Brian WellingtonCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
f8dfdef682c54f61cacebfb31260f3d6ba4ea54aMark Andrews
f8dfdef682c54f61cacebfb31260f3d6ba4ea54aMark Andrews# common targets
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleybuild: $(BUILD_32)
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleyinstall: $(INSTALL_32)
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleytest: $(TEST_32)
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
90c099e88e9f16bfee9edee3ac1a51fc98843772Brian Wellington
7efc8c3f692fc3226c00ce8bdc1b90eb06562352David Lawrenceinclude ../../make-rules/depend.mk
f1f2f8bd47370a231c5c700ef918bd6ad6c7d042Andreas Gustafsson