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