Makefile revision 246
128N/A#
128N/A# CDDL HEADER START
128N/A#
128N/A# The contents of this file are subject to the terms of the
128N/A# Common Development and Distribution License (the "License").
128N/A# You may not use this file except in compliance with the License.
128N/A#
128N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
128N/A# or http://www.opensolaris.org/os/licensing.
128N/A# See the License for the specific language governing permissions
128N/A# and limitations under the License.
128N/A#
128N/A# When distributing Covered Code, include this CDDL HEADER in each
128N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
128N/A# If applicable, add the following below this CDDL HEADER, with the
128N/A# fields enclosed by brackets "[]" replaced with your own identifying
128N/A# information: Portions Copyright [yyyy] [name of copyright owner]
128N/A#
128N/A# CDDL HEADER END
128N/A#
844N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
128N/A#
128N/Ainclude ../../make-rules/shared-macros.mk
128N/A
1273N/ACOMPONENT_NAME= binutils
1243N/ACOMPONENT_VERSION= 2.19
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1273N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
1273N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
128N/ACOMPONENT_ARCHIVE_HASH= sha1:a150b97ec47996bf8f01d6bc14d41587faa4bbff
844N/A
1243N/Ainclude ../../make-rules/prep.mk
618N/Ainclude ../../make-rules/configure.mk
1273N/Ainclude ../../make-rules/ips.mk
128N/A
128N/APARCH = $(MACH:i386=i386-pc)
128N/AGNU_ARCH = $(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
128N/A
128N/APKG_MACROS += GNU_ARCH="$(GNU_ARCH)"
128N/A
128N/ACONFIGURE_PREFIX = /usr/gnu
128N/A
128N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
128N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
128N/ACONFIGURE_OPTIONS += --enable-64-bit-bfd
128N/A
128N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
128N/A
128N/A# common targets
128N/Abuild: $(BUILD_32)
128N/A
128N/Ainstall: $(INSTALL_32)
128N/A
128N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
128N/A
128N/Atest: $(TEST_32)
128N/A
128N/Ainclude ../../make-rules/depend.mk
128N/A