Makefile revision 5aefb6555731130ca4fd295960123d71f2d21fe8
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# CDDL HEADER START
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# The contents of this file are subject to the terms of the
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# Common Development and Distribution License (the "License").
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# You may not use this file except in compliance with the License.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# See the License for the specific language governing permissions
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# and limitations under the License.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# When distributing Covered Code, include this CDDL HEADER in each
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# If applicable, add the following below this CDDL HEADER, with the
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# fields enclosed by brackets "[]" replaced with your own identifying
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# information: Portions Copyright [yyyy] [name of copyright owner]
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# CDDL HEADER END
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
8f2a34cc6964a1f80a1434e05315a7ae0bb5774eSimo Sorce# Use is subject to license terms.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# ident "%Z%%M% %I% %E% SMI"
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# Object lists are organized into primary (most frequently used code) and
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# secondary lists (less frequently used code, ie. a.out support).
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# __GNUC is overridden in the environment when building with gcc
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# We build sparc objects with cc by default
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce$(__GNUC)MAPFILE-ORDER = ../common/mapfile-order-gcc
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce# Add any machine specific flags.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceASFLAGS += -s -K pic -D__sparcv9 -D_ELF64 $(sparcv9_XARCH)