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