Makefile revision 3661
413N/A#
413N/A# CDDL HEADER START
413N/A#
413N/A# The contents of this file are subject to the terms of the
413N/A# Common Development and Distribution License (the "License").
413N/A# You may not use this file except in compliance with the License.
413N/A#
413N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
413N/A# or http://www.opensolaris.org/os/licensing.
413N/A# See the License for the specific language governing permissions
413N/A# and limitations under the License.
413N/A#
413N/A# When distributing Covered Code, include this CDDL HEADER in each
413N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
413N/A# If applicable, add the following below this CDDL HEADER, with the
413N/A# fields enclosed by brackets "[]" replaced with your own identifying
413N/A# information: Portions Copyright [yyyy] [name of copyright owner]
413N/A#
413N/A# CDDL HEADER END
413N/A#
413N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
413N/A#
844N/Ainclude ../../make-rules/shared-macros.mk
413N/A
413N/ACOMPONENT_NAME= binutils
413N/ACOMPONENT_VERSION= 2.23.1
413N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/binutils/
413N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
413N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
413N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
413N/ACOMPONENT_ARCHIVE_HASH= \
413N/A sha256:2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19
844N/ACOMPONENT_BUGDB= utility/gnu-binutils
844N/A
413N/ATPNO= 7483
413N/A
413N/Ainclude ../../make-rules/prep.mk
413N/Ainclude ../../make-rules/configure.mk
413N/Ainclude ../../make-rules/ips.mk
413N/A
413N/APARCH = $(MACH:i386=i386-pc)
413N/AGNU_ARCH = $(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
413N/A
413N/APKG_MACROS += GNU_ARCH="$(GNU_ARCH)"
413N/A
413N/ACFLAGS += $(studio_C99_ENABLE) $(CPP_XPG6MODE)
416N/ACFLAGS += $(CPP_LARGEFILES) $(CPP_POSIX)
413N/ACXXFLAGS += $(CPP_LARGEFILES) $(CPP_POSIX)
413N/ACPPFLAGS += $(CPP_LARGEFILES) $(CPP_POSIX)
413N/A
413N/ACONFIGURE_PREFIX = /usr/gnu
413N/A
413N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
416N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
416N/ACONFIGURE_OPTIONS += --enable-64-bit-bfd
416N/ACONFIGURE_OPTIONS += --enable-gold=no
413N/ACONFIGURE_OPTIONS += --enable-plugins=no
413N/ACONFIGURE_OPTIONS += --enable-nls
413N/ACONFIGURE_OPTIONS += --disable-libtool-lock
413N/ACONFIGURE_OPTIONS += --enable-largefile=yes
413N/A
413N/ACONFIGURE_OPTIONS += CC="$(CC)"
CONFIGURE_OPTIONS += CXX="$(CXX)"
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
test: $(TEST_32)
include ../../make-rules/depend.mk