Makefile revision 2899
904N/A#
904N/A# CDDL HEADER START
904N/A#
904N/A# The contents of this file are subject to the terms of the
904N/A# Common Development and Distribution License (the "License").
904N/A# You may not use this file except in compliance with the License.
904N/A#
904N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
904N/A# or http://www.opensolaris.org/os/licensing.
904N/A# See the License for the specific language governing permissions
904N/A# and limitations under the License.
904N/A#
904N/A# When distributing Covered Code, include this CDDL HEADER in each
904N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
904N/A# If applicable, add the following below this CDDL HEADER, with the
904N/A# fields enclosed by brackets "[]" replaced with your own identifying
904N/A# information: Portions Copyright [yyyy] [name of copyright owner]
904N/A#
904N/A# CDDL HEADER END
904N/A#
3817N/A
904N/A#
904N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
904N/A#
1244N/A
904N/Ainclude ../../make-rules/shared-macros.mk
904N/A
904N/ACOMPONENT_NAME= diffutils
1258N/ACOMPONENT_VERSION= 3.2
4194N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/diffutils/
3817N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
904N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2891N/ACOMPONENT_ARCHIVE_HASH= \
2891N/A sha256:2aaaebef615be7dc365306a14caa5d273a4fc174f9f10abca8b60e082c054ed3
2891N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/diffutils/$(COMPONENT_ARCHIVE)
2891N/ACOMPONENT_BUGDB= utility/gnu-diffutils
1938N/A
1938N/ATPNO= 10502
4337N/A
3817N/Ainclude ../../make-rules/prep.mk
3817N/Ainclude ../../make-rules/configure.mk
include ../../make-rules/ips.mk
# Need to reduce optimization level in order to successfully run the
# configure test for detecting whether Solaris can detect stack overflow.
# See CR #16954300.
studio_OPT = -xO3
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(TEST_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk