Makefile revision 1273
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# CDDL HEADER START
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# The contents of this file are subject to the terms of the
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# Common Development and Distribution License (the "License").
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# You may not use this file except in compliance with the License.
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# See the License for the specific language governing permissions
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# and limitations under the License.
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# When distributing Covered Code, include this CDDL HEADER in each
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# If applicable, add the following below this CDDL HEADER, with the
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# fields enclosed by brackets "[]" replaced with your own identifying
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# information: Portions Copyright [yyyy] [name of copyright owner]
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# CDDL HEADER END
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
2a8d6eba033e4713ab12b61178f0513f1f075482Rod EvansCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2a8d6eba033e4713ab12b61178f0513f1f075482Rod Evans sha256:07b880faf29f3f9d9c0953717002ac29f5d061427797d2487a7c9c169e6395b3
2a8d6eba033e4713ab12b61178f0513f1f075482Rod EvansCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/gcc/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtbGNU_ARCH = $(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# This product bootstraps itself. The gcc flags are not the same
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtb# as Studio flags. -O2 means different things for the two compilers
2a8d6eba033e4713ab12b61178f0513f1f075482Rod Evans# CC_BITS may get in the way
2a8d6eba033e4713ab12b61178f0513f1f075482Rod EvansCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_PREFIX)/share/info
10db1377dafab8ba3feedef26db9c5d8539a5cd1gtbCONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/lib
2a8d6eba033e4713ab12b61178f0513f1f075482Rod EvansCONFIGURE_OPTIONS += --enable-languages="c,c++,fortran,objc"
2a8d6eba033e4713ab12b61178f0513f1f075482Rod EvansCONFIGURE_OPTIONS += --with-mpfr-include=/usr/include/mpfr
test: $(TEST_32)