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