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