Makefile revision 02bc52be7430b2f7fafe1a2c981bff49ef11d6fa
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# CDDL HEADER START
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# The contents of this file are subject to the terms of the
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# Common Development and Distribution License (the "License").
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# You may not use this file except in compliance with the License.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# or http://www.opensolaris.org/os/licensing.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# See the License for the specific language governing permissions
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# and limitations under the License.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# When distributing Covered Code, include this CDDL HEADER in each
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# If applicable, add the following below this CDDL HEADER, with the
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# fields enclosed by brackets "[]" replaced with your own identifying
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# information: Portions Copyright [yyyy] [name of copyright owner]
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# CDDL HEADER END
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# Use is subject to license terms.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# ident "%Z%%M% %I% %E% SMI"
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox#
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxLIBCBASE=.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxLIBRARY= libc.a
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxLIB_PIC= libc_pic.a
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxVERS= .1
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxCPP= /usr/lib/cpp
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxTARGET_ARCH= sparc
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# objects are grouped by source directory
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# local objects
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxSTRETS=
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxCRTOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __align_cpy_2.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __align_cpy_4.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __align_cpy_8.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _ftou.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cerror.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxDYNOBJS=
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxFPOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _D_cplx_div.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _D_cplx_div_ix.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _D_cplx_div_rx.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _D_cplx_mul.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _F_cplx_div.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _F_cplx_div_ix.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _F_cplx_div_rx.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _F_cplx_mul.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_add.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cmpe.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_div.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_div_ix.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_div_rx.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_lr_div.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_lr_div_ix.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_lr_div_rx.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_lr_mul.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_cplx_mul.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_div.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_dtoq.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_fcc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_itoq.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_mul.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_neg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_qtod.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_qtoi.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_qtos.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_qtou.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_scl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_sqrt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_stoq.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_sub.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_utoq.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxFPOBJS64= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Qp_qtox.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Qp_qtoux.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Qp_xtoq.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Qp_uxtoq.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __dtoul.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __ftoul.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxFPASMOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _Q_get_rp_rd.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __quad_mag64.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpgetmask.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpgetrnd.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpgetsticky.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpsetmask.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpsetrnd.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpsetsticky.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox$(__GNUC)FPASMOBJS += \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __quad.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxATOMICOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox atomic.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxXATTROBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox xattr_common.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxCOMOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox bcmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox bcopy.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox bsearch.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox bzero.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ffs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memccpy.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox qsort.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtol.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtoul.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxGENOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _getsp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _xregs_clrptr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox abs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox alloca.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox byteorder.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cuexit.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ecvt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getctxt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lexp10.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox llog10.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lock.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox makectxt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memchr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memcmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memcpy.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memmove.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memset.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox new_list.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setjmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox siginfolst.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox siglongjmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sparc_data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strcasecmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strchr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strcmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strcpy.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strlcpy.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strlen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strncmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strncpy.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strnlen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox swapctxt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sync_instruction_memory.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# This macro should ALWAYS be empty; native APIs are already 'large file'.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxCOMSYSOBJS64=
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxSYSOBJS64=
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxCOMSYSOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __clock_timer.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __fcntl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __getloadavg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __rusagesys.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __signotify.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __sigrt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __time.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _lgrp_home_fast.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _lgrpsys.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _nfssys.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _portfs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _pset.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _rename.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _rpcsys.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _sigaction.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_accept.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_bind.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_connect.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_getpeername.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_getsockname.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_getsockopt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_listen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_recv.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_recvfrom.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_recvmsg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_send.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_sendmsg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_sendto.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_setsockopt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_shutdown.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_socket.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _so_socketpair.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _sockconfig.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox access.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox acct.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox acl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox adjtime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox alarm.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox brk.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox chdir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox chmod.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox chown.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox chroot.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cladm.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox close.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox creat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox dup.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox execve.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox exit.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox facl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fchdir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fchmod.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fchown.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fchroot.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fdsync.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpathconf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fstat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fstatfs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fstatvfs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getcpuid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getdents.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getegid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox geteuid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getgid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getgroups.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gethrtime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getitimer.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getmsg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getpid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getpmsg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getppid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getrlimit.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getuid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gtty.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox install_utrap.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ioctl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox kaio.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox kill.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lchown.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox link.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox llseek.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lseek.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lstat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memcntl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mincore.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mkdir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mknod.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mmap.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox modctl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mount.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mprotect.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox munmap.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox nice.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ntp_adjtime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ntp_gettime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox open.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox p_online.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pathconf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pause.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pcsample.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pollsys.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pread.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox priocntlset.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox processor_bind.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox processor_info.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox profil.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox putmsg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox putpmsg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pwrite.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox read.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox readlink.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox readv.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox resolvepath.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox rmdir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox seteguid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setgid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setgroups.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setitimer.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setreid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setrlimit.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setuid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigaltstk.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigprocmsk.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigsendset.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigsuspend.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox stat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox statfs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox statvfs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox stty.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox symlink.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sync.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sysconfig.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sysfs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sysinfo.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox syslwp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox times.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ulimit.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox umask.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox umount2.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox unlink.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox utime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox utimes.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox utssys.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox uucopy.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vhangup.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox waitid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox write.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox writev.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox yield.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxSYSOBJS= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __clock_gettime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __getcontext.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _lwp_mutex_unlock.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _stack_grow.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox door.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox forkx.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox forkallx.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gettimeofday.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pipe.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sparc_utrap_install.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox syscall.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox syssun.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tls_get_addr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox uadmin.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox umount.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox uname.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vforkx.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# This macro should ALWAYS be empty; native APIs are already 'large file'.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTGEN64=
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# objects from source under ../port
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTFP= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __flt_decim.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __flt_rounds.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_10_b.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_10_h.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_10_s.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_2_b.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_2_h.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_2_s.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_fdq.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __tbl_tens.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __x_power.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _base_sup.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox aconvert.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox decimal_bin.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox double_decim.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox econvert.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fconvert.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox file_decim.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox finite.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fp_data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox func_decim.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gconvert.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox hex_bin.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ieee_globals.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pack_float.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigfpe.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox string_decim.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTGEN= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _env_data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _xftw.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox a64l.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox abort.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox addsev.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox assert.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox attrat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox atof.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox atoi.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox atol.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox atoll.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox attropen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox atexit.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox atfork.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox basename.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox calloc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox catgets.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox catopen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cfgetispeed.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cfgetospeed.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cfree.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cfsetispeed.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cfsetospeed.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cftime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox clock.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox closedir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox closefrom.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox confstr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox crypt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox csetlen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ctime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ctime_r.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox deflt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox directio.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox dirname.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox div.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox drand48.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox dup2.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox env_data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox err.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox errno.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox euclen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox event_port.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox execvp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fattach.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fdetach.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fdopendir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fmtmsg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ftime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ftok.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ftw.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gcvt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getauxv.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getcwd.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getdate_err.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getdtblsize.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getenv.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getexecname.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getgrnam.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getgrnam_r.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gethostid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gethostname.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gethz.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getisax.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getloadavg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getlogin.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getmntent.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getnetgrent.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getopt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getopt_long.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getpagesize.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getpw.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getpwnam.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getpwnam_r.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getrusage.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getspent.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getspent_r.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getsubopt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gettxt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getusershell.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getut.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getutx.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getvfsent.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getwd.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getwidth.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getxby_door.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gtxt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox hsearch.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox iconv.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox imaxabs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox imaxdiv.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox index.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox initgroups.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox insque.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox isaexec.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox isastream.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox isatty.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox killpg.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox l64a.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lckpwdf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lconstants.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ldivide.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lfind.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lfmt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lfmt_log.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lldiv.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lltostr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lmath.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox localtime.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox lsearch.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox madvise.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox malloc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox memalign.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mkdev.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mkdtemp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mkfifo.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mkstemp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mktemp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mlock.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mlockall.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox mon.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox msync.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox munlock.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox munlockall.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ndbm.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox nftw.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox nlspath_checks.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox nsparse.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox nss_common.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox nss_dbdefs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox nss_deffinder.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox opendir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox opt_data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox perror.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pfmt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pfmt_data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pfmt_print.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox plock.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox poll.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox priocntl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox privlib.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox priv_str_xlate.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox psiginfo.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox psignal.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox pt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox putpwent.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox putspent.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox raise.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox rand.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox random.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox rctlops.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox readdir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox readdir_r.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox realpath.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox reboot.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox regexpr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox rename.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox rewinddir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox rindex.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox scandir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox seekdir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox select.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setlabel.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox setpriority.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox settimeofday.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sh_locks.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigflag.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox siglist.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigsend.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sigsetops.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ssignal.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox stack.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox str2sig.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strcase_charmap.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strcat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strcspn.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strdup.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strerror.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strncat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strlcat.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strncasecmp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strpbrk.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strrchr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strsignal.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strspn.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strstr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtod.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtoimax.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtok.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtok_r.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtoll.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtoull.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox strtoumax.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox swab.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox swapctl.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sysconf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox syslog.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcdrain.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcflow.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcflush.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcgetattr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcgetpgrp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcgetsid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcsendbreak.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcsetattr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tcsetpgrp.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tell.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox telldir.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tfind.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox time_data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox time_gdata.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox truncate.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tsdalloc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox tsearch.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ttyname.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ttyslot.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ualarm.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ucred.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox valloc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vlfmt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vpfmt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox wait3.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox wait4.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox waitpid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox walkstack.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox wdata.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox xgetwidth.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox xpg4.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox xpg6.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTPRINT_W= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox doprnt_w.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTPRINT= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox doprnt.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox printf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox snprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox sprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vfprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vsnprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vsprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox vwprintf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox wprintf.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox# This macro should ALWAYS be empty; native APIs are already 'large file'.
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTSTDIO64=
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTSTDIO_W= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox doscan_w.o
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean WilcoxPORTSTDIO= \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox __extensions.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _endopen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _filbuf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _findbuf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _flsbuf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox _wrtchk.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox clearerr.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ctermid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ctermid_r.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox cuserid.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox data.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox doscan.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fdopen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox feof.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ferror.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fgetc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fgets.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fileno.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox flockf.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox flush.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fopen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fpos.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fputc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fputs.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fread.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fseek.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fseeko.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ftell.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox ftello.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox fwrite.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getchar.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getpass.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox gets.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox getw.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox popen.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox putc.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox putchar.o \
b379f220491c0f1b07e7619fec53bb5efcde5fdcSean Wilcox puts.o \
putw.o \
rewind.o \
scanf.o \
setbuf.o \
setbuffer.o \
setvbuf.o \
system.o \
tempnam.o \
tmpfile.o \
tmpnam_r.o \
ungetc.o \
mse.o \
vscanf.o \
vwscanf.o \
wscanf.o
PORTI18N= \
__fgetwc_xpg5.o \
__fgetws_xpg5.o \
__fputwc_xpg5.o \
__fputws_xpg5.o \
__ungetwc_xpg5.o \
getwchar.o \
putwchar.o \
putws.o \
strtows.o \
wcstoimax.o \
wcstol.o \
wcstoul.o \
wcswcs.o \
wscasecmp.o \
wscat.o \
wschr.o \
wscmp.o \
wscpy.o \
wscspn.o \
wsdup.o \
wslen.o \
wsncasecmp.o \
wsncat.o \
wsncmp.o \
wsncpy.o \
wspbrk.o \
wsprintf.o \
wsrchr.o \
wsscanf.o \
wsspn.o \
wstod.o \
wstok.o \
wstol.o \
wstoll.o \
wsxfrm.o \
wmemchr.o \
wmemcmp.o \
wmemcpy.o \
wmemmove.o \
wmemset.o \
wcsstr.o \
gettext.o \
gettext_real.o \
gettext_util.o \
gettext_gnu.o \
plural_parser.o \
wdresolve.o \
_ctype.o \
isascii.o \
toascii.o
PORTI18N_COND= \
wcstol_longlong.o \
wcstoul_longlong.o
AIOOBJS= \
aio.o \
aio_alloc.o \
posix_aio.o
RTOBJS= \
clock_timer.o \
fallocate.o \
mqueue.o \
pos4obj.o \
sched.o \
sem.o \
shm.o \
sigev_thread.o
TPOOLOBJS= \
thread_pool.o
THREADSOBJS= \
alloc.o \
assfail.o \
cancel.o \
door_calls.o \
pthr_attr.o \
pthr_barrier.o \
pthr_cond.o \
pthr_mutex.o \
pthr_rwlock.o \
pthread.o \
rtsched.o \
rwlock.o \
scalls.o \
sema.o \
sigaction.o \
spawn.o \
synch.o \
tdb_agent.o \
thr.o \
thread_interface.o \
tls.o \
tsd.o
THREADSMACHOBJS= \
machdep.o
THREADSASMOBJS= \
asm_subr.o
UNICODEOBJS= \
u8_textprep.o \
uconv.o
UNWINDMACHOBJS= \
unwind.o
UNWINDASMOBJS= \
unwind_frame.o
# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
# This macro should ALWAYS be empty; native APIs are already 'large file'.
PORTSYS64=
PORTSYS= \
_autofssys.o \
acctctl.o \
bsd_signal.o \
corectl.o \
exacctsys.o \
execl.o \
execle.o \
execv.o \
faccessat.o \
fcntl.o \
fsmisc.o \
fstatat.o \
fsync.o \
getpagesizes.o \
getpeerucred.o \
inst_sync.o \
issetugid.o \
label.o \
libc_link.o \
libc_open.o \
lockf.o \
lwp.o \
lwp_cond.o \
lwp_rwlock.o \
lwp_sigmask.o \
meminfosys.o \
msgsys.o \
nfssys.o \
openat.o \
pgrpsys.o \
posix_sigwait.o \
ppriv.o \
psetsys.o \
rctlsys.o \
sbrk.o \
semsys.o \
set_errno.o \
sharefs.o \
shmsys.o \
sidsys.o \
siginterrupt.o \
signal.o \
sigpending.o \
sigstack.o \
tasksys.o \
time.o \
time_util.o \
ucontext.o \
ustat.o \
zone.o
PORTREGEX= \
glob.o \
regcmp.o \
regex.o \
wordexp.o
VALUES= values-Xa.o
MOSTOBJS= \
$(STRETS) \
$(CRTOBJS) \
$(DYNOBJS) \
$(FPOBJS) \
$(FPOBJS64) \
$(FPASMOBJS) \
$(ATOMICOBJS) \
$(XATTROBJS) \
$(COMOBJS) \
$(GENOBJS) \
$(PORTFP) \
$(PORTGEN) \
$(PORTGEN64) \
$(PORTI18N) \
$(PORTI18N_COND) \
$(PORTPRINT) \
$(PORTPRINT_W) \
$(PORTREGEX) \
$(PORTSTDIO) \
$(PORTSTDIO64) \
$(PORTSTDIO_W) \
$(PORTSYS) \
$(PORTSYS64) \
$(AIOOBJS) \
$(RTOBJS) \
$(TPOOLOBJS) \
$(THREADSOBJS) \
$(THREADSMACHOBJS) \
$(THREADSASMOBJS) \
$(UNICODEOBJS) \
$(UNWINDMACHOBJS) \
$(UNWINDASMOBJS) \
$(COMSYSOBJS) \
$(SYSOBJS) \
$(COMSYSOBJS64) \
$(SYSOBJS64) \
$(VALUES)
TRACEOBJS= \
plockstat.o
# NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
# modules whose source is provided in the $(SRC)/lib/common directory.
# This must be done because otherwise the Sun C compiler would insert
# its own versions of these modules and those versions contain code
# to call out to C++ initialization functions. Such C++ initialization
# functions can call back into libc before thread initialization is
# complete and this leads to segmentation violations and other problems.
# Since libc contains no C++ code, linking with the minimal crti.o and
# crtn.o modules is safe and avoids the problems described above.
OBJECTS= $(CRTI) $(MOSTOBJS) $(CRTN)
CRTSRCS= ../../common/sparcv9
# include common library definitions
include ../../Makefile.lib
include ../../Makefile.lib.64
# NOTE: libc_i18n.a will be part of libc.so.1. Therefore, the compilation
# conditions such as the settings of CFLAGS and CPPFLAGS for the libc_i18n stuff
# need to be compatible with the ones for the libc stuff. Whenever the changes
# that affect the compilation conditions of libc happened, those for libc_i18n
# also need to be updated.
CFLAGS64 += $(CCVERBOSE)
# This is necessary to avoid problems with calling _ex_unwind().
# We probably don't want any inlining anyway.
CFLAGS64 += -xinline=
# Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
# enables ASSERT() checking in the threads portion of the library.
# This is automatically enabled for DEBUG builds, not for non-debug builds.
THREAD_DEBUG =
$(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
CFLAGS64 += $(THREAD_DEBUG)
ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR64)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS)
MAPFILES = ../port/mapfile-vers mapfile-vers
sparcv9_C_PICFLAGS= -K PIC
CFLAGS64 += $(EXTN_CFLAGS)
CPPFLAGS= -D_REENTRANT -Dsparc $(EXTN_CPPFLAGS) \
-I$(LIBCBASE)/inc -I../inc $(CPPFLAGS.master)
ASFLAGS= -K PIC -P -D__STDC__ -D_ASM -D__sparcv9 $(CPPFLAGS) \
$(sparcv9_AS_XARCH)
# Conditionally add support for making |wordexp()| check whether
# /usr/bin/ksh is ksh93 or not
include ../../../Makefile.ksh93switch
CPPFLAGS += -DWORDEXP_KSH93=$(ON_BUILD_KSH93_AS_BINKSH)
# Inform the run-time linker about libc specialized initialization
RTLDINFO = -z rtldinfo=tls_rtldinfo
DYNFLAGS += $(RTLDINFO)
DYNFLAGS += $(EXTN_DYNFLAGS)
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
# Override this top level flag so the compiler builds in its native
# C99 mode. This has been enabled to support the complex arithmetic
# added to libc.
C99MODE= $(C99_ENABLE)
# libc method of building an archive
BUILD.AR= $(RM) $@ ; \
$(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%)| $(TSORT)`
# extra files for the clean target
CLEANFILES= \
../port/gen/errlst.c \
../port/gen/new_list.c \
assym.h \
genassym \
pics/crti.o \
pics/crtn.o \
$(ALTPICS)
CLOBBERFILES += $(LIB_PIC)
# list of C source for lint
SRCS= \
$(ATOMICOBJS:%.o=$(SRC)/common/atomic/%.c) \
$(XATTROBJS:%.o=$(SRC)/common/xattr/%.c) \
$(COMOBJS:%.o=$(SRC)/common/util/%.c) \
$(PORTFP:%.o=../port/fp/%.c) \
$(PORTGEN:%.o=../port/gen/%.c) \
$(PORTI18N:%.o=../port/i18n/%.c) \
$(PORTPRINT:%.o=../port/print/%.c) \
$(PORTREGEX:%.o=../port/regex/%.c) \
$(PORTSTDIO:%.o=../port/stdio/%.c) \
$(PORTSYS:%.o=../port/sys/%.c) \
$(AIOOBJS:%.o=../port/aio/%.c) \
$(RTOBJS:%.o=../port/rt/%.c) \
$(TPOOLOBJS:%.o=../port/tpool/%.c) \
$(THREADSOBJS:%.o=../port/threads/%.c) \
$(THREADSMACHOBJS:%.o=../$(MACH)/threads/%.c) \
$(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c) \
$(UNWINDMACHOBJS:%.o=../port/unwind/%.c) \
$(FPOBJS:%.o=../$(MACH)/fp/%.c) \
$(FPOBJS64:%.o=$(LIBCBASE)/fp/%.c) \
$(LIBCBASE)/crt/_ftou.c \
$(LIBCBASE)/gen/_xregs_clrptr.c \
$(LIBCBASE)/gen/byteorder.c \
$(LIBCBASE)/gen/ecvt.c \
$(LIBCBASE)/gen/getctxt.c \
$(LIBCBASE)/gen/lexp10.c \
$(LIBCBASE)/gen/llog10.c \
$(LIBCBASE)/gen/makectxt.c \
$(LIBCBASE)/gen/siginfolst.c \
$(LIBCBASE)/gen/siglongjmp.c \
$(LIBCBASE)/gen/swapctxt.c
# conditional assignments
# $(DYNLIB) $(LIB_PIC) := DYNOBJS = _rtbootld.o
$(DYNLIB) := CRTI = crti.o
$(DYNLIB) := CRTN = crtn.o
# Files which need the threads .il inline template
TIL= \
aio.o \
alloc.o \
assfail.o \
atexit.o \
atfork.o \
cancel.o \
door_calls.o \
errno.o \
getctxt.o \
lwp.o \
ma.o \
machdep.o \
posix_aio.o \
pthr_attr.o \
pthr_barrier.o \
pthr_cond.o \
pthr_mutex.o \
pthr_rwlock.o \
pthread.o \
rand.o \
rtsched.o \
rwlock.o \
scalls.o \
sema.o \
sigaction.o \
sigev_thread.o \
spawn.o \
stack.o \
swapctxt.o \
synch.o \
tdb_agent.o \
thr.o \
thread_interface.o \
thread_pool.o \
tls.o \
tsd.o \
unwind.o
$(TIL:%=pics/%) := CFLAGS64 += $(LIBCBASE)/threads/sparcv9.il
# Files in fp, port/fp subdirectories that need base.il inline template
IL= \
__flt_decim.o \
decimal_bin.o
$(IL:%=pics/%) := CFLAGS64 += $(LIBCBASE)/fp/base.il
# Files in fp subdirectory which need __quad.il inline template
QIL= \
_Q_add.o \
_Q_cmp.o \
_Q_cmpe.o \
_Q_div.o \
_Q_dtoq.o \
_Q_fcc.o \
_Q_mul.o \
_Q_qtod.o \
_Q_qtoi.o \
_Q_qtos.o \
_Q_qtou.o \
_Q_sqrt.o \
_Q_stoq.o \
_Q_sub.o \
_Qp_qtox.o \
_Qp_qtoux.o
$(QIL:%=pics/%) := CFLAGS64 += ../$(MACH)/fp/__quad.il
pics/_Qp%.o := CFLAGS64 += -I../$(MACH)/fp
pics/_Q%.o := sparcv9_COPTFLAG = -xO4 -xchip=ultra
# Files in crt subdirectory which need muldiv64.il inline template
#CIL= mul64.o divrem64.o
#$(CIL:%=pics/%) := CFLAGS += $(LIBCBASE)/crt/mul64.il
# large-file-aware components that should be built large
#$(COMSYSOBJS64:%=pics/%) := \
# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
#$(SYSOBJS64:%=pics/%) := \
# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
#$(PORTGEN64:%=pics/%) := \
# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
#$(PORTSTDIO64:%=pics/%) := \
# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
#$(PORTSYS64:%=pics/%) := \
# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
$(PORTSTDIO_W:%=pics/%) := \
CPPFLAGS += -D_WIDE
$(PORTPRINT_W:%=pics/%) := \
CPPFLAGS += -D_WIDE
$(PORTI18N_COND:%=pics/%) := \
CPPFLAGS += -D_WCS_LONGLONG
# Files which need extra optimization
pics/getenv.o := sparcv9_COPTFLAG = -xO4
.KEEP_STATE:
all: $(LIBS) $(LIB_PIC)
lint := CPPFLAGS += -I../$(MACH)/fp
lint := CPPFLAGS += -D_MSE_INT_H -D_LCONV_C99
lint := LINTFLAGS64 += -mn
lint:
@echo $(LINT.c) ... $(LDLIBS)
@$(LINT.c) $(SRCS) $(LDLIBS)
$(LINTLIB):= SRCS=../port/llib-lc
$(LINTLIB):= CPPFLAGS += -D_MSE_INT_H
$(LINTLIB):= LINTFLAGS64=-nvx -Xarch=v9
# object files that depend on inline template
$(TIL:%=pics/%): $(LIBCBASE)/threads/sparcv9.il
$(IL:%=pics/%): $(LIBCBASE)/fp/base.il
$(QIL:%=pics/%): ../$(MACH)/fp/__quad.il
#$(CIL:%=pics/%): $(LIBCBASE)/crt/muldiv64.il
# include common libc targets
include ../Makefile.targ
# We need to strip out all CTF and DOF data from the static library
$(LIB_PIC) := DIR = pics
$(LIB_PIC): pics $$(PICS)
$(BUILD.AR)
$(MCS) -d -n .SUNW_ctf $@ > /dev/null 2>&1
$(MCS) -d -n .SUNW_dof $@ > /dev/null 2>&1
$(AR) -ts $@ > /dev/null
$(POST_PROCESS_A)
# special cases
#$(STRETS:%=pics/%): crt/stret.s
# $(AS) $(ASFLAGS) -DSTRET$(@F:stret%.o=%) crt/stret.s -o $@
# $(POST_PROCESS_O)
#crt/_rtbootld.s: crt/_rtboot.s crt/_rtld.c
# $(CC) $(CPPFLAGS) -O -S -K pic crt/_rtld.c -o crt/_rtld.s
# $(CAT) crt/_rtboot.s crt/_rtld.s > $@
# $(RM) crt/_rtld.s
ASSYMDEP_OBJS= \
_lwp_mutex_unlock.o \
_stack_grow.o \
asm_subr.o \
tls_get_addr.o \
unwind_frame.o \
vforkx.o
$(ASSYMDEP_OBJS:%=pics/%) := CPPFLAGS += -I.
$(ASSYMDEP_OBJS:%=pics/%): assym.h
# assym.h build rules
GENASSYM_C = ../$(MACH)/genassym.c
# XXX A hack. Perhaps this should be 'CPPFLAGS.native' and
# live in Makefile.master
CPPFLAGS.genassym = \
$(ENVCPPFLAGS1) $(ENVCPPFLAGS2) $(ENVCPPFLAGS3) $(ENVCPPFLAGS4)
genassym: $(GENASSYM_C)
$(NATIVECC) -I$(LIBCBASE)/inc -I../inc \
$(CPPFLAGS.genassym) -o $@ $(GENASSYM_C)
OFFSETS = ../$(MACH)/offsets.in
assym.h: $(OFFSETS) genassym
$(OFFSETS_CREATE) <$(OFFSETS) >$@
./genassym >>$@
# derived C source and related explicit dependencies
../port/gen/new_list.c: ../port/gen/errlist ../port/gen/errlist.awk
cd ../port/gen; pwd; $(AWK) -f errlist.awk < errlist
pics/new_list.o: ../port/gen/new_list.c