Makefile revision 3993
64N/A#
64N/A# CDDL HEADER START
64N/A#
64N/A# The contents of this file are subject to the terms of the
64N/A# Common Development and Distribution License (the "License").
64N/A# You may not use this file except in compliance with the License.
64N/A#
64N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
64N/A# or http://www.opensolaris.org/os/licensing.
64N/A# See the License for the specific language governing permissions
64N/A# and limitations under the License.
64N/A#
64N/A# When distributing Covered Code, include this CDDL HEADER in each
64N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
64N/A# If applicable, add the following below this CDDL HEADER, with the
64N/A# fields enclosed by brackets "[]" replaced with your own identifying
64N/A# information: Portions Copyright [yyyy] [name of copyright owner]
64N/A#
64N/A# CDDL HEADER END
64N/A#
75N/A
75N/A#
3817N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
64N/A#
64N/A
64N/Ainclude ../../make-rules/shared-macros.mk
64N/A
64N/ACOMPONENT_NAME= make
752N/ACOMPONENT_VERSION= 3.82
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/make/
64N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
64N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:3d991b33e604187c5881a0abc2e102d5b9776da5569640e73778f85d617242e7
64N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/make/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/gnu-make
64N/A
2899N/ATPNO= 5521
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
64N/A
1591N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
1591N/A
64N/ACONFIGURE_OPTIONS += --program-prefix=g
64N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
64N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
64N/A
3993N/A# force re-runs to be the same
3993N/ACOMPONENT_PRE_TEST_ACTION = \
3993N/A ($(TOUCH) $(SOURCE_DIR)/getloadavg.c)
3993N/A
3993N/A# Strip compilation lines from test output
3993N/ACOMPONENT_TEST_TRANSFORMS += \
3993N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^1-minute.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.*load average.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.*Running tests for GNU make.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^.==========.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "s|^Clearing work.*$$|XXX_CC_XXX|g" ' \
3993N/A '-e "/^XXX_CC_XXX$$/d" '
3993N/A
3993N/A
1591N/AASLR_MODE = $(ASLR_ENABLE)
64N/A
64N/A# common targets
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
1591N/Abuild: $(BUILD_64)
64N/A
1591N/Ainstall: $(INSTALL_64)
181N/A
1591N/Atest: $(TEST_64)
64N/A
64N/A
3817N/AREQUIRED_PACKAGES += system/library