Makefile revision 1767006bb066ef500b90b432fba79d63d0d09b36
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER START
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The contents of this file are subject to the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License (the "License").
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You may not use this file except in compliance with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# or http://www.opensolaris.org/os/licensing.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# See the License for the specific language governing permissions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# and limitations under the License.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# When distributing Covered Code, include this CDDL HEADER in each
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5dbfd19ad5fcc2b779f40f80fa05c1bd28fd0b4eTheo Schlossnagle# If applicable, add the following below this CDDL HEADER, with the
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
9d12795f87b63c2e39e87bff369182edd34677d3Robert Mustacchi# information: Portions Copyright [yyyy] [name of copyright owner]
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER END
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright (c) 2015, Joyent, Inc. All rights reserved.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright 2013 Garrett D'Amore <garrett@damore.org>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Use is subject to license terms.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweLIBCBASE= .
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweLIBCDIR= $(SRC)/lib/libc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweLIBRARY= libc.a
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweLIB_PIC= libc_pic.a
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweVERS= .1
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCPP= /usr/lib/cpp
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTARGET_ARCH= amd64
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# objects are grouped by source directory
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# local objects
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweSTRETS=
9d12795f87b63c2e39e87bff369182edd34677d3Robert Mustacchi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCRTOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cerror.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweDYNOBJS=
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweFPOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpgetmask.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpgetround.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpsetmask.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpsetround.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpstart.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ieee.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweI386FPOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _D_cplx_div.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _D_cplx_div_ix.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _D_cplx_div_rx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _D_cplx_lr_div.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _D_cplx_lr_div_ix.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _D_cplx_lr_div_rx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _D_cplx_mul.o \
89b9271284be1a4e3e3053d7bc12f9bbf8145b06Robert Mustacchi _F_cplx_div.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _F_cplx_div_ix.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _F_cplx_div_rx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _F_cplx_lr_div.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _F_cplx_lr_div_ix.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _F_cplx_lr_div_rx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _F_cplx_mul.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _X_cplx_div.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _X_cplx_div_ix.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _X_cplx_div_rx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _X_cplx_lr_div.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _X_cplx_lr_div_ix.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _X_cplx_lr_div_rx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _X_cplx_mul.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweFPASMOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __xgetRD.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _xtoll.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _xtoull.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _base_il.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpcw.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpgetsticky.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpsetsticky.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweATOMICOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atomic.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCHACHAOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe chacha.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweXATTROBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe xattr_common.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe bcmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe bcopy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe bsearch.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe bzero.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe qsort.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtol.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtoul.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtoll.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtoull.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweGENOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _getsp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe abs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe alloca.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe arc4random.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe arc4random_uniform.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe attrat.o \
1767006bb066ef500b90b432fba79d63d0d09b36Bryan Cantrill byteorder.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cuexit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ecvt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe errlst.o \
ce83b99835cc4643ab0fefd88dea62427d9ced5eRobert Mustacchi amd64_data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ldivide.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe makectxt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memccpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memchr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memcmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memcpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memset.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe new_list.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe proc64_id.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe proc64_support.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setjmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe siginfolst.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe siglongjmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strcmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strcpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strlen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strncmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strncpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strnlen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sync_instruction_memory.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This macro should ALWAYS be empty; native APIs are already 'large file'.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMSYSOBJS64=
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweSYSOBJS64=
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCOMSYSOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __clock_timer.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __getloadavg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __rusagesys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __signotify.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __sigrt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __time.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _lgrp_home_fast.o \
9d12795f87b63c2e39e87bff369182edd34677d3Robert Mustacchi _lgrpsys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _nfssys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _portfs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _pset.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _rpcsys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _sigaction.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_accept.o \
296749875bd503e7a14e25b4c57d3142cb496df1Joshua M. Clulow _so_bind.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_connect.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_getpeername.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_getsockname.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_getsockopt.o \
d2b9ba291ef0d1dc8807b6d46996674c723924d0Robert Mustacchi _so_listen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_recv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_recvfrom.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_recvmsg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_send.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_sendmsg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_sendto.o \
b65dd972486b1f5913d705d2a0cb9c3fb189a9e0Robert Mustacchi _so_setsockopt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_shutdown.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_socket.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _so_socketpair.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _sockconfig.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe acct.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe acl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe adjtime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe alarm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe brk.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe chdir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe chroot.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cladm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe close.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe execve.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe exit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe facl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fchdir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fchroot.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fdsync.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpathconf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fstatfs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fstatvfs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getcpuid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getdents.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getegid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe geteuid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getgid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getgroups.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gethrtime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getitimer.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getmsg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getpid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getpmsg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getppid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getrandom.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getrlimit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getuid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gtty.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe install_utrap.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ioctl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe kaio.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe kill.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe llseek.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lseek.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mmapobjsys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memcntl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mincore.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mmap.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe modctl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mount.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mprotect.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe munmap.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nice.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ntp_adjtime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ntp_gettime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe p_online.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pathconf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pause.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pcsample.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pipe2.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pollsys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pread.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe preadv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe priocntlset.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe processor_bind.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe processor_info.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe profil.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putmsg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putpmsg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pwrite.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pwritev.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe read.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe readv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe resolvepath.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe seteguid.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore setgid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setgroups.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setitimer.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setreid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setrlimit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setuid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigaltstk.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigprocmsk.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigsendset.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigsuspend.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe statfs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe statvfs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe stty.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sync.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sysconfig.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sysfs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sysinfo.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe syslwp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe times.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ulimit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe umask.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe umount2.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe utssys.o \
462453d2d0c563559a4caf186db76954e563bd1aMatthew Ahrens uucopy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vhangup.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe waitid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe write.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe writev.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe yield.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweSYSOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __clock_gettime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __getcontext.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __uadmin.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _lwp_mutex_unlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _stack_grow.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe door.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe forkx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe forkallx.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getcontext.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gettimeofday.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lwp_private.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nuname.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe syscall.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sysi86.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tls_get_addr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe uadmin.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe umount.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe uname.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vforkx.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This macro should ALWAYS be empty; native APIs are already 'large file'.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTGEN64=
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# objects from source under $(LIBCDIR)/port
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTFP= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __flt_decim.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __flt_rounds.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_10_b.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_10_h.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_10_s.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_2_b.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_2_h.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_2_s.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_fdq.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __tbl_tens.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __x_power.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _base_sup.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe aconvert.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe decimal_bin.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe double_decim.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe econvert.o \
ad0ef8fd06d1ac28108685495a9ba1244a20a5caRobert Mustacchi fconvert.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe file_decim.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe finite.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fp_data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe func_decim.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gconvert.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe hex_bin.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ieee_globals.o \
ad0ef8fd06d1ac28108685495a9ba1244a20a5caRobert Mustacchi pack_float.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigfpe.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe string_decim.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTGEN= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _env_data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _xftw.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe a64l.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe abort.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe addsev.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ascii_strcasecmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ascii_strncasecmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe assert.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atof.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atoi.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atol.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atoll.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe attropen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atexit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atfork.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe basename.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe calloc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe catgets.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe catopen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cfgetispeed.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cfgetospeed.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cfree.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cfsetispeed.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cfsetospeed.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cftime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe clock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe closedir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe closefrom.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe confstr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe crypt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe csetlen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ctime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ctime_r.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe daemon.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe deflt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe directio.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe dirname.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe div.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe drand48.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe dup.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe env_data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe err.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe errno.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe euclen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe event_port.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe execvp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe explicit_bzero.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fattach.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fdetach.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fdopendir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ffs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fls.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fmtmsg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ftime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ftok.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ftw.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gcvt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getauxv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getcwd.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getdate_err.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getdtblsize.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getentropy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getenv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getexecname.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getgrnam.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getgrnam_r.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gethostid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gethostname.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gethz.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getisax.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getloadavg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getlogin.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getmntent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getnetgrent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe get_nprocs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getopt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getopt_long.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getpagesize.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getpw.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getpwnam.o \
d3864341aacc6a2ecc95960d23ac0e49f1f538faRobert Mustacchi getpwnam_r.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getrusage.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getspent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getspent_r.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getsubopt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gettxt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getusershell.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getut.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getutx.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore getvfsent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getwd.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getwidth.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getxby_door.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gtxt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe hsearch.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe iconv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe imaxabs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe imaxdiv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe index.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe initgroups.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe insque.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe isaexec.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe isastream.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe isatty.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe killpg.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe klpdlib.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe l64a.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lckpwdf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lconstants.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lexp10.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lfind.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lfmt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lfmt_log.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lldiv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe llog10.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lltostr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lmath.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe localtime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lsearch.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe madvise.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe malloc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memalign.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe memmem.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mkdev.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mkdtemp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mkfifo.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mkstemp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mktemp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mlockall.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mon.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe msync.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe munlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe munlockall.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ndbm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nftw.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nlspath_checks.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nsparse.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nss_common.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nss_dbdefs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nss_deffinder.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore opendir.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore opt_data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe perror.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pfmt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pfmt_data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pfmt_print.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pipe.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe plock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe poll.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe posix_fadvise.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe posix_fallocate.o \
cb66c7814563eb32e20c1be88ae738ad8d63079dRobert Mustacchi posix_madvise.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe posix_memalign.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe priocntl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe privlib.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe priv_str_xlate.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore psiginfo.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe psignal.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putpwent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putspent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe raise.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe rand.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe random.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe rctlops.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe readdir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe readdir_r.o \
f07f0fb66492a2792d4da5e0a6f9a92b4c581ab3Garrett D'Amore realpath.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe reboot.o \
f07f0fb66492a2792d4da5e0a6f9a92b4c581ab3Garrett D'Amore regexpr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe remove.o \
f07f0fb66492a2792d4da5e0a6f9a92b4c581ab3Garrett D'Amore rewinddir.o \
f07f0fb66492a2792d4da5e0a6f9a92b4c581ab3Garrett D'Amore rindex.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe scandir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe seekdir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe select.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setlabel.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setpriority.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe settimeofday.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sh_locks.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigflag.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe siglist.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigsend.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigsetops.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ssignal.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore stack.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe stpcpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe stpncpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe str2sig.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strcase_charmap.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strcat.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strchr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strchrnul.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strcspn.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strdup.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strerror.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strlcat.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strlcpy.o \
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov strncat.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strndup.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strpbrk.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strrchr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strsep.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strsignal.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strspn.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strstr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtod.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtoimax.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtok.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtok_r.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtoumax.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe swab.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe swapctl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sysconf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe syslog.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcdrain.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcflow.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcflush.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcgetattr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcgetpgrp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcgetsid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcsendbreak.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcsetattr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tcsetpgrp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tell.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe telldir.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tfind.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe time_data.o \
9d12795f87b63c2e39e87bff369182edd34677d3Robert Mustacchi time_gdata.o \
9d12795f87b63c2e39e87bff369182edd34677d3Robert Mustacchi tls_data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe truncate.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tsdalloc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tsearch.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ttyname.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ttyslot.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ualarm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ucred.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe valloc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vlfmt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vpfmt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe waitpid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe walkstack.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wdata.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe xgetwidth.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe xpg4.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe xpg6.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTPRINT_W= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe doprnt_w.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTPRINT= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe asprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe doprnt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe printf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe snprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vfprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vsnprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vsprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vwprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wprintf.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This macro should ALWAYS be empty; native APIs are already 'large file'.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTSTDIO64=
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTSTDIO_W= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe doscan_w.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTSTDIO= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe __extensions.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _endopen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _filbuf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _findbuf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _flsbuf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _wrtchk.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe clearerr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ctermid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ctermid_r.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cuserid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe data.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe doscan.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fdopen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe feof.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ferror.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fgetc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fgets.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fileno.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe flockf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe flush.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fopen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fpos.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fputc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fputs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fread.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fseek.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fseeko.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ftell.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ftello.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fwrite.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getchar.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getline.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getpass.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gets.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getw.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mse.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe popen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putchar.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe puts.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putw.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe rewind.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe scanf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setbuf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setbuffer.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setvbuf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe system.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tempnam.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tmpfile.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tmpnam_r.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ungetc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vscanf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vwscanf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wscanf.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTI18N= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getwchar.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putwchar.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe putws.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strtows.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcsnlen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcsstr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcstoimax.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcstol.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcstoul.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcswcs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wmemchr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wmemcmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wmemcpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wmemmove.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore wmemset.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wscat.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wschr.o \
820218f30a3ad84d92aa2970dcac9eb5cf69aaa9Robert Mustacchi wscmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wscpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wscspn.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsdup.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wslen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsncat.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsncmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsncpy.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wspbrk.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsprintf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsrchr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsscanf.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsspn.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wstod.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wstok.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wstol.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wstoll.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wsxfrm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gettext.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gettext_gnu.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gettext_real.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gettext_util.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe plural_parser.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wdresolve.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe _ctype.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe isascii.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe toascii.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTI18N_COND= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcstol_longlong.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcstoul_longlong.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTLOCALE= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe big5.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe btowc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe collate.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe collcmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe euc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fnmatch.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fgetwc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fgetws.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fix_grouping.o \
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov fputwc.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore fputws.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fwide.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gb18030.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gb2312.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe gbk.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe getdate.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe isdigit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe iswctype.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ldpart.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lmessages.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lnumeric.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lmonetary.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe localeconv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe localeimpl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mbftowc.o \
9d12795f87b63c2e39e87bff369182edd34677d3Robert Mustacchi mblen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mbrlen.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mbrtowc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mbsinit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mbsnrtowcs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mbsrtowcs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mbstowcs.o \
e232d9863a8486cf94eaa4bc06c2e9ff52bf3140Robert Mustacchi mbtowc.o \
e232d9863a8486cf94eaa4bc06c2e9ff52bf3140Robert Mustacchi mskanji.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nextwctype.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe nl_langinfo.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe none.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe regcomp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe regfree.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe regerror.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe regexec.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore rune.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe runetype.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setlocale.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe setrunelocale.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strcasecmp.o \
e232d9863a8486cf94eaa4bc06c2e9ff52bf3140Robert Mustacchi strcasestr.o \
e232d9863a8486cf94eaa4bc06c2e9ff52bf3140Robert Mustacchi strcoll.o \
e232d9863a8486cf94eaa4bc06c2e9ff52bf3140Robert Mustacchi strfmon.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strftime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strncasecmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strptime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe strxfrm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe table.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe timelocal.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tolower.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe towlower.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ungetwc.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore utf8.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcrtomb.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcscasecmp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcscoll.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcsftime.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcsnrtombs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcsrtombs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcswidth.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcstombs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcsxfrm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wctob.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wctomb.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wctrans.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wctype.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wcwidth.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe wscol.o
296749875bd503e7a14e25b4c57d3142cb496df1Joshua M. Clulow
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweAIOOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe aio.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe aio_alloc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe posix_aio.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweRTOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe clock_timer.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe mqueue.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pos4obj.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sched.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sem.o \
d2b9ba291ef0d1dc8807b6d46996674c723924d0Robert Mustacchi shm.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigev_thread.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTPOOLOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe thread_pool.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTHREADSOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe alloc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe assfail.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cancel.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe door_calls.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tmem.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_attr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_barrier.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_cond.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_mutex.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_rwlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthread.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe rwlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe scalls.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore sema.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore sigaction.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe spawn.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe synch.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tdb_agent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe thr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe thread_interface.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tls.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tsd.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTHREADSMACHOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe machdep.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTHREADSASMOBJS= \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore asm_subr.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'AmoreUNICODEOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe u8_textprep.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe uconv.o
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweUNWINDMACHOBJS= \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore call_frame_inst.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe eh_frame.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore thrp_unwind.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe unwind.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amorepics/unwind.o:= COPTFLAG64 =
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweUNWINDASMOBJS= \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore unwind_frame.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This macro should ALWAYS be empty; native APIs are already 'large file'.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTSYS64=
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePORTSYS= \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore _autofssys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe access.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore acctctl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe bsd_signal.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe chmod.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore chown.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe corectl.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore exacctsys.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore execl.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe execle.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe execv.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore eventfd.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe fcntl.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore getpagesizes.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore getpeerucred.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe inst_sync.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore issetugid.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe label.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore link.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore lockf.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore lwp.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore lwp_cond.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore lwp_rwlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe lwp_sigmask.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore meminfosys.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore mkdir.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore mknod.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore msgsys.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore nfssys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe open.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore pgrpsys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe posix_sigwait.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore ppriv.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe psetsys.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore rctlsys.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore readlink.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore rename.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sbrk.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore semsys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe set_errno.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore sharefs.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe shmsys.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore sidsys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe siginterrupt.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe signal.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigpending.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigstack.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe stat.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe symlink.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tasksys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe time.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe time_util.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ucontext.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe unlink.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ustat.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe utimesys.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe zone.o
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'AmorePORTREGEX= \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore glob.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore regcmp.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore regex.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore wordexp.o
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'AmoreVALUES= \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore values-Xa.o
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweMOSTOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(STRETS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(CRTOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(DYNOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(FPOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(I386FPOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(FPASMOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(ATOMICOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(CHACHAOBJS) \
f6ed5ca267d42d2a060f8447acdeb647ef077b6dRobert Mustacchi $(XATTROBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(COMOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(GENOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTFP) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTGEN) \
1fcc078ae7c0a359a9274d2a5a90547aceb213a6Robert Mustacchi $(PORTGEN64) \
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov $(PORTI18N) \
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov $(PORTI18N_COND) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTLOCALE) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTPRINT) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTPRINT_W) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTREGEX) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTSTDIO) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTSTDIO64) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTSTDIO_W) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTSYS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTSYS64) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(AIOOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(RTOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(TPOOLOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(THREADSOBJS) \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore $(THREADSMACHOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(THREADSASMOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(UNICODEOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(UNWINDMACHOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(UNWINDASMOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(COMSYSOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(SYSOBJS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(COMSYSOBJS64) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(SYSOBJS64) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(VALUES)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTRACEOBJS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe plockstat.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# modules whose source is provided in the $(SRC)/lib/common directory.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This must be done because otherwise the Sun C compiler would insert
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# its own versions of these modules and those versions contain code
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# to call out to C++ initialization functions. Such C++ initialization
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# functions can call back into libc before thread initialization is
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# complete and this leads to segmentation violations and other problems.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Since libc contains no C++ code, linking with the minimal crti.o and
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# crtn.o modules is safe and avoids the problems described above.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweOBJECTS= $(CRTI) $(MOSTOBJS) $(CRTN)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCRTSRCS= ../../common/amd64
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# include common library definitions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../../Makefile.lib
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../../Makefile.lib.64
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCFLAGS64 += $(CTF_FLAGS)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This is necessary to avoid problems with calling _ex_unwind().
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# We probably don't want any inlining anyway.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCFLAGS64 += -xinline=
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-parentheses
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-switch
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-unused-value
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-unused-label
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-unused-variable
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-type-limits
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-char-subscripts
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-clobbered
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-unused-function
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCERRWARN += -_gcc=-Wno-address
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# enables ASSERT() checking in the threads portion of the library.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This is automatically enabled for DEBUG builds, not for non-debug builds.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTHREAD_DEBUG =
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Make string literals read-only to save memory
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCFLAGS64 += $(XSTRCONST)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweALTPICS= $(TRACEOBJS:%=pics/%)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) $(EXTPICS)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweMAPFILES = $(LIBCDIR)/port/mapfile-vers
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCPPFLAGS= -D_REENTRANT -D$(MACH64) -D__$(MACH64) $(THREAD_DEBUG) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -I. -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc $(CPPFLAGS.master)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweASFLAGS= $(AS_PICFLAGS) -P -D__STDC__ -D_ASM $(CPPFLAGS) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(amd64_AS_XARCH)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# As a favor to the dtrace syscall provider, libc still calls the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# old syscall traps that have been obsoleted by the *at() interfaces.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Delete this to compile libc using only the new *at() system call traps
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCPPFLAGS += -D_RETAIN_OLD_SYSCALLS
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# proc64_id.o is built with defines in $(SRC)/uts/intel/sys/x86_archext.h
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowepics/proc64_id.o := CFLAGS64 += -I$(SRC)/uts/intel
ad0ef8fd06d1ac28108685495a9ba1244a20a5caRobert Mustacchi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Inform the run-time linker about libc specialized initialization
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweRTLDINFO = -z rtldinfo=tls_rtldinfo
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweDYNFLAGS += $(RTLDINFO)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Force libc's internal references to be resolved immediately upon loading
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# in order to avoid critical region problems. Since almost all libc symbols
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# are marked 'protected' in the mapfiles, this is a minimal set (15 to 20).
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweDYNFLAGS += -znow
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweBUILD.s= $(AS) $(ASFLAGS) $< -o $@
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Override this top level flag so the compiler builds in its native
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# C99 mode. This has been enabled to support the complex arithmetic
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# added to libc.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweC99MODE= $(C99_ENABLE)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# libc method of building an archive
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The "$(GREP) -v ' L '" part is necessary only until
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# lorder is fixed to ignore thread-local variables.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweBUILD.AR= $(RM) $@ ; \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# extra files for the clean target
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCLEANFILES= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCDIR)/port/gen/errlst.c \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCDIR)/port/gen/new_list.c \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe assym.h \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe genassym \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe crt/_rtld.s \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pics/crti.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pics/crtn.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(ALTPICS)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCLOBBERFILES += $(LIB_PIC)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# list of C source for lint
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweSRCS= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(ATOMICOBJS:%.o=$(SRC)/common/atomic/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(XATTROBJS:%.o=$(SRC)/common/xattr/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(COMOBJS:%.o=$(SRC)/common/util/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(THREADSMACHOBJS:%.o=threads/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(UNWINDMACHOBJS:%.o=unwind/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(FPOBJS:%.o=fp/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(I386FPOBJS:%.o=$(LIBCDIR)/i386/fp/%.c) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCBASE)/gen/ecvt.c \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCBASE)/gen/makectxt.c \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCBASE)/gen/siginfolst.c \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCBASE)/gen/siglongjmp.c \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCBASE)/gen/sync_instruction_memory.c \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(LIBCBASE)/sys/uadmin.c
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# conditional assignments
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# $(DYNLIB) $(LIB_PIC) := DYNOBJS = _rtbootld.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(DYNLIB) := CRTI = crti.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(DYNLIB) := CRTN = crtn.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Files which need the threads .il inline template
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweTIL= \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe aio.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe alloc.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe assfail.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atexit.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe atfork.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cancel.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe door_calls.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe err.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe errno.o \
b65dd972486b1f5913d705d2a0cb9c3fb189a9e0Robert Mustacchi lwp.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ma.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe machdep.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe posix_aio.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_attr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_barrier.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_cond.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_mutex.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthr_rwlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pthread.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe rand.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe rwlock.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe scalls.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sched.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sema.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigaction.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe sigev_thread.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe spawn.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe stack.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe synch.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tdb_agent.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe thr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe thread_interface.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe thread_pool.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe thrp_unwind.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tls.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tmem.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe tsd.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(TIL:%=pics/%) := CFLAGS64 += $(LIBCBASE)/threads/amd64.il
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# pics/mul64.o := CFLAGS64 += crt/mul64.il
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov# large-file-aware components that should be built large
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi#$(COMSYSOBJS64:%=pics/%) := \
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore#$(SYSOBJS64:%=pics/%) := \
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#$(PORTGEN64:%=pics/%) := \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#$(PORTSTDIO64:%=pics/%) := \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#$(PORTSYS64:%=pics/%) := \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(PORTSTDIO_W:%=pics/%) := \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore CPPFLAGS += -D_WIDE
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(PORTPRINT_W:%=pics/%) := \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe CPPFLAGS += -D_WIDE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(PORTPRINT_C89:%=pics/%) := \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore CPPFLAGS += -D_C89_INTMAX32
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(PORTSTDIO_C89:%=pics/%) := \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe CPPFLAGS += -D_C89_INTMAX32
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi
bad51a906c423d0d7ab33fcc1a4e317d789e3c49Robert Mustacchi$(PORTI18N_COND:%=pics/%) := \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe CPPFLAGS += -D_WCS_LONGLONG
195b26986e3c19e916bf0991a1af7ae87d43010bRobert Mustacchi
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowepics/arc4random.o := CPPFLAGS += -I$(SRC)/common/crypto/chacha
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.KEEP_STATE:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweall: $(LIBS) $(LIB_PIC)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowelint := CPPFLAGS += -I$(LIBCDIR)/$(MACH)/fp
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowelint := CPPFLAGS += -D_MSE_INT_H -D_LCONV_C99
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowelint := LINTFLAGS64 += -mn -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowelint:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe @echo $(LINT.c) ... $(LDLIBS)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe @$(LINT.c) $(SRCS) $(LDLIBS)
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(LINTLIB):= SRCS=$(LIBCDIR)/port/llib-lc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(LINTLIB):= CPPFLAGS += -D_MSE_INT_H
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(LINTLIB):= LINTFLAGS64=-nvx -m64
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# object files that depend on inline template
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(TIL:%=pics/%): $(LIBCBASE)/threads/amd64.il
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# pics/mul64.o: crt/mul64.il
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# include common libc targets
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../Makefile.targ
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# We need to strip out all CTF data from the static library
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(LIB_PIC) := DIR = pics
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(LIB_PIC): pics $$(PICS)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(BUILD.AR)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(MCS) -d -n .SUNW_ctf $@ > /dev/null 2>&1
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(AR) -ts $@ > /dev/null
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(POST_PROCESS_A)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweASSYMDEP_OBJS= \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore _lwp_mutex_unlock.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore _stack_grow.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore asm_subr.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore getcontext.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore setjmp.o \
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore tls_get_addr.o \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe vforkx.o
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(ASSYMDEP_OBJS:%=pics/%): assym.h
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# assym.h build rules
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweGENASSYM_C = genassym.c
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowegenassym: $(GENASSYM_C)
cb66c7814563eb32e20c1be88ae738ad8d63079dRobert Mustacchi $(NATIVECC) -Iinc -I$(LIBCDIR)/inc $(CPPFLAGS.native) \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe -o $@ $(GENASSYM_C)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweOFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweassym.h: $(OFFSETS) genassym
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe $(OFFSETS_CREATE) <$(OFFSETS) >$@
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe ./genassym >>$@
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# derived C source and related explicit dependencies
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(LIBCDIR)/port/gen/errlst.c + \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowepics/errlst.o: $(LIBCDIR)/port/gen/errlst.c
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowepics/new_list.o: $(LIBCDIR)/port/gen/new_list.c
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe