Makefile revision 7adeeb5aeae42d3b6a4686f45f1fcd4a78b5a459
598N/A# The contents of this file are subject to the terms of the 443N/A# Common Development and Distribution License, Version 1.0 only 443N/A# (the "License"). You may not use this file except in compliance 443N/A# See the License for the specific language governing permissions 443N/A# and limitations under the License. 443N/A# When distributing Covered Code, include this CDDL HEADER in each 443N/A# If applicable, add the following below this CDDL HEADER, with the 443N/A# fields enclosed by brackets "[]" replaced with your own identifying 443N/A# information: Portions Copyright [yyyy] [name of copyright owner] 443N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 443N/A# Use is subject to license terms. 443N/A#ident "%Z%%M% %I% %E% SMI" 443N/A# XPG6MODE: Depending on the version of the compiler, the value of 443N/A# __STDC_VERSION__ may differ even in the presence of the same compilation 443N/A# options. The default compilation mode for Sun compilers that support the 443N/A# C99 standard is -xc99=all,no_lib. C99MODE= is equivalent to -xc99=all,no_lib. 443N/A# This translates to C99 semantics without the C99 library specific behaviors 443N/A# For pre-5.7 compilers (unless patched with 117551-04 or 117552-05), in the 443N/A# default compilation mode, __STDC_VERSION__ was defined to be 199901L. For 443N/A# 5.7 and on compilers, __STDC_VERSION__ defaults to 199409L in order to 443N/A# maintain source compatibility. Neither of these cases results in the 443N/A# it via linking with a local version of the object, or set -xc99=%all which 598N/A# to -xc99=all. If C99_ENABLE is defined and we also attempt to link with a 443N/A# delivered in Solaris 10 and is a stable interface, there is no need to 443N/A# build and link with a local version of the object. 443N/A# The gcc compiler behaves differently and requires -std=gnu99. 443N/A# if we use the c89 utility as opposed to cc.