Makefile revision 5546
286N/A#
286N/A# CDDL HEADER START
286N/A#
286N/A# The contents of this file are subject to the terms of the
286N/A# Common Development and Distribution License (the "License").
286N/A# You may not use this file except in compliance with the License.
286N/A#
286N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
286N/A# or http://www.opensolaris.org/os/licensing.
286N/A# See the License for the specific language governing permissions
286N/A# and limitations under the License.
286N/A#
286N/A# When distributing Covered Code, include this CDDL HEADER in each
286N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
286N/A# If applicable, add the following below this CDDL HEADER, with the
286N/A# fields enclosed by brackets "[]" replaced with your own identifying
286N/A# information: Portions Copyright [yyyy] [name of copyright owner]
286N/A#
286N/A# CDDL HEADER END
286N/A#
286N/A
286N/A#
286N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
286N/A#
286N/A
286N/Ainclude ../../make-rules/shared-macros.mk
286N/A
286N/ACOMPONENT_NAME= findutils
286N/ACOMPONENT_VERSION= 4.6.0
286N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/findutils/
286N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
286N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
286N/ACOMPONENT_ARCHIVE_HASH= \
286N/A sha256:ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d
286N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
286N/ACOMPONENT_BUGDB= utility/gnu-findutils
286N/A
286N/ATPNO= 27155
286N/A
286N/Ainclude $(WS_MAKE_RULES)/prep.mk
286N/Ainclude $(WS_MAKE_RULES)/configure.mk
286N/Ainclude $(WS_MAKE_RULES)/ips.mk
286N/A
286N/ACONFIGURE_PREFIX = /usr/gnu
286N/A
286N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
286N/A
286N/A# Fixes coredump in the tests/test-localename test.
286N/ACONFIGURE_OPTIONS += ac_cv_func_newlocale=no
286N/A
286N/A# Disable the leaf optimisation feature, because the st_nlinks directory
286N/A# field is incorrect on ZFS file systems.
286N/ACONFIGURE_OPTIONS += --disable-leaf-optimisation
286N/A
286N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
286N/A
286N/ACOMPONENT_TEST_TRANSFORMS += \
286N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
286N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
286N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
286N/A '-e "s|^.*(core dumped).*$$|XXX_CC_XXX|g" ' \
286N/A '-e "/^XXX_CC_XXX$$/d" ' \
286N/A '-e "s|\(Test Run By\).*|\1|" ' \
286N/A '-e "s|\(Native configuration is\).*|\1|" '
286N/A
286N/AASLR_MODE = $(ASLR_ENABLE)
286N/A
286N/Aconfigure: $(CONFIGURE_64)
286N/A
286N/Abuild: $(BUILD_64)
286N/A
286N/Ainstall: $(INSTALL_64)
286N/A
286N/A# Needed for "gmake test" to work successfully.
286N/A# Otherwise we see errors such as:
286N/A# FAIL: exec-nogaps.old-O3, sh: SHELLOPTS: readonly variable
286N/Aunexport SHELLOPTS
286N/A
286N/Atest: $(TEST_64)
286N/A
286N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
286N/A
286N/A
286N/A# test dependencies:
286N/AREQUIRED_PACKAGES += developer/versioning/cvs
286N/AREQUIRED_PACKAGES += developer/versioning/git
286N/A
286N/AREQUIRED_PACKAGES += system/library
286N/AREQUIRED_PACKAGES += system/library/math
286N/A