Makefile revision f48205be61a214698b763ff550ab9e657525104c
6f912b4ad14f622aa8d57f887c8c745e13ff6dbfjerenkrantz# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
6a01f2d5ec2024b68edd1d42056b41a88dc0a935aaron# You may not use this file except in compliance with the License.
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# See the License for the specific language governing permissions
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# and limitations under the License.
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# When distributing Covered Code, include this CDDL HEADER in each
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
571760de5e60c0b459cb11be45507b923cd023eejwoolley# If applicable, add the following below this CDDL HEADER, with the
571760de5e60c0b459cb11be45507b923cd023eejwoolley# fields enclosed by brackets "[]" replaced with your own identifying
9180a5933673ffb1af633c255ceee029340f3b1erbb# information: Portions Copyright [yyyy] [name of copyright owner]
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# CDDL HEADER END
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Use is subject to license terms.
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# ident "%Z%%M% %I% %E% SMI"
af4c982a7cf4515f124935f99a329744035fc699slive# objects are grouped by source directory
af4c982a7cf4515f124935f99a329744035fc699slive# local objects
54e1babd5a5a56c576eeeace54110150769cc916coar# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
54e1babd5a5a56c576eeeace54110150769cc916coar# This macro should ALWAYS be empty; native APIs are already 'large file'.
93db592309ba9e5ab230f67611a2c74fece9cdb2marc# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
93db592309ba9e5ab230f67611a2c74fece9cdb2marc# This macro should ALWAYS be empty; native APIs are already 'large file'.
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard# objects from source under ../port
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# This macro should ALWAYS be empty; native APIs are already 'large file'.
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Preserved solely to ease maintenance of 32-bit and 64-bit library builds
28d1da9ca818f831ea491f110dafcc10f7f07050coar# This macro should ALWAYS be empty; native APIs are already 'large file'.
$(PORTSYS64) \
$(AIOOBJS) \
$(RTOBJS) \
$(TPOOLOBJS) \
$(THREADSOBJS) \
$(THREADSMACHOBJS) \
$(THREADSASMOBJS) \
$(UNWINDMACHOBJS) \
$(UNWINDASMOBJS) \
$(COMSYSOBJS) \
$(SYSOBJS) \
$(COMSYSOBJS64) \
$(SYSOBJS64) \
$(VALUES)
TRACEOBJS= \
# Since libc contains no C++ code, linking with the minimal crti.o and
# crtn.o modules is safe and avoids the problems described above.
# NOTE: libc_i18n.a will be part of libc.so.1. Therefore, the compilation
CLEANFILES= \
assym.h \
genassym \
$(ALTPICS)
SRCS= \
$(THREADSOBJS:%.o=../port/threads/%.c) \
$(UNWINDMACHOBJS:%.o=../port/unwind/%.c) \
# $(DYNLIB) $(LIB_PIC) := DYNOBJS = _rtbootld.o
TIL= \
aio.o \
alloc.o \
atexit.o \
atfork.o \
cancel.o \
errno.o \
lwp.o \
ma.o \
rand.o \
rwlock.o \
scalls.o \
sema.o \
spawn.o \
stack.o \
synch.o \
thr.o \
tls.o \
tsd.o \
IL= \
# Files in fp subdirectory which need __quad.il inline template
QIL= \
_Q_add.o \
_Q_cmp.o \
_Q_div.o \
_Q_fcc.o \
_Q_mul.o \
_Q_sub.o \
# Files in crt subdirectory which need muldiv64.il inline template
#CIL= mul64.o divrem64.o
$(PORTSTDIO_W:%=pics/%) := \
$(PORTPRINT_W:%=pics/%) := \
$(PORTI18N_COND:%=pics/%) := \
lint:
#$(CIL:%=pics/%): $(LIBCBASE)/crt/muldiv64.il
$(BUILD.AR)
#crt/_rtbootld.s: crt/_rtboot.s crt/_rtld.c
# $(RM) crt/_rtld.s
# assym.h build rules
# XXX A hack. Perhaps this should be 'CPPFLAGS.native' and
# live in Makefile.master
./genassym >>$@