Makefile revision 69bb4bb45c98da60d21839c4dc3c01ea1be60585
524N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 292N/A# See the License for the specific language governing permissions 292N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 292N/A# fields enclosed by brackets "[]" replaced with your own identifying 292N/A# information: Portions Copyright [yyyy] [name of copyright owner] 292N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 292N/A# Use is subject to license terms. 292N/A# ident "%Z%%M% %I% %E% SMI" 0N/A# objects are grouped by source directory 454N/A# sysobjs that contain large-file interfaces 0N/A# objects under ../port which contain transitional large file interfaces 79N/A# objects from source under ../port 470N/A# c89 variants to support 32-bit size of c89 u/intmax_t (32-bit libc only) 180N/A# portable stdio objects that contain large file interfaces. 180N/A# Note: fopen64 is a special case, as we build it small. 231N/A# objects that implement the transitional large file API 0N/A# modules whose source is provided in the $(SRC)/lib/common directory. 0N/A# This must be done because otherwise the Sun C compiler would insert 0N/A# its own versions of these modules and those versions contain code 0N/A# to call out to C++ initialization functions. Such C++ initialization 0N/A# functions can call back into libc before thread initialization is 565N/A# complete and this leads to segmentation violations and other problems. 565N/A# Since libc contains no C++ code, linking with the minimal crti.o and 565N/A# crtn.o modules is safe and avoids the problems described above. 565N/A# include common library definitions 565N/A# conditions such as the settings of CFLAGS and CPPFLAGS for the libc_i18n stuff 565N/A# need to be compatible with the ones for the libc stuff. Whenever the changes 0N/A# that affect the compilation conditions of libc happened, those for libc_i18n 0N/A# also need to be updated. 0N/A# This is necessary to avoid problems with calling _ex_unwind(). 0N/A# We probably don't want any inlining anyway. 0N/A# Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...) 0N/A# enables ASSERT() checking in the threads portion of the library. 0N/A# This is automatically enabled for DEBUG builds, not for non-debug builds. 565N/A# Inform the run-time linker about libc specialized initialization 565N/A# Override this top level flag so the compiler builds in its native 565N/A# C99 mode. This has been enabled to support the complex arithmetic 565N/A# libc method of building an archive 565N/A# extra files for the clean target 247N/A# list of C source for lint 0N/A# conditional assignments 0N/A# Files which need the threads .il inline template 0N/A# special kludge for inlines with 'cas': 0N/A# Files in fp subdirectory which need __quad.il inline template 0N/A# large-file-aware components that should be built large 0N/A# Files which need extra optimization 456N/A# object files that depend on inline template 0N/A# include common libc targets 0N/A# We need to strip out all CTF and DOF data from the static library 0N/A# partially built from C source 0N/A# derived C source and related explicit dependencies