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