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