Makefile revision 125
128N/A#
128N/A# CDDL HEADER START
128N/A#
128N/A# The contents of this file are subject to the terms of the
128N/A# Common Development and Distribution License (the "License").
128N/A# You may not use this file except in compliance with the License.
128N/A#
128N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
128N/A# or http://www.opensolaris.org/os/licensing.
128N/A# See the License for the specific language governing permissions
128N/A# and limitations under the License.
128N/A#
128N/A# When distributing Covered Code, include this CDDL HEADER in each
128N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
128N/A# If applicable, add the following below this CDDL HEADER, with the
128N/A# fields enclosed by brackets "[]" replaced with your own identifying
128N/A# information: Portions Copyright [yyyy] [name of copyright owner]
128N/A#
128N/A# CDDL HEADER END
128N/A#
3996N/A
128N/A#
128N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
128N/A#
1273N/A
4170N/Ainclude ../../make-rules/shared-macros.mk
618N/A
1273N/ACOMPONENT_NAME= diffutils
1273N/ACOMPONENT_VERSION= 2.8.7
128N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
844N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4170N/ACOMPONENT_ARCHIVE_HASH= sha1:b05cfdd651137d46d97872dd646db0dd92077f0d
618N/ACOMPONENT_ARCHIVE_URL= http://alpha.gnu.org/gnu/diffutils/$(COMPONENT_ARCHIVE)
1298N/A
128N/Ainclude ../../make-rules/prep.mk
4170N/Ainclude ../../make-rules/configure.mk
3661N/Ainclude ../../make-rules/ips.mk
3996N/A
3996N/ACONFIGURE_OPTIONS += --program-prefix=g
3996N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
128N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
128N/A
128N/AGNUPROGS = cmp diff3 diff sdiff
128N/AGNUMAN1 = cmp.1 diff.1 diff3.1 sdiff.1
128N/A
128N/Ainclude ../../make-rules/shared-targets.mk
128N/A
128N/A# common targets
128N/Abuild: $(BUILD_32)
128N/A
128N/Ainstall: $(INSTALL_32) \
128N/A $(PROTOGNULINKS) $(PROTOGNUMAN1LINKS)
128N/A
128N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
128N/A
128N/Atest: build
128N/A @cd $(BUILD_DIR_32); $(MAKE) check
128N/A
128N/Ainclude ../../make-rules/depend.mk
128N/A