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