Makefile revision 75
155N/A#
155N/A# CDDL HEADER START
155N/A#
155N/A# The contents of this file are subject to the terms of the
155N/A# Common Development and Distribution License (the "License").
155N/A# You may not use this file except in compliance with the License.
155N/A#
155N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
155N/A# or http://www.opensolaris.org/os/licensing.
155N/A# See the License for the specific language governing permissions
155N/A# and limitations under the License.
155N/A#
155N/A# When distributing Covered Code, include this CDDL HEADER in each
155N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155N/A# If applicable, add the following below this CDDL HEADER, with the
155N/A# fields enclosed by brackets "[]" replaced with your own identifying
155N/A# information: Portions Copyright [yyyy] [name of copyright owner]
155N/A#
155N/A# CDDL HEADER END
155N/A#
3817N/A
155N/A#
155N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
155N/A#
485N/A
485N/Ainclude ../../make-rules/shared-macros.mk
277N/A
277N/ACOMPONENT_NAME= make
277N/ACOMPONENT_VERSION= 3.81
277N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
155N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1499N/ACOMPONENT_ARCHIVE_HASH= sha1:cd4fa5a3184176492bf0799593a8f250a728210c
155N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/make/$(COMPONENT_ARCHIVE)
618N/A
155N/Ainclude ../../make-rules/prep.mk
155N/Ainclude ../../make-rules/configure.mk
844N/Ainclude ../../make-rules/ips.mk
1499N/A
155N/ACONFIGURE_OPTIONS += --program-prefix=g
1258N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
3557N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
155N/A
3817N/AGNUPROGS = make
3817N/AGNUMAN1 = make.1
3817N/ASFWPROGS= gmake
155N/ASFWMAN1= gmake.1
155N/A
215N/APROTOGNULINKS = $(GNUPROGS:%=$(PROTOGNUBIN)/%)
215N/A
215N/A$(PROTOGNULINKS): $(PROTOGNUBIN)
215N/A $(RM) $@ ; $(SYMLINK) ../../bin/g$(@F) $@
215N/A
215N/APROTOGNUMAN1LINKS = $(GNUMAN1:%=$(PROTOGNUSHAREMAN1)/%)
215N/A
215N/A$(PROTOGNUMAN1LINKS): $(PROTOGNUSHAREMAN1)
215N/A $(RM) $@ ; $(SYMLINK) ../../../../share/man/man1/g$(@F) $@
215N/A
215N/Ainclude ../../make-rules/shared-targets.mk
215N/A
215N/A# common targets
215N/Abuild: $(BUILD_32)
3901N/A
3901N/Ainstall: $(INSTALL_32) \
3901N/A $(PROTOGNULINKS) $(PROTOGNUMAN1LINKS) \
215N/A $(PROTOSFWLINKS) $(PROTOSFWMAN1LINKS)
155N/A
155N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
155N/A
155N/Ainclude ../../make-rules/depend.mk
155N/A