Makefile revision 1303
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# CDDL HEADER START
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# The contents of this file are subject to the terms of the
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# Common Development and Distribution License (the "License").
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# You may not use this file except in compliance with the License.
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# See the License for the specific language governing permissions
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# and limitations under the License.
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# When distributing Covered Code, include this CDDL HEADER in each
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# If applicable, add the following below this CDDL HEADER, with the
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# fields enclosed by brackets "[]" replaced with your own identifying
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# information: Portions Copyright [yyyy] [name of copyright owner]
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# CDDL HEADER END
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilsonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilsonCOMPONENT_PROJECT_URL= http://www.gnu.org/software/bash/
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson sha256:a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilsonCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/bash/$(COMPONENT_ARCHIVE)
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# Enable C99 mode + -Xc for it's additional warnings.
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# Use the maximum number of registers on sparc since we have no libraries
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# 8 byte memory alignment + interpretation of non-alignment instead of SIGBUS
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# -xinline=%auto -- we like inlining where appropriate
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# -xbuiltin=%none -- builtins have been known to be buggy
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# configure checks for some functions, but doesn't seem to want to link in
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# the required libraries for them. We avoid linking with libthread.so.1
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# just because we pass -mt, by explicitly passing -lc.
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# -z redlocsym -- let's shrink the SHT_SYMTAB as much as we can
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilson# The bash test harness needs the GNU userland utilities
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilsonTEST_PATH = "PATH=$(BUILD_DIR_32):$(GNUBIN):$(USRBINDIR)"
9763c30263c2e128dade7dbb7fa4aeabc936d8b3neil_a_wilsonTEST_OUTPUT = $(COMPONENT_DIR)/bash_test_results_$(MACH).out
TEST_ENV += -i
test: $(TEST_32)