Makefile revision 5072
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
5072N/ACOMPONENT_VERSION= 4.1
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/make/
64N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5072N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
5072N/A sha256:0bc7613389650ee6a24554b52572a272f7356164fd2c4132b0bcf13123e4fca5
64N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/make/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/gnu-make
64N/A
5072N/ATPNO= 24441
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
5072N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
5072N/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)"
5072N/ACONFIGURE_OPTIONS += --without-guile
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
4339N/ACOMPONENT_SYSTEM_TEST_TARGETS= system-test
4339N/Asystem-test: \
4339N/A COMPONENT_TEST_MASTER = \
4339N/A $(COMPONENT_TEST_RESULTS_DIR)/system-results-64.master
4339N/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" ' \
4339N/A '-e "s|^config.status: .*$$|XXX_CC_XXX|g" ' \
4339N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
4339N/A '-e "s|^make.*: Entering directory.*$$|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
4339N/A# the test suite needs to be configured first
4339N/Asystem-test: configure $(SYSTEM_TEST_64)
4337N/A
64N/A
3817N/AREQUIRED_PACKAGES += system/library