Makefile revision 1026
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# CDDL HEADER START
7b1dc4100fa5a3afee36f6eb379a067a1a0f7c3cChristian Maeder# The contents of this file are subject to the terms of the
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu# Common Development and Distribution License (the "License").
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# You may not use this file except in compliance with the License.
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# or http://www.opensolaris.org/os/licensing.
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# See the License for the specific language governing permissions
e6d40133bc9f858308654afb1262b8b483ec5922Till Mossakowski# and limitations under the License.
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder# When distributing Covered Code, include this CDDL HEADER in each
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# CDDL HEADER END
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
179581802dda2f071129f542a2c10e28b35c45b9Christian MaederCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
179581802dda2f071129f542a2c10e28b35c45b9Christian MaederCOMPONENT_PROJECT_URL= http://www.gnu.org/software/bash/
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder sha256:3f627124a83c6d34db503a923e20710d370573a29dd5d11d6f116d1aee7be1da
1dfd1687e9ee6a45e2cb5268a701ead79c1c1f79Christian MaederCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/bash/$(COMPONENT_ARCHIVE)
179581802dda2f071129f542a2c10e28b35c45b9Christian MaederIPS_COMPONENT_VERSION = $(COMPONENT_VERSION).9
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# Enable C99 mode + -Xc for it's additional warnings.
1dfd1687e9ee6a45e2cb5268a701ead79c1c1f79Christian Maeder# Use the maximum number of registers on sparc since we have no libraries
71bf376677866b4735ae3c13ee08a863d25c1188Christian Maeder# 8 byte memory alignment + interpretation of non-alignment instead of SIGBUS
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# -xinline=%auto -- we like inlining where appropriate
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# -xbuiltin=%none -- builtins have been known to be buggy
1dfd1687e9ee6a45e2cb5268a701ead79c1c1f79Christian Maeder# configure checks for some functions, but doesn't seem to want to link in
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# the required libraries for them. We avoid linking with libthread.so.1
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# just because we pass -mt, by explicitly passing -lc.
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# -z redlocsym -- let's shrink the SHT_SYMTAB as much as we can
179581802dda2f071129f542a2c10e28b35c45b9Christian Maeder# The bash test harness needs the GNU userland utilities
179581802dda2f071129f542a2c10e28b35c45b9Christian MaederTEST_PATH = "PATH=$(BUILD_DIR_32):$(GNUBIN):$(USRBINDIR)"
179581802dda2f071129f542a2c10e28b35c45b9Christian MaederTEST_OUTPUT = $(COMPONENT_DIR)/bash_test_results_$(MACH).out
ad270004874ce1d0697fb30d7309f180553bb315Christian MaederCONFIGURE_OPTIONS += --enable-arith-for-command
ad270004874ce1d0697fb30d7309f180553bb315Christian MaederCONFIGURE_OPTIONS += --enable-array-variables
2a5b885d9350ec6dd8bc4992ee91d2f68aa592f4Christian MaederCONFIGURE_OPTIONS += --enable-brace-expansion
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian MaederCONFIGURE_OPTIONS += --enable-casemod-attributes
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian MaederCONFIGURE_OPTIONS += --enable-casemod-expansions
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian MaederCONFIGURE_OPTIONS += --enable-command-timing
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian MaederCONFIGURE_OPTIONS += --enable-directory-stack
f8b715ab2993083761c0aedb78f1819bcf67b6ccChristian MaederCONFIGURE_OPTIONS += --enable-disabled-builtins
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian MaederCONFIGURE_OPTIONS += --enable-dparen-arithmetic
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian MaederCONFIGURE_OPTIONS += --enable-net-redirections
28798fabeec3863d7fc9c2e9a320ff9c0d6003c4Klaus LuettichCONFIGURE_OPTIONS += --enable-process-substitution
28798fabeec3863d7fc9c2e9a320ff9c0d6003c4Klaus LuettichCONFIGURE_OPTIONS += --enable-prompt-string-decoding
01aafb6a9520f05df5ff467b591ecb5474dcfc86Christian MaederCONFIGURE_OPTIONS += --enable-separate-helpfiles
5ea0d62951bb02a11498060bdc36ca037812eafdKlaus LuettichCONFIGURE_OPTIONS += --enable-single-help-strings
5ea0d62951bb02a11498060bdc36ca037812eafdKlaus LuettichCONFIGURE_OPTIONS += --disable-strict-posix-default
5ea0d62951bb02a11498060bdc36ca037812eafdKlaus LuettichCONFIGURE_OPTIONS += --enable-usg-echo-default
c26a3acec49af0a3af54b789e56619b25ac661d9Christian MaederCONFIGURE_OPTIONS += --enable-xpg-echo-default
23e0b003dd27c804487db4d3a9fc8ff2f452cb77Christian MaederCONFIGURE_OPTIONS += --with-installed-readline=no